There are two good and simple approaches:

The fastest way to communicate with your database: a highly optimized
type 2 driver and a good connection pooling manager.

Almost so fast and also a lot more portable: type 4 driver and
connection pooling again.

We are building a project with JSP, and to keep things simple we
installed a high performance servlet container (Resin) with embedded
connection pooling support. If your servlet runner does not handle
connection pooling try a driver who does it, like Ashna's JTurbo
Enterprise (it�s a type 4 driver.)



Hooman Ahmadi wrote:
>
> I try to make connection with best performance But I don't know when I
> should use Connection Pooling or when I should for example  Singleton
> Patrern or ...
>
> Can any body help me
> ________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> 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

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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

Reply via email to