JSP and JDBC
- Tomcat's JSP implementation manages a pool of database connections
- So multiple JSPs can connect without loading specific JDBC driver
- Can do away with DBConnection class
- Must register a DataSource object as a resource in
<tomcat>/conf/server.xml
- Uses the Java Naming Directory Interface (JNDI) to obtain access to a
database resource