hai,
Use connection pool instead of opening the conection and closing it again
and again
have a nice day
Vinay Talwar
[EMAIL PROTECTED]
[EMAIL PROTECTED]



                    Nicholas Larsson
                    <[EMAIL PROTECTED]        To:     [EMAIL PROTECTED]
                    >                        cc:
                    Sent by: A               Subject:     DB connection policy?
                    mailing list
                    about Java Server
                    Pages
                    specification and
                    reference
                    <JSP-INTEREST@jav
                    a.sun.com>


                    02/27/01 03:16 AM
                    Please respond to
                    A mailing list
                    about Java Server
                    Pages
                    specification and
                    reference





Hi
How do you guys handle db-connections to keep them as few as possible?
Does the connection stay alive through the users visit or do you close and
open connection when needed?

Nico

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to