This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I'm writing a web app that will support an unknown number of concurrent users, so I need to establish some sort of database connection pooling. In another forum someone implied that JNDI provided some support in this respect. Could anyone here elaborate? ms
Hi Mike, I had the same question yesterday and the answer I got back was that I don't particularly need to use a database connection pooling package since Tomcat (not sure what you are planning to use) will allow me to setup and JNDI datasource. If you are using an app server they mostly (I think) have the connection pooling facility. With tomcat, if you follow the instructions here: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html, you can very easily setup the connection pooling, tomcat uses DBCP. Ofcourse, another option is to use the DBCP package directly, you can get the package from Jakarta website. I hope this helps.
The secret to creativity is knowing how to hide your sources.