Following is the source code: //public class ConnectionPool implements Runnable public class ConnectionPool {
I\'ve a connection pool to access a MySQL DB from a servlet. I get the data source using a JNDI, which is defined on my META-INF/context.xml file.
I am using VSTS 2008 + .Net 3.5 + C# + ADO.Net + SQL Server 2008 Enterprise. I am learning http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlconnection.clearallpools.aspx about SqlConne
Just looking at examples of connection pooling on the web, they all implement connection pooling on a per servlet basis.So each servlet has its own pool of database connections.My question is, why is