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

Reply via email to