This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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 Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Databases » JDBC
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
Similar Threads
java native interface
C Implementation of a native code
Thread dump - thread states
making applet signed without policy file
Information regarding Native Code