This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Distributed Java and the fly likes RMI between 2 computers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "RMI between 2 computers " Watch "RMI between 2 computers " New topic

RMI between 2 computers

John Eipe
Ranch Hand

Joined: May 23, 2008
Posts: 215

I had been learning RMI and successfully completed it on my local machine. But how do I make it work in a Network.
Also, How do I pass the Interface and the stub to the client machine?

Ram Narayan.M
Ranch Hand

Joined: Jul 11, 2010
Posts: 247

jar packaging of only Remote Interfaces should be available at the client side...

And to refer the RMI Registry from the Client, should furnish the "IP Address" and "Port" at which RMI registry listens, in the program...

SCJP 6 [SCJP - Old is Gold]
jQuery in Action, 2nd edition
subject: RMI between 2 computers
Similar Threads
Design Issue in my RMI Application
Servlet as an rmi client
Help: LDAP Authentication x RMI
Remote Applet Example
Help: LDAP Authentication x RMI