Re: Connection Pooling Solution

2002-05-30 Thread Phillip Morelock
On 5/30/02 2:05 PM, "Cindy Ballreich" <[EMAIL PROTECTED]> wrote: > Yes, much more so. Thanks! I was misunderstanding the whole relationship. I Cool! Yeah, if you look at the packages: javax.servlet.http and javax.sql and java.sql I think you'll start to see how powerful the concept of interface

Re: Connection Pooling Solution

2002-05-30 Thread Cindy Ballreich
fillup, At 01:28 PM 5/30/02 -0700, Phillip Morelock wrote: >javax.sql.DataSource itself is not returning Connections. > >DataSource is an interface -- what this means in practice is that some >random class (in this case, BasicDataSource) is implementing that interface. >You're actually asking tha

Re: Connection Pooling Solution

2002-05-30 Thread Phillip Morelock
javax.sql.DataSource itself is not returning Connections. DataSource is an interface -- what this means in practice is that some random class (in this case, BasicDataSource) is implementing that interface. You're actually asking that class for a Connection, and you "know" that you can call any me

Re: Connection Pooling Solution

2002-05-30 Thread Cindy Ballreich
At 03:43 PM 5/30/02 -0400, Rick Fincher wrote: >Because the MySql driver is a javax.sql.DataSource and that's what gets >passed back by the pool, making the pool transparent (no pun intended). > >That way you can later change the driver or the pooling details without >changing your code (assuming

Re: Connection Pooling Solution

2002-05-30 Thread Rick Fincher
Because the MySql driver is a javax.sql.DataSource and that's what gets passed back by the pool, making the pool transparent (no pun intended). That way you can later change the driver or the pooling details without changing your code (assuming the SQL dialect still works). Rick - Original

Re: Connection Pooling Solution

2002-05-26 Thread Vic Cekvenich
apache.org/builds/jakarta-commons/nightly/commons-dbcp/ >>> >>>And could you keep your mails to the list instead of direct? That way (a) >>>someone else might answer first and (b) the answer will end up in the mail >>>archives. >>> >>>Thank

RE: Connection Pooling Solution

2002-05-26 Thread Cindy Ballreich
t; > > >Thanks > > > >Les > > > > > > > -Original Message- > > > From: Rick Fincher [mailto:[EMAIL PROTECTED]] > > > Sent: 24 May 2002 18:37 > > > To: [EMAIL PROTECTED] > > > Subject: Re: Connection

RE: Connection Pooling Solution

2002-05-26 Thread Jacob Kjome
t way (a) >someone else might answer first and (b) the answer will end up in the mail >archives. > >Thanks > >Les > > > > -Original Message- > > From: Rick Fincher [mailto:[EMAIL PROTECTED]] > > Sent: 24 May 2002 18:37 > > To: [EMAIL PROT

RE: Connection Pooling Solution

2002-05-26 Thread Les Hughes
. Thanks Les > -Original Message- > From: Rick Fincher [mailto:[EMAIL PROTECTED]] > Sent: 24 May 2002 18:37 > To: [EMAIL PROTECTED] > Subject: Re: Connection Pooling Solution > > > Thanks a million Les, > > This is very helpful. > > Quick question: I