The ejbdeploy tool

Before you can successfully run your enterprise beans, you need to generate deployment code for the enterprise beans. The ejbdeploy tool provides a Qshell command-line interface that you can use to generate enterprise bean deployment code. The tool also allows you to run a build process to automatically invoke the ejbdeploy tool in batch mode.

To invoke the ejbdeploy tool from the Qshell command line, enter the ejbdeploy command. When you run the command, you specify a JAR or EAR file that contains one or more enterprise beans. The tool then generates a JAR or EAR file that contains deployment code in the form of .class files. For more information about the command and its parameters, see Syntax and parameters of the ejbdeploy tool.

The ejbdeploy tool supports these functions:

The ejbdeploy tool supports three levels of access intent:

Mapping to multiple back-end databases is also supported. The schemas and the generated .ddl file are stored in the following directory of the JAR or EAR file:

beanname/ejbModule/META-INF/backends/backend_id/schemaname.schxmi
beanname/ejbModule/META-INF/backends/backend_id/tablename.ddl

where

If you have only one .ddl file, it appears both in the directory described above and in the META-INF folder.

These topics describe how to use the ejbdeploy tool and the tasks that you can perform with it:

Syntax and parameters of the ejbdeploy tool
This topic describes the syntax and parameters of the ejbdeploy command.

Generate deployment code from the command line
This topic describes how to use the ejbdeploy command to generate deployment code for your enterprise beans.