File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes NX: Is JRMP the default for RMI? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "NX: Is JRMP the default for RMI?" Watch "NX: Is JRMP the default for RMI?" New topic
Author

NX: Is JRMP the default for RMI?

Jacques Bosch
Ranch Hand

Joined: Dec 18, 2003
Posts: 319
One of my instructions say:
"You must use RMI over JRMP (do not use IIOP)"
Is JRMP the default for RMI? Is there anything special I have to do or check?
Thanx.
Jacques


Jacques<br />*******<br />MCP, SCJP, SCJD, SCWCD
Bill Robertson
Ranch Hand

Joined: Mar 21, 2003
Posts: 234
They do this just to confuse you. JRMP, or Java Remote Method Protocol, is the default protocol created by SUN for RMI. In fact you will not even hear SUN refer to JRMP as JRMP. Instead they say the "RMI transport protocol". So basically you do not have to do anything!!!
Use RMI and it will default to JRMP. It is a low level, wire level actually, protocol. By the way there is a JRMP API (net.jini.jrmp).
Jacques Bosch
Ranch Hand

Joined: Dec 18, 2003
Posts: 319
Bill, thank you for clearing things up for me. I suspected it was something like that.
Jacques
Morgan Bath
Ranch Hand

Joined: Jan 16, 2004
Posts: 196
So what is IIOP? Or let me rephrase the question just to be ultra clear, if I just stick to the RMI as specified in the j2se docs on suns website I wont accidentally use IIOP will I?


Morgan
SCJP (1.4), SCJD (1.4), SCWCD (1.3), SCBCD (1.3)
Jacques Bosch
Ranch Hand

Joined: Dec 18, 2003
Posts: 319
Nope. Just ignore that it was ever mentioned and you'll be OK.
Morgan Bath
Ranch Hand

Joined: Jan 16, 2004
Posts: 196
Originally posted by Jacques Bosch:
Nope. Just ignore that it was ever mentioned and you'll be OK.


Now THAT I can do
thanks
Jacques Bosch
Ranch Hand

Joined: Dec 18, 2003
Posts: 319
Hey Morgan, no probe. Keep going!!!
Xie Ruchang
Ranch Hand

Joined: Dec 25, 2003
Posts: 160
Hi Morgan,
IMO, it is just to tell the candidates not to overkill by implementing an ORB and then connect using IIOP. So you stick to UnicastRemoteObject and it will be fine.
Best Regards
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: NX: Is JRMP the default for RMI?
 
Similar Threads
is JRMP over IIOP is same as Java RMI over IIOP?
RMI Implementation
RMI over JRMP
Of IIOP and RMI
JRMP ??