Originally posted by Bjarki Holm:
Prantik,
what JDBC drivers are you using? Most likely, if they are JDBC 2.0 compliant, they come with an implementation of the <code>javax.sql.ConnectionPoolDataSource</code> interface, which can be be used for connection pooling.
Cheers,
Not necessarily. The <code>
javax.sql.ConnectionPoolDataSource</code> interface is not part of JDBC 2.0 Core. It belongs to the JDBC 2.0 Optional Package (a.k.a. Standard Extensions). Therefore, if it doesn't support the JDBC 2.x spec, you can either write your own connection pooling framework or use an existing one such as
PoolMan, which is free and open source.
Franck Rasolo
Independent Java Consultant
London, UK