on 1/17/00 11:59 AM, Arshak Navruzyan <[EMAIL PROTECTED]> wrote:

> I am sorry but I am unable to find this information in the archive.  Could
> someone please provide some jsp code example(s) of how to use the Turbine
> connection pooling mechanism.

DBConnection db = null;
try
{
    db = DBBroker.getInstance().getConnection();
    Connection connection = db.getConnection();

    // SQL code here
}
finally
{
    DBBroker.getInstance().releaseConnection(db);
}

>  Also is my understanding of the architecture
> correct that Turbine works as a servlet that is started with the servlet/jsp
> engine?  

Turbine is a servlet as well. It has a model for building websites that is
optional to use. Please read the FSD on the website for more information.

-jon


-- 
Come to the first official Apache Software Foundation
Conference!  <http://ApacheCon.Com/>




------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to