This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes JDBC and the fly likes Distributed Technologies Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "Distributed Technologies" Watch "Distributed Technologies" New topic
Author

Distributed Technologies

Rajesh Boddepalli
Greenhorn

Joined: Oct 28, 2002
Posts: 8
Why we go for EJB eventhough RMI also Distributed Technologies.
What is the main diffrence between RMI and EJB?
Rajesh
boddepalli@yahoo.com


Boddepalli,<br />Elansoft Infotech.<br />Hyderabad-34,INDIA
ib idris
Greenhorn

Joined: Aug 02, 2003
Posts: 29
RMI and EJB are different technologies. RMI lets you use objects on remote server. EJB lets you work with beans. RMI has the disadvantage of slow response because of network overhead.
http://galileo.spaceports.com/~ibidris/
R K Singh
Ranch Hand

Joined: Oct 15, 2001
Posts: 5369
EJB is part of J2EE technology.
EJB makes use of RMI-IIOP protocol for network calls.
EJB provides you some basic functinality almost mandatory for all enterprise applicatiosn like transaction, security, concurrency, DB connection pooling, messaging, location transparency.
On the other hand RMI is first step from Java technology for remote procedure calls. It helps you to call remote methods i.e. methods of objects residing on other server. But it does not provide basic functionalities like above mentioned needed for enterprise apps.


"Thanks to Indian media who has over the period of time swiped out intellectual taste from mass Indian population." - Chetan Parekh
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Distributed Technologies
 
Similar Threads
How exactly the communication occurs between and RMI Client and a Server
RMI bypassing Naming.lookup()
rmi/ejb
posting Integration domain related questions
Connection Exception with RMI