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
Java Program to Scrape, Data Mine Project Description: I need to data scrape/ mine data from a website and do some data processing. Skills required: Java, Data Mining,

frequently used java array method

Question: (a) The following is a simple example of a Java Class: // File: Welcome.java public class Welcome { public static void main(String args[]) { System.out.printl

Iterate through list of Fish. For each fish that isAlive, do the following: * * 1. If this fishIsSurroundedByRocks, DO NOTHING, and move on to the next fish. * (This f

In this assignment you work on a set of tasks with the classes Currency, Money and Bank. Money and Currency You have been given a template for the Currency and Money classes (Lab1.


Write an application that uses an Array to store 10messages of type String. You will store this Array with 10 messages of your choosing. For example, a message could be “I love Jav

I want Software Tool for Sequential Circuit Analysis The output of the program could be both graphical for the diagram and the rest is console. Skills required: C++ Progra

Why do we need wrapper classes? It is sometimes simpler to deal with primitives as objects. Moreover most of the collection classes keep objects and not primitive data types. A

(Tic-Tac-Toe)  Create class TicTacToe that will enable you to write a complete application to play the game of Tic-Tac-Toe. The class contains a private 3-by-3 rectangular array o