>Struts 1.1 includes its trusty old GenericDataSource but you 
>can always plugin DBCP if you want.

Hold on a second...

Isn't GenericDataSource deprecated? I just recently switched from using
GenericDataSource in my struts-config.xml (by specifying no type=) to
explicitly using type=org.apache.commons.dbcp.BasicDataSource because of the
docs in GenericDataSource. Is this no longer the recommended approach?

Currently, I'm having some problems with pooling and idle connections which
are closed by the db server actually being given back to my app (I suspect).
Could this be related to the bugs in dbcp you are talking about?

Using 1.1RC2, what is the recommended way to acquire pooled db connections?

Matt Kruse

Reply via email to