previous | start | next

## A Three-Tier Application

- To query the database, the bean needs a `Connection` object
- With Tomcat, specify the database configuration in `conf/server.xml`
  - Locate the element

        <Host name="localhost" . . . >

  - Immediately after, add the configuration information found on the next slide
  - You need to place the JDBC driver file into `common/lib`
  - Restart server after changing the configuration file

previous | start | next