Re: use connection pooling

From: James Neff <jneff(at)tethyshealth(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: use connection pooling
Date: 2007-02-09 14:15:16
Message-ID: 45CC81F4.8040006@tethyshealth.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kevin Birkett 2007-02-09 19:10:14 Connection state after network failure?
Previous Message Vit Timchishin 2007-02-09 12:54:11 Re: use connection pooling