Interesting article, but how about using the JDBC connection pool class and
is accessed by multiple servlets? Do you have to write something that will
hold the pool? I know how to use an JNDI server for this but tomcat?
--Angus
Hung Yee wrote:
>
> If you're interested in writing your own Database Connection Pool, here's an
> article that I found that was helpful for me:
>
> http://webdevelopersjournal.com/columns/connection_pool.html
>
> The article well explains the basic concept of a connection pool, and
> includes the source code that is used in the article.
>
> -----Original Message-----
> From: Aaron Crandall [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 09, 2001 3:36 PM
> To: [EMAIL PROTECTED]
> Subject: Connection pooling?
>
> Hello all,
>
> I am creating a JSP application that will run on Tomcat and access a SQL
> Server database using standard javabeans. My question is this: what do I
> have to do to use connection pooling? Will it happen automatically if I use
> a driver that supports it? Or do I have to write a Connection pooling class?
>
> Thanks in advance for any help!
>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets