It seems there is a lot of confusion between these two connection pooling libraries. What I want to know is which one is better (if at all)?
Here are some points which I would like to put up... Could someone please verify?
- Tomcat DBCP: uses the default tomcat-dbcp.jar which will be present in your tomcat/lib directory. You do not need commons-dbcp.jar or commons-pool.jar libraries in your web-inf/lib. The DB driver should be placed in tomcat/lib. 
- Tomcat DBCP datasource class is - org.apache.tomcat.dbcp.dbcp.BasicDataSource. Commons DBCP datasource class is- org.apache.commons.dbcp.BasicDataSource.
- The only difference between these two can be found in this blog. Do not know if the information is correct or not. 
- The official Tomcat documentation mentions clearly that most classes have just been re-named and re-packaged. 
So the question is: which one to use and which one is better?
 
     
     
     
     
     
     
     
     
    