Re: [dbcp] Re: PerUserPoolDataSource usage in a J2SE environment for discrete DBs

2010-03-07 Thread Mike Dee
Thanks for the response Phil. I ended up downloading the source and came to the same conclusion. Also, ended up doing exactly what you said - created a Map of pools. Works fine. I am curious as to how this is done in a J2EE environment (with JNDI). From my understanding, connection pooling

PerUserPoolDataSource usage in a J2SE environment for discrete DBs

2010-03-05 Thread Mike Dee
Is PerUserPoolDataSource a good option for pooling connections for multiple databases? Note the environment is a J2SE app - not a web app, so there is no JNDI. From the sample code (see http://commons.apache.org/dbcp/api-1.4/index.html), it looks like the same url (connection string which