> 
> I am not sure about this, I haven't had any experience with the
decoupled
> Torque so I am not sure where Torque.init() should be called.

Torque.init should just be called once. However you do it doesn't
matter...e.g. in the static constructor for one of your classes or what
not.

Scarab has an elegant way of doing it...they created a TorqueService and
added it to TurbineResources.properties. It's just a light wrapper to
call init/shutdown.

http://scarab.tigris.org/source/browse/scarab/src/java/org/tigris/scarab
/services/TorqueService.java?rev=1.1&content-type=text/x-cvsweb-markup

- Stephen



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

Reply via email to