Hi All, We have designed one product to be used over the intranet and we are using RMI in that now we want to go to the Internet with the same product after making some needful changes... So as far as the RMI goes...what kind of changes do I need to make ?? How would I connect to the RMI Host from the internet....??
thanks Pratik Khetia
posted 15 years ago
One of the considerations when you move your RMI application to internet is the presence of "firewall" between the client and server. This could lead to one or more of the following cases to be considered. [list ]
Method invocations will be slower,because RMI uses http to communicate through firewall proxy.
the client cannot export it's own remote object
outside a firewall.So server cannot invoke Remote methods on the client.
Consider whether the server will support RMI clients behind firewalls that can forward to arbitrary ports,If not take the appropriate steps.
It is always better to specify the 'java.rmi.server.hostname' property explicitly as it's not guarateed to be detected by the JVM under all circumstances.
[/list] Hope this helps
Knowledge Xchange. SCJ2P.
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads