July 2001
Intermediate to advanced
320 pages
5h 46m
English
Purpose—Server socket factory—Client socket factory—Factory equality—Uses of socket factories—Remarks
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 Sockets or 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 ...
Read now
Unlock full access