• Post Reply Bookmark Topic Watch Topic
  • New Topic

URLyBird Network use  RSS feed

 
Ranch Hand
Posts: 528
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes.
 
Marcelo Ortega
Ranch Hand
Posts: 528
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

??
 
author and jackaroo
Marshal Commander
Posts: 12166
256
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Marcelo Ortega
Ranch Hand
Posts: 528
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Andrew.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!