There is a project in commons DBCP, not sure where it's at though.

As for connections, maybe i phrased that wrong, it doesn't deal with the fact that a 
lot of drivers don't support 2.0 and the apps that don't use 2.0 yet.  

Guess it's not a big deal, i mean it's a simple thing, but I'm thinking for interops 
sake.  For example, sharing the same pool in various apps, say you have turbine 
running, and xalan, and you want to use the pool in your app as well, well instead of 
having 3 pools running around, why not one that they all share.  

A simple set of interfaces would accomodate this nicely, then each of the connection 
pooling implementations floating around could implement the interfaces while not 
breaking any old code.

Travis



---- Original Message ----
From: Jeff Schnitzer <[EMAIL PROTECTED]>
Sent: 2002-04-27
To: Turbine Torque Users List <[EMAIL PROTECTED]>
Subject: RE: Another connection pool in Xalan

Gack!!!  No wonder the xalan jar is almost a meg...

I don't understand what is wrong with javax.sql.DataSource.  It returns
a java.sql.Connection interface, so I'm not sure what you mean by "don't
think it handles regular 1.0 connections".

BTW, there are more connection pool implementations in Struts and
Avalon, they use the DataSource/Connection interface.

Seems like this is a component that should be in commons...

Jeff Schnitzer
[EMAIL PROTECTED]


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, April 27, 2002 10:21 AM
> To: [EMAIL PROTECTED]
> Subject: Another connection pool in Xalan
> 
> Found another connection pool interface.
> 
> interface:
> http://xml.apache.org/xalan-
> j/apidocs/org/apache/xalan/lib/sql/ConnectionPool.html
> 
> default imp:
> http://xml.apache.org/xalan-
> j/apidocs/org/apache/xalan/lib/sql/DefaultConnectionPool.html
> 
> Is there a standard interface in the java specs?  There's one in jdbc
2.0
> (javax.sql package), but don't think it handles regular 1.0
connections.
> 
> Travis Reeder
> Chief Software Architect
> www.ThinkVirtual.com
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:turbine-torque-user-
> [EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:turbine-torque-user-
> [EMAIL PROTECTED]>


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



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

Reply via email to