Search code examples
javaconnectionjndiconnection-pooling

JNDI connection pool


I am currently working on java project which is based on struts and tomcat 7.Now due to memory reasons I am planning to convert the project from using normal JDBC/ODBC connections to JNDI connection pooling.Am kind of stuck here.What are the basic changes that I should make in the code as part of this conversion.Should I change the configuration of tomcat?Is there any jars that needed to be added?


Solution

  • Apache Tomcat 7 has a robust connection pool implementation and provides a really good documentation. It will guide you through the configuration changes you need to make in Tomcat and/or in your application. There are also code examples.