File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes ejb and rmi Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "ejb and rmi" Watch "ejb and rmi" New topic
Author

ejb and rmi

sumit malik
Greenhorn

Joined: Oct 31, 2001
Posts: 21
hi to all,
can anybody tell me the basic difference between RMI and EJB ..and why EJB is preferred...
Marcos Maia
Ranch Hand

Joined: Jan 06, 2001
Posts: 977
Hi,
Java RMI is a protocol used to communicate method invocations over a network and does not provide services(you have to hard code it) like declarative transaction control, security, scalability, load balancing, fail over , etc.
EJB is a component specification that uses RMI to communicate method invocations over a network and also provides services(container implementation) to handle transactions, security, etc.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ejb and rmi