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 (→Introduction to Server Session Configuration) |
m |
||
Line 2: | Line 2: | ||
[[Special:Whatlinkshere/Configuring Server Sessions (ELUG)|Related Topics]]</div> | [[Special:Whatlinkshere/Configuring Server Sessions (ELUG)|Related Topics]]</div> | ||
This section describes the various components that you must configure to use server and client sessions. | This section describes the various components that you must configure to use server and client sessions. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<span id="Table 87-1"></span> | <span id="Table 87-1"></span> | ||
Line 119: | Line 111: | ||
|} | |} | ||
− | + | ||
+ | |||
+ | |||
==Configuring Internal Connection Pools== | ==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. | 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: | 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). | * 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 named connection pools for whatever application-specific purpose you choose. | ||
Line 132: | Line 124: | ||
For more information about creating and configuring internal connection pools, see the following: | For more information about creating and configuring internal connection pools, see the following: | ||
− | |||
* [[Creating%20an%20Internal%20Connection%20Pool%20(ELUG)|Creating an Internal Connection Pool]] | * [[Creating%20an%20Internal%20Connection%20Pool%20(ELUG)|Creating an Internal Connection Pool]] | ||
* [[Configuring%20an%20Internal%20Connection%20Pool%20(ELUG)|Configuring an Internal Connection Pool]] | * [[Configuring%20an%20Internal%20Connection%20Pool%20(ELUG)|Configuring an Internal Connection Pool]] | ||
Line 138: | Line 129: | ||
For more information about configuring the type of connection pool your session uses, see [[Configuring%20a%20Data%20Source%20Login%20(ELUG)#Configuring External Connection Pooling|Configuring External Connection Pooling]]. | For more information about configuring the type of connection pool your session uses, see [[Configuring%20a%20Data%20Source%20Login%20(ELUG)#Configuring External Connection Pooling|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. | An external connection pool is a collection of reusable connections to a single data source provided by a JDBC driver or Java EE container. | ||
Revision as of 09:13, 7 December 2007
This section describes the various components that you must configure to use server and client sessions.
Configurable Options for Server Sessions
Option to Configure | Workbench |
Java |
---|---|---|
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.