Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 858E49FB24E for ; Fri, 9 Feb 2007 10:37:46 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-new, port 10024) with ESMTP id 10735-02-2 for ; Fri, 9 Feb 2007 10:37:30 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from lvs00-fl-n03.ftl.affinity.com (lvs00-fl-n03.ftl.affinity.com [216.219.253.136]) by postgresql.org (Postfix) with ESMTP id 17B929FB40D for ; Fri, 9 Feb 2007 10:14:40 -0400 (AST) Received: from [151.196.58.209] ([151.196.58.209]:62225 "EHLO [192.168.16.25]") by ams003.ftl.affinity.com with ESMTP id S372481AbXBIOOi (ORCPT ); Fri, 9 Feb 2007 09:14:38 -0500 Message-ID: <45CC81F4.8040006@tethyshealth.com> Date: Fri, 09 Feb 2007 09:15:16 -0500 From: James Neff User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: Re: use connection pooling References: <45CB5D29.4050609@burntmail.com> <45CB6A63.6020403@hogranch.com> <45CBC58B.9010401@burntmail.com> In-Reply-To: <45CBC58B.9010401@burntmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.178 tagged_above=0 required=5 tests=AWL, BAYES_50 X-Spam-Level: X-Archive-Number: 200702/40 X-Sequence-Number: 16596 Guy Rouillier wrote: > John R Pierce wrote: >> Guy Rouillier wrote: >>> janaka priyadarshana wrote: >>>> hi all >>>> >>>> >>>> my database server is running on one machine and the application >>>> is running on another machine(simple java application use to access >>>> the database). >>>> >>>> so i want to know, what is the protocol that use to communicate >>>> between those two applications...? >>> >>> JDBC. >>> >> >> not exactly. JDBC is the API your app uses to access the >> database. the JDBC class libraries for postgres on the client >> system will use postgres's native protocol to talk to the PG Server >> (default of 5432/tcp) > > Well, with any network communication, there are multiple layers of > protocols involved. You took it one layer below JDBC, but we could > keep on going down to the physical layer link protocol. Since the > O.P. was asking on a JDBC mailing list, I assumed he was interested in > that layer. > His first e-mail was asking for an example of how to do a connection pooling in Java using JDBC. I think he was trying to ask that same question and accidentally used the word 'protocol'. My guess is English is not his first language. Maybe someone could post a URL to some connection pooling examples and documentation? --James