Re: Database Pooling

2005-01-21 Thread Vic
Use your container for data source(Tomcat) The data source element in sturts should not be used. Can you point out where in docs or on Struts page it says to use .V Scott Purcell wrote: Hello, I am just getting underway with Struts, but have done quite a bit of homework before submitting this

Re: Database Pooling

2005-01-21 Thread Craig McClanahan
Struts support for the element (which, by the way, is pooled) is deprecated -- the recommended practice is to use your container's ability to configure a JNDI based data source, and then access it using standard JNDI APIs. Examples of that (which are portable to all JNDI based servers) can be fou

Re: database pooling for struts

2004-10-29 Thread Erik Weber
The accepted practice is to configure your connection pool just as you would for any other J2EE application and to not have any ties to Struts (though there once was a practice of declaring a "Struts" data source). Just declare your data source in web.xml, configure it in your Tomcat context XM

RE: database pooling for struts

2004-10-29 Thread David G. Friedman
Kevin, Some database software (such as Hibernate[.org]) can automatically initialize a pool of database connections for you. I use Hibernate (with a Struts plugIn to set it up), one of the various pooling packages it supports, and am trying to learn how to use some of the many data caching packag