We looked at the JDBC DataSource in the last tutorial and learned how to use that in standalone java application. Actual benefit of DataSource comes when we use it with a JNDI Context such as using connection pool in a web application deployed in a servlet container. Most of the …
↧