Skip Headers

# Session Broker and Client Sessions

Previous

Next

The TopLink session broker is a mechanism that enables client applications to transparently access multiple databases through a single TopLink session.

The TopLink session broker enables client applications to access two or more databases through a single session. If your application stores objects in multiple databases, the session broker, which provides seamless communication for client applications, enables the client to view multiple databases as if they were a single database.

When a three-tier session broker application uses server sessions to communicate with the database, clients require a client session to access the database. Similarly, when you implement a session broker, the client requires a client session broker to access the database.

A client session broker is a collection of client sessions, one from each server session associated with the session broker. When a client acquires a client session broker, the session broker collects one client session from each associated server session, and wraps the client sessions so that they appear to be a single client session to the client application.

As Figure: TopLink Session Broker with Server Session Architecture illustrates, a session broker connects to the databases through two or more server sessions or database sessions.

TopLink Session Broker with Server Session Architecture

Description of "TopLink Session Broker with Server Session Architecture"

This section explains the following:

- Session Broker Architecture

- Committing a Transaction with a Session Broker

- Session Broker Session Limitations

- Session Broker Alternatives

For information, see:

- "Creating Session Broker and Client Sessions"

- "Configuring Session Broker and Client Sessions"

- "Acquiring a Session From the Session Manager"

- "Acquiring a Client Session"