Configuring EJB applications to use SQLJ instead of JDBC for enterprise bean persistence (workbench only)

You can use SQLJ instead of JDBC to make calls to a DB2 database when deploying 2.x CMP beans. SQLJ is a standard set of programming extensions, which allows the use of Java classes to define SQL types, which can then be used as columns in tables. It allows you to embed SQL database statements in a Java program.

To run the SQLJ-based enterprise beans in the WebSphere test environment, follow these instructions:

 

Follow these tasks in sequence to prepare your EJB applications to use SQLJ:

 

Parent topic

Deploying EJB applications using SQLJ for data access
Previous topic: Requirements for deploying EJB applications using SQLJ
Next topic: Running the EJB deployment tool