A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Spring in Action
this week in the
Database Connection Pooling
Joined: Jan 13, 2002
Jul 22, 2002 04:54:00
provide database connection pooling.
If so can someone post me a link to an example of how to set it up.
Does it use data sources and JNDI to obtain a reference to the connection pool?
Joined: Jun 25, 2001
Jul 23, 2002 17:37:00
Tomcat doesn't provide database anything.
However, it's not such a big deal to setup connection pools using
and do your own.
Struts DOES provide some basic (and extensible) support for connection pooling. It's one of the topics covered in the sample app for this article:
The sample app itself is running on a Tomcat server
and is annotated so you can see the components at work (hint: look at the struts-config.xml files and the "xxxxForm.java" files.
Customer surveys are for companies who didn't pay proper attention to begin with.
Joined: Apr 11, 2002
Jul 24, 2002 01:57:00
Well, in fact, Tomcat does provide connection pooling.
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: Database Connection Pooling
This Weeks GiveAway:
connection pooling in Struts
Stripes JNDI Database Connection Pooling
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014