Subject: Help with JDBC Connection Pool From: "Aslak Poppe" <[EMAIL PROTECTED]> === Hi, I got a little confused with the JDBC connection pool, when trying out the samples from struts user guide. How is this best implemented. In the example you create an instance of GenericDataSource to configure it, but why should you deal with instances of GenericDataSource. Should this not be configured through a class with singleton pattern, so that you do not deal with more than one instance of the connection pool? I see that in the examples its implemented through the ControlServlet, which will pass the connection in the servlet context. Setting up a system wich will get the data connection through a servlet seems to be a bit contradictory to the MVC pattern. Middellayer depends on functions from the top layer? So my question is: does anyone have any experience with using the JDBC connecton pool in the middle layer of an aplication, preferably implemented as a singleton pattern for the connection pool?
Aslak -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>