X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id C06993A3B8C for ; Wed, 29 Dec 2004 04:47:25 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 05929-04 for ; Wed, 29 Dec 2004 04:47:21 +0000 (GMT) Received: from shakti.rupa.com (gw.rupa.com [66.92.32.63]) by svr1.postgresql.org (Postfix) with ESMTP id C00A23AC0D5 for ; Wed, 29 Dec 2004 04:47:18 +0000 (GMT) Received: from localhost (localhost [127.0.0.1]) by localhost.rupa.com (Postfix) with ESMTP id 50C519423F6 for ; Tue, 28 Dec 2004 20:47:17 -0800 (PST) Received: from shakti.rupa.com ([127.0.0.1]) by localhost (shakti [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 03616-02 for ; Tue, 28 Dec 2004 20:47:13 -0800 (PST) Received: from [192.168.1.11] (laptop.rupa.com [192.168.1.11]) by shakti.rupa.com (Postfix) with ESMTP id D496A9423EB for ; Tue, 28 Dec 2004 20:47:13 -0800 (PST) Message-ID: <41D236C0.5090705@lists.rupa.com> Date: Tue, 28 Dec 2004 20:46:56 -0800 From: Rupa Schomaker User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041206 Thunderbird/1.0 Mnenhy/0.7 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: Re: Open connections References: <41D15B20.5000409@fastcrypt.com> <41D16C5E.8010800@fastcrypt.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at rupa.com X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200412/209 X-Sequence-Number: 11875 On 12/28/2004 3:35 PM, Nico wrote: > That's where the next problem lies: I don't know anything about pooling > mechanisms. Could you please give me a good place to get started? Or > some code how to do so? > Thanks. The internet is a wonderful thing. I think someone already pointed out dbcp. First, what web container are you using? Nearly all come with a connection pooling implementation. Tomcat is bundled with dbcp. Second, if you can't figure out the first, then just use dbcp: http://jakarta.apache.org/commons/dbcp/ [snip] > -- > Dave Cramer > http://www.postgresintl.com > 519 939 0336 > ICQ#14675561 -- -Rupa