FactoryManager 

Use

When handling multiple connections, use the FactoryManager object (instead of the SessionManager object) as the central connection point from the client to the server.

The FactoryManager is also available for compatibility with the previous version of the Java RFC, in which the FactoryManager was the only mechanism for creating factory interfaces.

A client application or applet is only allowed to have a single FactoryManager object.

The FactoryManager object creates and manages various factory objects that can produce corresponding server objects on the server and proxy objects for the client.

MiddlewareInfo

The FactoryManager instance needs the MiddlewareInfo class to produce the factory objects with the right middleware implementation.

The following diagram shows the relationship between the FactoryManager and the other objects.

 

The middleware implementers need to implement the various factory interfaces for creation and management of the respective server and proxy objects.

See Also

See the Java RFC HTML Reference documentation for the details of each of the classes and interfaces.