MySQL Forums
Forum List  »  Connector/JDBC and Java

JDBC connection pooling for J2SE applications
Posted by: oh rockk
Date: August 03, 2006 12:41PM


I build a simple server with J2SE. When I tried to use connection pooling using MySQL, it was hard to know how to do it with J2SE, not J2EE.

I found several pooling libraries for J2SE. For example, "DBPool", "DatabaseConnectionManager"....

Of course, "com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource" looks like a connection pooling class. And just using default constructor seems to work right with J2SE. But, there is no clearly described article whether it is correctly working or not.

Is there someone who knows and used "com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource" class? is it work with J2SE?

Thanks to answer :)

Options: ReplyQuote

Written By
JDBC connection pooling for J2SE applications
August 03, 2006 12:41PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.