Register / Login
File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
How to Use Connection Pool in servlets from web server
posted 8 years ago
I want to use connection pool from web server in
I have a little bit idea about Connection pool usage.
But i dont know which one is better.
I am creating the Connection pool in the server console and simply by using
ContextFactory i am getting the connection in the servlet
I am creating the Connection pool in the server console and i specified the resource_ref in web.xml ,i am getting the connection in the servlet with out specifying the context factory
which one is better and why?
Thanks & Regards
T. Shankar Reddy
Don't get me started about those stupid
connection pool ? (JBoss / DBCP / c3po )
what connection pooling is better?
Creating JavaMail session pool