----------------------------------------------------------------
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,
    If you are doing any decent database activity , it would be advisable
to do connection pooling and use that to manage the requests from different
servlets.
try these

for theory
http://developer.java.sun.com/developer/Books/JDBCTutorial/

for example
http://www.ewin.org/~bret/java/connectionPool/index.html

Raghu

From:"Crook, Charles" <[EMAIL PROTECTED]> on 01/12/2000 03:17 PM GMT

Sent by: "Crook, Charles" <[EMAIL PROTECTED]>

Please respond to "Java Apache Users"
<[EMAIL PROTECTED]>


To:  "'Java Apache Users'" <[EMAIL PROTECTED]>
cc:  (bcc: Raghu V Singh/rsingh1/LSU)

Subject:  RE: Connection pass from servlet to servlet



----------------------------------------------------------------
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!!!
----------------------------------------------------------------

If you are keeping an active db connection tied to a specific session, your
dba is not going to be very happy as the number of users increases.  Why
not
use a database connection cache?

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 12, 2000 9:58 AM
To: [EMAIL PROTECTED]
Subject: Connection pass from servlet to servlet


----------------------------------------------------------------
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 servlet with html output some of them have link to another
servlet.
I want to use connection object from other servlet not to open another
connection to DB. What is(or are) the way of doing it?
Thanks!!



--
--------------------------------------------------------------
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]


--
--------------------------------------------------------------
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]










--
--------------------------------------------------------------
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