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
An application or procedure that produces and/or receives messages.

Write a program that reads both the girl and boy files into memory using arrays. Then, allow the user to input a name. The program should search through both arrays. If there is

A pointcut is something that describes at what joinpoints an advice should be applied. Advices can be applied at any joinpoint that is supported by the AOP framework. These Pointcu

Explain JAR Archives ? HTTP 1.0 uses a separate connection for every request. When you're downloading several small files, the time required to set up and tear down the connec

This is a working program that shows election results from the infamous 2000 presidential election involving a lot of Floridians and 'hanging chads'. The program as written reads a

What is JAR archives? JAR archives are ZIP archives along with a different extension. They contain a hierarchy of files and directories. In spirit a JAR file can take the place

JNLP/ Java Application - GUI and Backend Projects Project Description: I am looking for assist in making changes to a complex java application. System launches from web pa

Objectives _ Creating and compiling a simple program _ Designing classes _ Use of recursive algorithms _ Learn basic combinatorics   Task: string permutation Writ


Question 1 Explain any five buzz words in Java Question 2 Explain exception classes and also explain common exceptions in java Question 3 Explain primitive and abstract data t