File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes Connection pool Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Connection pool" Watch "Connection pool" New topic

Connection pool

Costa Lamona

Joined: Sep 17, 2006
Posts: 29

Is there a standard way (or sun way) to create a pool, I found that in this book

but because the book is sense 1999, I think now there must be some package (rather than hibernate) doing that!!

Carey Evans
Ranch Hand

Joined: May 27, 2008
Posts: 225

If you're using an application server like Glassfish, Websphere, etc., then you'll use the connection pool that comes with it.

Otherwise, there are some standalone connection pools that you can use instead. I'm familiar with C3P0, DBCP and BTM. The last one is especially nice because it comes with support for JNDI and JTA, just like an application server.
I agree. Here's the link:
subject: Connection pool
It's not a secret anymore!