Often a Java application makes use of instances or resources that are expensive to create or that need to be limited due to external constraints. Database and other network connections are leading, although certainly not the only examples of this situation. A pool of instances can be helpful in these circumstances.
A Commons package for object pooling would give committers an opportunity to coordinate their efforts and create and maintain an efficient, feature-rich package under the ASF licence.
The package will create and maintain an object (instance) pooling package to be distributed under the ASF license.
The package should support a variety of pool implementations, but encourage support of an interface that makes these implementations interchangeable.
Pool relies upon on standard JDK 1.2 (or later) and the Commons-Collections APIs for production deployment. It utilizes the JUnit unit testing framework for developing and executing unit tests, but this is of interest only to developers of the component. Pool will also be a dependency for several future proposed components for the Jakarta Commons subproject.
No external configuration files are utilized.
The initial codebase was contributed by Rodney Waldhoff from a working project and can be distributed under the Apache license.
The proposed package name for the new component is
org.apache.commons.pool
.
pool
in the
jakarta-commons
CVS repository. All initial committers
are already committers on jakarta-commons
, so no
additional user setups are required.