http://jakarta.apache.org/commons/dbcp/
apache的实现,很不错的

解决方案 »

  1.   

    Commons-DBCP provides database connection pooling services
    通用-DBCP提供数据库连接池服务。
    Many Jakarta projects support interaction with a relational database. Creating a new connection for each user can be time consuming (often requiring multiple seconds of clock time), in order to perform a database transaction that might take milliseconds. Opening a connection per user can be unfeasible in a publicly-hosted Internet application where the number of simultaneous users can be very large. Accordingly, developers often wish to share a "pool" of open connections between all of the application's current users. The number of users actually performing a request at any given time is usually a very small percentage of the total number of active users, and during request processing is the only time that a database connection is required. The application itself logs into the DBMS, and handles any user account issues internally.
    许多Jakarta项目提供与关系型数据库的交互、为每一个用户创建新连接是耗时的。在网络应用中打开大量并发用户连接可能是难以实施的,因此,开发者希望共享一个打开连接的“存储池”。
    There are several Database Connection Pools already available, both within Jakarta products and elsewhere. This Commons package provides an opportunity to coordinate the efforts required to create and maintain an efficient, feature-rich package under the ASF license.
    有数种数据库连接池已经出现,Commons包提供一个机会可以协作创建、维护一个高效、丰富的在ASF许可下的软件包。
    Applications can use the commons-dbcp component directly or through the existing interface of their container / supporting framework. For example the Tomcat servlet container presents a DBCP DataSource as a JNDI Datasource. James (Java Apache Mail Enterprise Server) has integrated DBCP into the Avalon framework. A Avalon-style datasource is created by wrapping the DBCP implementation. The pooling logic of DBCP and the configuration found in Avalon's excalibur code is what was needed to create an integrated reliable DataSource. 
    应用可以直接使用commons-dbcp组件或者通过现存的容器、框架的接口。例如Tomcat servlet容器。James已经将其整合入Avalon框架。
      

  2.   

    proxool
    还带有监控页面,不错!