O'Reilly logo

java.rmi: The Remote Method Invocation Guide by Kathleen McNiff, Esmond Pitt

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

Purpose

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required