cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Piyush Sheth" <piyu...@imagine-sw.com>
Subject Re: cocoon and database Connection
Date Tue, 09 Jan 2001 19:07:32 GMT
That's what one would expect of database connection( as done in Cocoon2 )
management.

Is it possible to use my own database connection pool( such that it starts
when cocoon starts ) and ends once cocoon's
lifetime ends ? If yes how can it be done with cocoon-1.8/2 ?

piyush.

----- Original Message -----
From: Berin Loritsch <bloritsch@apache.org>
To: <cocoon-users@xml.apache.org>
Sent: Tuesday, January 09, 2001 1:43 PM
Subject: Re: cocoon and database Connection


> Matthew Cordes wrote:
>
> > Cocoon itself does nothing, but you can use the turbine connection
> > pool to have a pool of persistent connections (see your
> > cocoon.properties file).  In lieu of that you'd need to make at least
> > a connection per page (use the pool).
>
> In Cocoon 2, there is a pooled Jdbc Connection facility.
> You specify your connection and give it a name in the
> cocoon.xconf file (look in the supplied version on how
> to do that), and then reference it with the <esql:use-connection>
> tag or <sql:use-connection> tag.
>
> The connections are pooled and kept open until the system
> shuts down.  It reclaims connections that are not used
> when they are no longer needed.
>
> >
> > -matt
> >
> > On Tue, Jan 09, 2001 at 12:49:48PM -0500, Piyush Sheth wrote:
> >
> >> How does cocoon manage database connection ?
> >> Does it establish database connection everytime a document( obviously
it has
> >> some fields from database )
> >>  is requested or the connection is persists once cocoon is initialized
and
> >> until it is shutdown.
> >>
> >>
> >> Piyush.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> >> For additional commands, e-mail: cocoon-users-help@xml.apache.org
> >>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> > For additional commands, e-mail: cocoon-users-help@xml.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
>
>


Mime
View raw message