| Author |
Connection Pooling
|
john milr
Greenhorn
Joined: May 31, 2006
Posts: 18
|
|
Hi!!
I want to implement connection pooling for my servlet Jsp based application.
Please guide me. Any tutorial, book or any reference may work.. I want to address all security concerns while implementing.
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56230
|
|
|
The best approach is to use the built-in connection pooling that your container offers, if available. What servlet container are you planning to use?
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
john milr
Greenhorn
Joined: May 31, 2006
Posts: 18
|
|
Thank you for replying.. I am using Tomcat5.5. Is this container provide the built in connection pooling facility? If yes! then please tell me how to use it? If not then is there any way, one can implement on his/her own!
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56230
|
|
|
Yes, it does. I'll move this to the Tomcat forum and you can also search through other posts in that forum for previous discussion of Tomcat connection pooling.
|
 |
john milr
Greenhorn
Joined: May 31, 2006
Posts: 18
|
|
Hi!
I have tried searching the connection pooling related content and discussion but no relevant information found.
In the mean while, I get some connection pooling related code in "Java Servlet Programming by Mr.Jason Hunter, O'Reilly 2ndEdition, Indian Print, Page No. 286-287. Will it address the desired results with all of the security concern s?
|
 |
Ben Souther
Sheriff
Joined: Dec 11, 2004
Posts: 13410
|
|
See this page from the Tomcat online documentation: http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html
|
Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
|
 |
 |
|
|
subject: Connection Pooling
|
|
|