This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes Database Connection Pooling Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Database Connection Pooling" Watch "Database Connection Pooling" New topic
Author

Database Connection Pooling

Velika Srbija
Ranch Hand

Joined: Jan 15, 2002
Posts: 172
Hi,
I'm goin' to make a new web app using servlets and MySQL and I'm not quite sure about managing Connection Pooling.
Do I have to write new classes where I should manage requests about making (=opening) new Database Connections (and closing unused as well) or the MySQL server will do it automatically for me?
I'm not planning to use the SingleThreadModel interface.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12756
    
    5
There are a number of toolkits for connection pooling. A search on Yahool will lead you to them. There are frequent threads here so you might start with a search right here.
Bill
Andres Gonzalez
Ranch Hand

Joined: Nov 27, 2001
Posts: 1561
try this one


I'm not going to be a Rock Star. I'm going to be a LEGEND! --Freddie Mercury
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Database Connection Pooling
 
Similar Threads
Connection Pooling
Database Connection without connection pooling
ConnectionPooling for standalone java app
code or server problem ?
Connection Pooling