Java RMI
RMISocketFactory that
is used by all remote object, or you can associate it with only
some objects.ServerSocket and
Socket classes (by extending the existing ones)
which implement the encryption or compression you want.RMIClientFactory which
returns one of your custom sockets. Basically, just redefine
the createSocket function. This class must be
serializable.RMIServerSocketFactory,
as before. It need not be serializable.22 of 22