File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

EJB3 and RMI(JRMP)

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.

Benoît


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.
http://www.javaworld.com/javaworld/jw-12-1999/jw-12-iiop.html?page=1

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.
Thanks

Benoît
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: EJB3 and RMI(JRMP)