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
It helps to resolve naming conflicts when different packages have classes with the same names. This also helps you prepare files within your project. As define : java.io package

I want to know if you can help me with a javacard programming project

What is Alternate Text ? The APPLET element can have an ALT attribute. An ALT attribute is used through a browser which understands the APPLET tag but for some purpose cannot

What is final class? A final class can't be extended ie., final class might not be subclassed. A final method can't be overridden when its class is inherited. You can't alter v


Describe Importing Classes in java? Fully qualified names such as java.net.URL are not the most convenient thing to have to type. You can use the shorter class names like URL w

Java says write once, run anywhere . In which ways this isn't quite applicable ?

list The Java Class Library? Java holds an extensive library of pre-written classes you can use in your programs. These classes are separated into groups known as packages. Th

Talent agencies like ICM, CAA and Paradigm represent writers, directors and actors (among other talent).  These agencies take in hundreds of millions of dollars a year collecting 1

What Content Issues is happened in java language? Some people claim in which Java is insecure since it can show the user erotic pictures and play flatulent noises. By this stan