ejbdeploy tool
One can generate code for deployment by either using the Application Assembly Tool or by using the Deployment Tool for Enterprise Java Beans (ejbdeploy) from a command prompt. For example, the options that you are able to set in AAT correspond with commands that the EJBDeploy tool uses to generate code for deploying an application.
Syntax
For a detailed list of available options in the EJBDeploy tool, enter "ejbdeploy" from a command prompt.
Generating code for deployment