my dog learned polymorphism
The moose likes Distributed Java and the fly likes RMI Registry Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Distributed Java
Bookmark "RMI Registry" Watch "RMI Registry" New topic

RMI Registry

Amer Seifeddine
Ranch Hand

Joined: Apr 25, 2002
Posts: 57
Hello Folks,

I have one application which is looking up for a remote object (which itself calls and finds other objects) in the rmi regisrty on machine A port 1099. My question : Does rmi registry interfere in any other call after looking up the main remote object? Second question: since I set the rmi to communicate over any available port number (0) and I have a firewall between the client and the server, is it mandatory to open this port number while making method calls on remote objects? (rmi registry on Machine A and rmi server on machine B and only client behind the firewall).

Please your help will be highly appreciated.

Nathan Pruett

Joined: Oct 18, 2000
Posts: 4121

I'm not sure what you mean when you say "communicate over any available port number (0)"? Though, yes, if there's a firewall between the client and the server, you have to do something to open up the ports that the remote objects will be communicating over... Perhaps a few links to rmi firewall related issues would help...
[ April 22, 2005: Message edited by: Nathan Pruett ]

Write once, run anywhere, because there's nowhere to hide! - /. A.C.
Rajesh Menon

Joined: Dec 06, 2000
Posts: 15

The link for rmi firewall issues is not enabled.
Please enable it.

Nathan Pruett

Joined: Oct 18, 2000
Posts: 4121

Thanks, it's fixed now...
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 Registry
It's not a secret anymore!