Using the DataDirect Connect for JDBC™ Drivers with Tomcat

View PDF
Download Sample Code (.zip)

This document explains the steps required to use the DataDirect Connect® for JDBC® drivers with the Tomcat JSP/Servlet engine1. These steps include:

  1. Install DataDirect Connect for JDBC.
  2. Create an "admin" user for Tomcat.
  3. Create a data source using the Tomcat Administration Tool.
  4. Generate the JSP test page. A sample JSP test page is provided in the TomcatTest.war file, which is available with this document.
  5. Deploy the Tomcat web application to the Tomcat server.
  6. Map the data source into the context of the Tomcat web application.
  7. Run the Tomcat web application.

Detailed information about each of these steps is included in the following sections.

Table of Contents

Installing DataDirect Connect for JDBC

Create an "Admin" User for Tomcat

Create a Data Source

Generate the JSP Test Page

Deploy the TomcatTest Web Application to the Tomcat Application Server

Map the Data Source into the Context of the TomcatTest Web Application

Run the TomcatTest Web Application

Ready to try DataDirect Connect for JDBC?
Download Now | Learn More
Ready to try DataDirect Connect for JDBC?