Meaningless Drivel is fun!
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes EJB3 and RMI(JRMP) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "EJB3 and RMI(JRMP)" Watch "EJB3 and RMI(JRMP)" New topic


Benoît de Chateauvieux
Ranch Hand

Joined: Aug 10, 2007
Posts: 183
Hi All,

I read in the J2EE 5 specs (EE.2.6.4):
Java EE applications are required to use the RMI-IIOP APIs, specifically the narrow method of javax.rmi.PortableRemoteObject, when accessing Enterprise JavaBeans components, as described in the EJB specification.

Does-it mean that we cannot use RMI(JRMP) to access EJB ?
I used to think that the default protocol for RMI was JRMP and that, in case of wanting RMI-IIOP, it was an explicit configuration of the server...
Am I wrong ?

Thanks for your help.


SCJP5 | SCBCD5 | SCEA5 Part 1
vivek srivastava
Ranch Hand

Joined: Nov 30, 2007
Posts: 39
Please check this link, this explains clearly about IIOP,RMI,JRMP.

Benoît de Chateauvieux
Ranch Hand

Joined: Aug 10, 2007
Posts: 183
Hi vivek,

Thanks for the link.

I understand that EJB are exposed with the RMI-IIOP protocol.
It allows them to be accesible through JRMP or IIOP.

I agree. Here's the link:
subject: EJB3 and RMI(JRMP)
It's not a secret anymore!