The SessionBroker is a mechanism that enables client applications to view several databases through a single session. The <session-broker> element enables you to configure a SessionBroker in the Sessions XML file, as follows:
Example B-19 Configuring a SessionBroker in Sessions XML
/* Configure the sessions for the SessionBroker */
<session>
<name>EmployeeSession</name>
...
</session>
<session>
<name>ProjectSession</name>
...
</session>
/* Configure the SessionBroker */
<session-broker>
/* Name the SessionBroker */
<name>EmployeeAndProjectBroker</name>
/* Specify the sessions contained in the SessionBroker */
<session-name>EmployeeSession</session-name>
<session-name>ProjectSession</session-name>
</session-broker>
...
Copyright © 1997, 2004, Oracle. All rights reserved.