doubt in connection pooling

hi frnds, i have created my own connection pooling class,i need to implement this class in my struts application i dont where to initialise my connection pooling class.... can anyone tel me the suggestion to do that...?

[226 byte] By [83Krisha] at [2007-11-27 11:33:03]
# 1

hi frnds, i have created my own connection pooling class,i need to implement this class in my struts application i dont where to initialise my connection pooling class.... can anyone tel me the suggestion to do that...?

83Krisha at 2007-7-29 16:49:06 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 2

Basically you will have to initialise the class on startup

something of this sort.

<servlet>

<servlet-name>InitServlet</servlet-name>

<servlet-class>util.InitServlet</servlet-class>

<load-on-startup>1</load-on-startup>

</servlet>

garavaa at 2007-7-29 16:49:06 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 3

What about this URL:

I suppose this will surely solve ur problem

http://www.onjava.com/pub/a/onjava/2006/04/19/database-connection-pooling-with-tomcat.html?page=1

Friend try Googling.

garavaa at 2007-7-29 16:49:06 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...