WebSphere Adapter for JDBC

Adding external dependencies

After you create the project in WebSphere® Integration Developer, you need to add the database driver to your adapter project. To accomplish this, add the JDBC driver to the Java™ build path. Use the external JAR file that is provided with your database.

  1. In the J2EE perspective of WebSphere Integration Developer, expand Connector Projects. Right-click the adapter project CWYBC_JDBC and select Properties.
    Figure 1. Selecting Properties option for the project
    This screen capture is described in the surrounding text.
  2. In the navigation sidebar, click Java Build Path. Select the Libraries tab and click Add External JARs.
    Figure 2. Adding external JAR file
    This screen capture is described in the surrounding text.
  3. In the JAR Selection window, navigate to the directory on your local file system that contains the JDBC driver JAR file. Click Open.

    The JDBC driver JAR file is added to the Java build path.

  4. Click OK.

Result

Your adapter project contains a reference to the JDBC driver, which you can view in the Project Explorer window of WebSphere Integration Developer. The driver has been added so that the adapter can connect to the database, and business objects can be generated for tables, stored procedures, and so on.

Terms of use |

Last updated: Tue 12 Dec 2006 03:32:39

(c) Copyright IBM Corporation 2005, 2006.
This information center is powered by Eclipse technology (http://www.eclipse.org)