Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Configuring Server Sessions (ELUG)"
m (New page: <div style="float:right;border:1px solid #000000;padding:5px">__TOC__ Related Topics</div> This section describes the various c...) |
m (→Configuring External Connection Pools) |
||
Line 153: | Line 153: | ||
[[Category: EclipseLink User's Guide]] | [[Category: EclipseLink User's Guide]] | ||
[[Category: Draft]] | [[Category: Draft]] | ||
− | [[Category: | + | [[Category: Task]] |
Revision as of 16:14, 27 November 2007
Contents
This section describes the various components that you must configure to use server and client sessions.
Configurable Options for Server Sessions lists the configurable options for server sessions.
Introduction to Server Session Configuration
This table lists the configurable options for server sessions.
Configurable Options for Server Sessions
Option to Configure | Workbench |
Java |
---|---|---|
Internal connection pools (see Configuring Internal Connection Pools) |
||
Primary mapping project (see Configuring a Primary Mapping Project) |
||
Session login (see Configuring a Session Login) |
||
Logging (see Configuring Logging) |
||
External connection pools (see #Configuring External Connection Pools) |
||
Multiple mapping projects (see Configuring Multiple Mapping Projects) |
||
Performance profiler (see Configuring a Performance Profiler) |
||
Exception handler (see Configuring an Exception Handler) |
||
Session customizer class (see Configuring a Session Customizer Class) |
||
Server platform (see Configuring the Server Platform) |
||
Session event listener (see Configuring Session Event Listeners) |
||
Coordinated cache (see Configuring a Coordinated Cache) |
||
Integrity checker (see Configuring the Integrity Checker) |
||
Named queries (see Configuring Named Queries at the Session Level) |
Configuring Internal Connection Pools
An internal connection pool is a collection of reusable connections to a single data source provided by any session that persists to a data source. By default, such a session provides both an internal read and write connection pool.
In this case, you can do the following:
- Configure read and write connection pool options such as minimum and maximum number of connections, alternate connection configuration, and properties (arbitrary, application-specific named values).
- Create named connection pools for whatever application-specific purpose you choose.
- Create sequence connection pools that EclipseLink uses exclusively for obtaining object identifiers.
For more information about creating and configuring internal connection pools, see the following:
For more information about configuring the type of connection pool your session uses, see Configuring External Connection Pooling.
Configuring External Connection Pools
An external connection pool is a collection of reusable connections to a single data source provided by a JDBC driver or Java EE container.
By default, a session uses internal connection pools (see Configuring Internal Connection Pools). For more information about configuring a session to use an external connection pool, see Configuring External Connection Pooling.