The EJB deployment tool provides a command-line interface that you can use to generate enterprise bean deployment code. 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.
Why and when to perform this task
You generate EJB deployment code by running the ejbdeploy command.Running the EJB deployment tool from the command line:
Steps for this task
ejbdeploy in.ear tmp out.ear -sqlj -cp "C:\PROGRA~1\IBM\SQLLIB\java\sqlj.zip;"
This generates a EAR file called out.ear and an Ant script called out.ear.xml.There will be at least one customization profile for each EJB JAR file. It is located in one of the subdirectories below the websphere_deploy directory, for example FS_TopDown1_SJProfile0.ser
Results
The following activities occur when you run the ejbdeploy command:
Note: For CMP entity beans, a data definition language (DDL) file that can be used to create corresponding database tables for a JAR file is contained within the META-INF directory and entitled Table.ddl.
What to do next
See the related reference: The ejbdeploy command.