Torque and Turbine have been decoupled as of version 2.2.  The TurbineDB
service is deprecated.

Take a look at the torque project itself.  You can use the later version
of Torque with the TDK.  It will be a drop in replacement to the version
included with the TDK.

Torque does not provide access to the pools or the connections.  The
connection pool functionality is provided by commons-dbcp which uses
commons-pool for the actual pools.  It should be possible to extend
commons-dbcp to implement the API that you are looking for.  You could
then make some relatively simply changes to Torque to allow access from
inside Turbine.

For your JMX interface to Turbine, I would suggest writing a custom
service to handle that interface.  You could always donat that code back
to the ASF  :-)

> -----Original Message-----
> From: Jones, Claude [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, April 03, 2003 9:11 PM
> To: Turbine Users List
> Subject: RE: Get a list of Connection Pool and DBConnections
> 
> 
> Thanks for the reply Quinton,
> 
> Are those JAR files located some where in the TDK?  I'm new 
> to using Turbine and I was tasked to see if it was possible 
> to provide a JMX management wrapping around the Services that 
> Turbine provides.  Is their a particular class that I need to 
> extends or some interface that I need to look at?  I wanted 
> to be able to defined a UI that will allow a user to create new
> Connections(driver,url,username,password) register the new 
> connection and display a list of all available connections.  
> Also, I would like an API call that would like me to get all 
> distinct pool dbconnections in the system.  
> 
> By making a direct API on call on the Torque classes and 
> bypassing the TurbineDB class to get a connection, will there 
> be any issues.
> 
> Thanks again Quinton. I look forward to the reply,
> 
> Claude.
> 
> -----Original Message-----
> From: Quinton McCombs [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, April 03, 2003 6:58 PM
> To: 'Turbine Users List'
> Subject: RE: Get a list of Connection Pool and DBConnections
> 
> You will want to take a closer look at Torque, commons-dbcp, 
> and commons-pool. 
> 
> > -----Original Message-----
> > From: Jones, Claude [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, April 03, 2003 8:44 PM
> > To: [EMAIL PROTECTED]
> > Subject: Get a list of Connection Pool and DBConnections
> > 
> > 
> > Hello,
> > 
> > Is there an API class that I can make to get a list of
> > Connection Pools and DBConnections.  I am trying to build a 
> > JMX application that allows me to create new Connection Pools 
> > during time.  I look at the TurbinePoolBrokerService and the 
> > TurbineDB classes but they do not return a list of 
> > DBConnections.  Any help would be great!
> > 
> > Thanks,
> > 
> > Claude Jones.
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: 
> [EMAIL PROTECTED]
> > 
> > 
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 


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

Reply via email to