Deploying EJB applications using SQLJ for data access

Deploying enterprise beans which use SQLJ as their persistence mechanism is more complicated than regular deployment. As part of the generation of deployment code, one or more SQLJ customization profiles will be created. You can then run the DB2 SQLJ profile customizer against the customization profiles to produce static SQL in the database.

Additional considerations when deploying enterprise beans using SQLJ for EJB Persistence

Deploying non-CMP beans

If you want to deploy non-CMP beans (session beans, BMP beans, and servlets) for existing J2EE applications, using SQLJ as the persistence mechanism, first port the .java file to .sqlj.

 

Follow these topics in sequence in order to deploy your application:

 

Parent topic

EJB deployment tool

 

Related concepts

DB2 SQLJ profile customizer

 

Related tasks

Generating EJB deployment code from the workbench
Generating EJB deployment code from the command line
Deleting deployment code