![]() |
|
The RMI transport layer extends the java.rmi.server.RMISocketFactory class to provide a default implementation of a socket factory. The implementation provides resources to client and server sockets, and creates sockets that transparently provide firewall-tunneling mechanism.
Client sockets automatically attempt HTTP connections to hosts that cannot be contacted through a direct socket. Server sockets automatically detect if a newly accepted connection is an HTTP POST request, and if so, return a socket that exposes only the body of the request to the transport and format its output as an HTTP response.
Client-side sockets having this default behavior are provided by the java.rmi.server.RMISocketFactory.createSocket method. Server-side sockets having this default behavior are provided by the java.rmi.server.RMIServerSocketFactory.createServerSocket.
Related Topics:
| © Pramati Technologies 2007 | Runs on Pramati Server | Feedback | Legal |