Return-Path: Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 36827 invoked from network); 9 Jan 2001 18:47:40 -0000 Received: from fw.infoplanning.net (HELO infoplanning.com) (@209.8.58.131) by h31.sny.collab.net with SMTP; 9 Jan 2001 18:47:40 -0000 Received: (qmail 18385 invoked from network); 9 Jan 2001 18:54:29 -0000 Received: from unknown (HELO apache.org) (192.168.0.189) by inet with SMTP; 9 Jan 2001 18:54:29 -0000 Message-ID: <3A5B5BD9.7060007@apache.org> Date: Tue, 09 Jan 2001 13:43:37 -0500 From: Berin Loritsch User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; 0.6) Gecko/20001205 X-Accept-Language: en MIME-Version: 1.0 To: cocoon-users@xml.apache.org Subject: Re: cocoon and database Connection References: <004f01c07a64$8fad6e40$86c909c0@imagineny.com> <20010109130444.A2382@plan9ws1.uct.usm.maine.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N 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 tag or 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