[EMAIL PROTECTED] wrote:
i think i don't get the utility of a connection pooling, since i have this 
situation: 30 threads try to perform at same time a db access with the call:

new Database().doSomething()
JNDI lookups are expensive. You should get DataSource object from JNDI first, and then pass it to other threads. Every thread should just call DataSource.getConnection().


--
Mikolaj Rydzewski <[EMAIL PROTECTED]>


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to