On Tue, Nov 16, 2004 at 03:35:25PM -0600, Scott Purcell wrote: : I am developing a mid-sized application, which will use JSP Model 2 : Architecture. Currently I have a class that does Database Pooling, but I am : curious about some threads I see time to time. : : I have noticed that some developers on this list refer to Tomcats Database : Pooling. It looks like there are some hooks into the deployment file. So I : guess my question is as follows. does Tomcat offer this type of pooling? and : if so, is it good, and is it portable? Links, references would be great.
JDBC pooling is pretty standard in containers these days, Tomcat included. ;) The code side of this picture is pretty portable: look up a DataSource via JNDI, use that to fetch connections. The configuration side is container-specific. Tomcat has excellent docs on this at the website. If inter-container portability is a great concern (e.g. you sell your app to external clients), you could also manage the pool yourself using the commons-dbcp package. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]