A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
How to Use Connection Pool in servlets from web server
Joined: Feb 08, 2007
Dec 19, 2007 21:30:00
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
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
It is sorta covered in the
JavaRanch Style Guide
subject: How to Use Connection Pool in servlets from web server
connection pool ? (JBoss / DBCP / c3po )
what connection pooling is better?
Creating JavaMail session pool
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014