Why use rmi when we can handle the same benefits from ejb?, JAVA Programming

EJBs are distributed elements, which need the RMI framework for object distribution. An EJB application server gives more services like object pooling, transaction management, database connection-pooling etc, which RMI does not produce. These extra services that are provided by the EJB server simplify the programming effort at the cost of performance overhead compared to plain RMI. So if performance is important than pure RMI may be a good solution.

The decision to go for EJB or RMI or Sockets should be based on needs such as maintainability, ease of coding, performance, extensibility, scalability, availability of application servers, business needs etc.

 

Posted Date: 7/26/2012 7:27:55 AM | Location : United States







Related Discussions:- Why use rmi when we can handle the same benefits from ejb?, Assignment Help, Ask Question on Why use rmi when we can handle the same benefits from ejb?, Get Answer, Expert's Help, Why use rmi when we can handle the same benefits from ejb? Discussions

Write discussion on Why use rmi when we can handle the same benefits from ejb?
Your posts are moderated
Related Questions
Write a Java class that generates a random integer (between 1 and 250). Call the class GenKeys. GenKeys should have a least one method that returns the integer random number. Gen K

Java Is For Real Java has a lot of hype however much of it is deserved. Java is very well matched for many modern problems Using more CPU time and memory but less programmer

Illustrate an example of static variables System. out .println("some text"); -- out is a static variable JOptionPane. showMessageDialog (null, "some text"); -- showMessageDi


Write a Java program to find the sum of 1+3+5+…. , for 10 terms in the series.

API consumer -This application should consume a third party API -You should use more than just one method of the API, I'd like to see at least 3 or 4 -Have some concept

Consider the following code? What input is needed for x in order for the sum variable that is output at the end of the code to be 12 ? (In other words: what do I need to make X be

This project focuses on demonstrating the understanding of data types, input/output, sequential and selection programming statements, and mathematical operations. The project re

Write a program that prompts for two people’s birthdays (month and day), along with today’s month and day. The program should figure out how many days remain until each user’s birt

Describe, in general, how java garbage collector works?