----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------


On 11-Apr-2000 Jonathan Patton wrote:
> ----------------------------------------------------------------
> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> WHEN YOU POST, include all relevant version numbers, log files,
> and configuration files.  Don't make us guess your problem!!!
> ----------------------------------------------------------------
> 
> Hi, 
> I have a couple of Java servlets that connect to a database. I wanted them
> to all share a database connection instead of each one making their own
> database connection each time they run. 

Why don't you use a pool of database connections? That is the way to go
when you want share database connections. I'm currently a bit fixed on oracle so
I don't have any pointers for MySQL.

However these are on my list to try with MySQL:
http://www.javelinsoft.com/jpool/
http://www.ewin.org/~bret/java/connectionPool/

I'm sure some readers have more expirience in using MySQL with database pooling
then I am. 

Wouter

-- 
Mphasis Media BV.                         Interactive architects
Wouter Boers <[EMAIL PROTECTED]>   http://www.MphasiS.com
Phone: +31 (0)71 5238575                  Fax: +31 (0)71 5238576
Wouter Boers <[EMAIL PROTECTED]>                http://www.ikke.net


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to