Chapter 11. Socket factories
Purpose—Server socket factory—Client socket factory—Factory equality—Uses of socket factories—Remarks
In this chapter
Socket factories were introduced in §7.5. This chapter looks more closely at custom socket factories and how they are implemented under Java 1 and 2. It also describes the client/server socket factory interfaces and addresses the issues of factory identity, HTTP tunnelling, and multi-homing. For more information about secure sockets refer to Chapter 16.
A socket factory is a class which enables you to provide your own
ServerSockets to RMI. Applications using RMI can provide their own socket factories, which RMI will use when constructing server and client sockets on behalf of RMI servers ...