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...?
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...?
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...?
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>
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.