Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 83FF09F9644 for ; Thu, 4 Oct 2007 08:30:40 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 95785-02 for ; Thu, 4 Oct 2007 08:30:25 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from beaver.fastcrypt.com (beaver.fastcrypt.com [64.7.141.17]) by postgresql.org (Postfix) with ESMTP id 4C7C39F9589 for ; Thu, 4 Oct 2007 08:30:32 -0300 (ADT) Received: from dave-cramers-computer-2.local (dcdsl.ebox.com [64.7.143.116]) by beaver.fastcrypt.com (Postfix) with ESMTP id CB3B41580478; Thu, 4 Oct 2007 07:35:57 -0400 (EDT) Message-ID: <4704CED9.8090204@fastcrypt.com> Date: Thu, 04 Oct 2007 07:30:33 -0400 From: Dave Cramer Reply-To: pg@fastcrypt.com User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070807) MIME-Version: 1.0 To: =?ISO-8859-15?Q?H=E5kan_Jacobsson?= CC: pgsql-jdbc@postgresql.org Subject: Re: Connection pooling References: <5973945.2729391191496113452.JavaMail.root@ps1.bredband.net> In-Reply-To: <5973945.2729391191496113452.JavaMail.root@ps1.bredband.net> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200710/44 X-Sequence-Number: 17616 Håkan Jacobsson wrote: > Hi, > > I'm trying to convert a large EJB 3.0 - project into a > standalone JDBC project (J2SE). > I want (of course) to optimize performance best I can, > especially in regard to database connections. > JDBC Connection pooling seems to be an interesting feature. > Can someone point me to a good article, tutorial on connection > pooling? > Have a look at apache's dbcp, or c3po connection pools Dave > We are using Postgresql version 8 and JDBC 3 driver. > > /Regards, Håkan Jacobsson - System developer at Relevant > Traffic, Stockholm > > ---------------------------(end of broadcast)--------------------------- > TIP 6: explain analyze is your friend > >