This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes URLyBird Network use Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "URLyBird Network use" Watch "URLyBird Network use" New topic
Author

URLyBird Network use

Marcelo Ortega
Ranch Hand

Joined: May 31, 2005
Posts: 519

I understand we can either use RMI on JRMP or Serializable objects over Sockets.
So would this leave JINI out of the picture?

Thanks and regards,
Marzo.


SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCJD, SCEA/OCMJEA

Live life to an interface, not an implementation!
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
Yes.


Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
Marcelo Ortega
Ranch Hand

Joined: May 31, 2005
Posts: 519

Thanks Barry.

One more question though. Does plain old RMI use JRMP by default? I mean how do i know if it is using this protocol and not some other? Must i specify it in one way?

I'm using the rebind() method to bind the objects in the server and the Naming.lookup("rmi://host ort/serverName") to retrieve the remote objects.

??
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11404
    
  81

Hi Marzo
Does plain old RMI use JRMP by default?
Yes. If you want to use IIOP you must specify the "-iiop" option when compiling the stubs with rmic. For more information on this subject that you must not use in the assignment take a look at Sun's RMI-IIOP Programmer's Guide.

Regards, Andrew


The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
Marcelo Ortega
Ranch Hand

Joined: May 31, 2005
Posts: 519

Thanks Andrew.
 
jQuery in Action, 2nd edition
 
subject: URLyBird Network use
 
Similar Threads
Converting Xml to Java Object
Splitig integers
not equal too & or operator????
Posting to bump up my count...
Constructing overloading