Women in Technology

Hear us Roar



Article:
  Database Connection Pooling with Tomcat
Subject:   Pooling logic
Date:   2006-06-05 07:49:00
From:   aravind_nambi
The article discusses more abt connection pooling. Not considering the other frameworks that comes with pooled connections, sticking to the current article, would it not be good to move the connection pooling logic to a class that extends Datasource and deploying it in the server?? That way when some changes required in the connection paramter, the whole web application need not be restarted as the Datasource instance is got at the init method of the servlet. Or a call back method to re-instantiate the datasource whn an exception is caught.