Could someone be so kind as to point me in the direction of a resource describing the necessary obligations of a DB connection pool? Like for instance, is there some sort of keep-alive technique that must be performed?
I wrote a fairly simple connection pool (to PostgreSQL DB) for my app and it seems to work okay, however there has been some strange behavior (over time the CURRENT_DATE value on these connections gets out of whack, for example).
Any help would be appreciated.
-
Connection Pooling, Writing Your Own (3 messages)
- Posted by: Jim Hall
- Posted on: June 20 2002 15:43 EDT
Threaded Messages (3)
- Connection Pooling, Writing Your Own by Brian Chan on June 20 2002 16:01 EDT
- Connection Pooling, Writing Your Own by Wilfred Springer on June 24 2002 02:10 EDT
- Connection Pooling, Writing Your Own by Rafid Wahab on June 28 2002 17:07 EDT
-
Connection Pooling, Writing Your Own[ Go to top ]
- Posted by: Brian Chan
- Posted on: June 20 2002 16:01 EDT
- in response to Jim Hall
Here's the URL for the Core Servlets and JSP by Marty Hall,
Look at Chapter 18 for a sample Connection Pool implementation.
http://archive.coreservlets.com/Chapter18.html -
Connection Pooling, Writing Your Own[ Go to top ]
- Posted by: Wilfred Springer
- Posted on: June 24 2002 02:10 EDT
- in response to Jim Hall
Jakarta Commons provides a framework for implementing your own (Database Connection) pool. It looks pretty nice. -
Connection Pooling, Writing Your Own[ Go to top ]
- Posted by: Rafid Wahab
- Posted on: June 28 2002 17:07 EDT
- in response to Wilfred Springer
Thanks for the Link it is a good start, I am also looking into writing my own connection Pool for Databases