Unless you are connecting to DIFFERENT databases, you use only one pool across
each of your servlets. One pool, many servlets. You'll probably have to write
one (or modify an existing one, which shouldn't be too hard), unless someone
knows of one that is freely available. Try www.javaexchange.com, I think if you
actually go there and read the info, you'll have a better understanding of how
the Pool works, how you would implement it, etc.
Alvin Lau wrote:
> What i mean is that if each of my servlets has its own connection pool,
> each pool contains 30 connections, and I have 10 servlets, then I have 300
> connections in total if the pool doesn't reduce its size.
>
> The first time i see connection pool is in john hunter's book, and that
> pool doesn't reduce its size after a connection return. can you tell me
> where i can donwload a better package? I don't want to write it by myself.
>
> thank anyway,
>
> alvin
>
> ___________________________________________________________________________
> 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
___________________________________________________________________________
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