On Tue, Feb 20, 2001 at 10:35:46AM -0600, Steve Grant wrote:
> Could you describe specifically how to do the decoupling? That is, how would
> I configure a web application to use the torque generated classes without
> them being part of a turbine app. I would like to use the connection pooling
> just not the broader turbine facilities at this point. I gues I want to use
> torque as an OR mapping solution outside of the broader turbine framework.

If you're happy to use the Turbine connection pool then the torque
generated classes will work just fine as long as you have initialised the
connection pool service (look in the archives for using TurbineConfig to
initialise Turbine outside of a servlet context). You'll need a
TR.properties that defines the basic services (ResourceService,
LoggingService, PoolBrokerService, MapBrokerService). Then construct a
TurbineConfig object and call the init() method. The TR.properties will
also need to set up the DB properties (take the example one and strip it
down...)

Sean

-- 
Sean Legassick
[EMAIL PROTECTED]
      As a person, nothing human can be alien to me  
      
      


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to