GlassFish Project - Connection Pooling

 New to GlassFish | Community Guidelines  | Downloads | FAQHow-Tos

Welcome to the Connection Pooling home page. Connection Pooling is a technique used for sharing server resources among requesting clients. Creating a new connection for each request takes a long time. This delay can be minimized by pooling connections. Hence for each request, a connection from the pool is served and when the client is finished with the connection, the connection is returned to the pool which will be re-used for further requests. Connection Pooling thus improves the response time for the application to get, use and close the connection, as the actual connections to the data store are managed by the pool.

GlassFish Application Server provides Connection Pooling mechanism for resources such as EIS Server, JMS Server, Database Server which follow J2EE Connector Architecture - Common Client Interface standard.

Connection Pooling News

New features of connection pooling introduced in GlassFish :

Page Contents


The majority of the GlassFish code is available under the Common Development and Distribution License (CDDL) v1.0  The following page contains details about the components in GlassFish and the licenses under which they are covered.

Connection Pooling implementation can be found in appserv-core module.

Packages related to connection pooling

com.sun.enterprise.connectors - Connection manager implementation.
com.sun.enterprise.resource - Resources, ResourceManager, ResourceDeployer, ConnectionEventListeners implementation.
com.sun.enterprise.resource.monitor - connection pool monitoring / statistics implementation.

Significant classes Features :

Unit/Acceptance Tests

Running the Quicklook tests is required in this section.
In addition to the Quicklook tests the connection pooling module has unit tests developed which need to pass prior to check-in.

To run just the unit tests do the following:

See the README file in the appserv-tests directory to get more information about configuring the server and database if needed.

Supporting Documentation

This section contains pointers to useful documents and information about the connection pooling module

1) JSR 112 - J2EE Connector Architecture 1.5 Specification

2) Commands - Sun Java System Application Server Platform Edition - Reference Manual
3) Sun Java System Application Server Platform Edition - Developer Guide
4) Sun Java System Application Server Platform Edition - Administration Guide
5) J2EE Tutorial 6) JDBC Specification

ToDo List

ToDo list will be maintained using Issue Tracker Task issue type. You can query Issue Tracker using issue type Task or click here to check out the ToDo list. "jdbc" is the sub component type.
Please use the mailing list for sending your comments/ideas to the connection pooling team.