When coupled with the appropriate PoolableObjectFactory , GenericObjectPool provides robust pooling functionality for arbitrary objects.
A GenericObjectPool provides a number of configurable parameters: