Two Laptop Bag
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
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]
I agree. Here's the link:
subject: RMI between 2 computers
It's not a secret anymore!