Hi Vikramjit:

Here's an opinion of a non-guru:
Create the pool in the init() as your colleague suggests. But declare and get
the connection in the doPost/doGet methods. I believe this way you will both get
the advantage of the pool as well as not have to worry about threading issues.

Regards,
Geeta
P.S. Search under "Connection pool" in the archives (link below): this topic has
been covered many times and by real gurus too! (:)

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to