Java Tutorial - Java Script : Integration with Tomcat

Java Tutorial - Java Script :

Integration with Tomcat


In a J2EE environment, we want to have the container manage database connections for us. This means that we need to be able to look up DataSources, and we need to get database connections from a connection pool. The container has to be configured so that it knows how to do this. In this section, we will configure Tomcat so that it can provide our applications with database connections.