Remote Method Invocation (RMI) tutorials and examples.
Direct sockets are opened into server by RMI transport layer. Firewalls are present in many intranets which doesn’t permit this. To make through some firewall, within firewall trusted HTTP protocol embed the RMI call. RMI uses HTTP tunneling and this is done by the encapsulation of RMI calls present in HTTP POST request. HTTP Tunneling
• When HTTP requests may be forwarded by firewall proxy server just to some known HTTP port: