Re: understanding jdbc pool

2014-03-08 Thread Neven Cvetkovic
On Fri, Mar 7, 2014 at 11:21 AM, Christopher Schultz < ch...@christopherschultz.net> wrote: > > Neven, > > On 3/5/14, 8:25 PM, Neven Cvetkovic wrote: > > On Wed, Mar 5, 2014 at 3:15 PM, S Ahmed > >> > > Ahmed, thanks for asking this question - it is sometimes very > > confusing with all different

Re: understanding jdbc pool

2014-03-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Martin, On 3/6/14, 7:53 AM, Martin Gainty wrote: > > > > >> From: neven.cvetko...@gmail.com Date: Wed, 5 Mar 2014 20:25:36 >> -0500 Subject: Re: understanding jdbc pool To: >> users@tomcat.apache.org >>

Re: understanding jdbc pool

2014-03-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Neven, On 3/5/14, 8:25 PM, Neven Cvetkovic wrote: > On Wed, Mar 5, 2014 at 3:15 PM, S Ahmed > wrote: > >> Hi, >> >> With jdbc pool, is each socket connection in the pool handled by >> a separate thread? >> >> > Ahmed, thanks for asking this que

RE: understanding jdbc pool

2014-03-06 Thread Martin Gainty
> From: neven.cvetko...@gmail.com > Date: Wed, 5 Mar 2014 20:25:36 -0500 > Subject: Re: understanding jdbc pool > To: users@tomcat.apache.org > > On Wed, Mar 5, 2014 at 3:15 PM, S Ahmed wrote: > > > Hi, > > > > With jdbc pool, is each socket conne

Re: understanding jdbc pool

2014-03-05 Thread Neven Cvetkovic
On Wed, Mar 5, 2014 at 3:15 PM, S Ahmed wrote: > Hi, > > With jdbc pool, is each socket connection in the pool handled by a separate > thread? > > Ahmed, thanks for asking this question - it is sometimes very confusing with all different kind of pools: connection pools, threadpools, etc... Chris

Re: understanding jdbc pool

2014-03-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ahmed, On 3/5/14, 3:15 PM, S Ahmed wrote: > With jdbc pool, is each socket connection in the pool handled by a > separate thread? Why would a JDBC connection need a thread? > Say you have 20 connections set to be open at minimum, does that > mean

understanding jdbc pool

2014-03-05 Thread S Ahmed
Hi, With jdbc pool, is each socket connection in the pool handled by a separate thread? Say you have 20 connections set to be open at minimum, does that mean there will be 20 threads? If not, then there is a degree of serialization then right?