This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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

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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: RMI between 2 computers
It's not a secret anymore!