DbConnectionBroker is a pure Java package for handling multiple concurrent database connections. DbConnectionBroker creates a broker with a very simple interface for handing out and returning database connections from a configurable pool of connections. The Broker creates a dynamic pool of connections and manages them for you with a background housekeeping thread.
The Connection Broker completely avoids the overhead required in establishing a new database connection (typically around 1 to 2 seconds) by reusing a collection of pre-established connections. This profoundly improves the performance for database-intensive applications where HTML pages/forms are either stored directly in a database or created on-the-fly from data or procedures stored in a database.