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.
http://nagoya.apache.org/eyebrowse/ReadMsg?listName=torque-user@db.apache.or
g&msgNo=3686


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

I do.
http://nagoya.apache.org/eyebrowse/ReadMsg?listName=torque-user@db.apache.or
g&msgNo=3681

-Ben

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


Mime
View raw message