Received: from localhost (unknown [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 884DE9FA0F0 for ; Thu, 4 Oct 2007 13:47:01 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 77441-01 for ; Thu, 4 Oct 2007 13:46:54 -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 C2D819F926A for ; Thu, 4 Oct 2007 13:46:54 -0300 (ADT) Received: from dave-cramers-computer-2.local (dcdsl.ebox.com [64.7.143.116]) by beaver.fastcrypt.com (Postfix) with ESMTP id 54E9C158015C; Thu, 4 Oct 2007 12:52:22 -0400 (EDT) Message-ID: <470518F7.6040606@fastcrypt.com> Date: Thu, 04 Oct 2007 12:46:47 -0400 From: Dave Cramer Reply-To: pg@fastcrypt.com User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070807) MIME-Version: 1.0 To: Guy Rouillier CC: pgsql-jdbc@postgresql.org Subject: Re: Connection pooling References: <5973945.2729391191496113452.JavaMail.root@ps1.bredband.net> <470516F9.5060003@burntmail.com> In-Reply-To: <470516F9.5060003@burntmail.com> 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/48 X-Sequence-Number: 17620 Guy Rouillier wrote: > 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? > > In what environment will you be running your standalone JDBC project? > If you are just running it from the command line using "java ...", > then connection pooling isn't going to be of much assistance. > Regardless, I did a Google search of "postgresql connection pool" and > got lots of hits. pgpool is the first one, and is a connection pool > specifically for PostgreSQL. > Which to my knowledge will not work with jdbc. Dave