aspose file tools*
The moose likes JDBC and the fly likes Connection pool Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Connection pool" Watch "Connection pool" New topic
Author

Connection pool

Costa Lamona
Greenhorn

Joined: Sep 17, 2006
Posts: 29
Hi

Is there a standard way (or sun way) to create a pool, I found that in this book
http://java.sun.com/developer/onlineTraining/Programming/JDCBook/

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

Thanks
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: http://aspose.com/file-tools
 
subject: Connection pool