aspose file tools*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes why  rmi   technology   is  used  in  ejb Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "why  rmi   technology   is  used  in  ejb" Watch "why  rmi   technology   is  used  in  ejb" New topic
Author

why rmi technology is used in ejb

rehans oberoi
Ranch Hand

Joined: Dec 06, 2005
Posts: 174
hi
why rmi technology is used in ejb , can anybody tell me the
cases , when this is possible without rmi technology
Greg Charles
Sheriff

Joined: Oct 01, 2001
Posts: 2853
    
  11

Well, RMI is the Java technology for client/servlet applications. Why wouldn't it be used for EJBs?
Shanmugam Karthikeyan
Ranch Hand

Joined: Aug 02, 2002
Posts: 58
Hi,

I think in order attain location transparency EJB architecture uses RMI technology.To make it simple if any RMI application's lifecyle is controlled by a container, it can be simply named as EJB application.


SCJP 1.4<br />SCWCD 1.4<br />SCBCD 1.3
AmitKumar Jain
Ranch Hand

Joined: Jun 13, 2005
Posts: 95
I'm back to this forum now... I wanted to concentrate on my job.. so I was out of touch since 6 months... now Iv decided to target SCBCD... when I browse this forum, I get back my confidence...

Anyways..

RMI is obviously used coz EJB is based on Distributed Architecture...

In earlier version, even if the client and EJB were deployed on the same server, RMI was used which affected performance.
With EJB 2.1, Sun introduced concept of Local Remote and Local Home interfaces. When you configure EJB application using these, then RMI is not used.

For location transparency, JNDI is used.. not RMI...


SCJP 1.4 : 91%
SCWCD 1.4 : 95%
SCBCD 1.3 : 95%
SCJP 6 Upgrade : 95%
Next SCBCD 1.5
Man is not finished when he is defeated. He is finished when he quits.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: why rmi technology is used in ejb