What's New in Release 4.6A? 

The code for establishing a single connection to R/3 is much simpler now: less steps are required for establishing such a connection, and there is no need to refer to a connection object in methods dealing with an RFC function module within a single connection.

To provide for this simplified code, the SessionManager object has been added to the Java RFC class library. The SessionManager handles a single connection. As part of this role it can create the five factory objects of the Java RFC in the same manner as the FactoryManager can. When creating objects, the SessionManager ensures that objects have all the information they need to establish a connection.

When using a single connection the SessionManager can therefore take the place of the FactoryManager.

However, when using multiple connections in your program you should use the FactoryManager. Using the FactoryManager to handle connections or to create objects is similar to the process of creating any connection in the previous release of the Java RFC.

Note that while you can use the SessionManager to simplify new coding, the FactoryManager and all of its methods are still available as in the previous release of the Java RFC. There is no need to change existing code using the FactoryManager.

See Also

See the topic Client Side Interface and all of its subtopics for the details of how to use the SessionManager.

The Advanced Topics section describes how to program multiple connections using the FactoryManager.