You can run the EJB deployment tool either from the workbench or
from the command line.
Follow these tasks:
Generating EJB deployment code from the workbench
Before you can successfully run your enterprise beans on either a test or production server, you need to generate deployment code for the enterprise beans.
Running the ejbdeploy command
Running the ejbdeploy command to generate
deployment code is a required step in deploying enterprise beans. 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.