Skip Headers
Oracle TopLink Developer's Guide
10g Release 3 (10.1.3)
B13593-01
  Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Table Of Contents
Contents
Go To Index
Index

Previous
Previous
Next
Next
 

Configuring a Sessions Configuration

Each TopLink sessions configuration (sessions.xml file) can contain multiple sessions and session brokers. In addition, you can specify a classpath for each sessions configuration that applies to all the sessions it contains.

Using TopLink Workbench

To configure a session configuration, use this procedure:

  1. Select the session configuration in the Navigator. Its properties appear in the Editor.

    Figure 76-2 Sessions Configuration Property Sheet

    Description of Figure 76-2  follows
    Description of "Figure 76-2 Sessions Configuration Property Sheet"

Use the following information to enter data in each field of the Sessions configuration property sheet:

Field Description
Project Save Location Click Change and select the directory in which to save the sessions configuration.
Classpath Lists the JAR or ZIP files that contain the compiled Java classes on which this sessions configuration depends for features that require an external Java class (for example, session event listeners).
  • To add a JAR or ZIP file, click Add Entries or Browse add the file.

  • To remove a JAR or ZIP file, select the file and click Remove.

  • To change the order in which TopLink searches these JAR or ZIP files, select a file and click Up to move it forward or click Down to move it back in the list.

Sessions for <sessions configuration name> Lists the available sessions defined in this sessions configuration:
  • To add a session, click Add Session.

  • To remove a session, select the session and click Remove.

  • To rename a session, select the session and click Rename.

For more information on creating sessions using TopLink Workbench, see: