db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benjamin Yu <Benjam...@InformativeResearch.com>
Subject RE: Using Torque with Tomcat.
Date Mon, 19 Apr 2004 20:50:09 GMT
Here're a couple of emails in the user group to get a sort of direction.

> Where should I initialize Torque so that all the sessions of the Webapp
use the 
> same DBConnectionPool? 

Try instantiating the pool to be referenced as a JNDI datasource.

> Should I be initialising Torque in a Startup servlet that 
> is executed when the WebApp is started? 

I do.


To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org

View raw message