You can use  OracleConnectionCacheImpl to implement connection pooling
you have to set the attributes for this  by getting them from web.xml
if you refer that class ou can understand



-----Original Message-----
From:   Kwok Peng Tuck [mailto:[EMAIL PROTECTED]]
Sent:   Thu 10/3/2002 2:19 AM
To:     Tomcat Users List
Cc:     
Subject:        Re: How to create a connection pool
Maybe you can use the connection pooling provided by tomcat. See the 
JNDI how-to in the docs.

phani wrote:

>Hi,
>
>I am using a bean to get connection for a db from my jsp page. But the problem is for 
>each and every request the page fetches a connection from  the bean. This becomes a 
>over head to the system.
>What i want to do is i want to open n no (say 50 ) of connection when the server is 
>started and any request must be routed through these connection only.
>
>How to do this?
>
>Thanks in advance.
>
>phani
>
>  
>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




<<winmail.dat>>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to