An EJB deployment descriptor describes the structure and properties of one or more EJBs in an XML file format. It is used for deploying the EJB in the application server. It declares the properties of EJBs, the relationships and the dependencies between EJBs. One deployment descriptor is automatically generated per package or model, it describes all EJBs defined in the package.
The role of the deployment descriptor, as part of the whole process is shown in the following figure:
The EJB deployment descriptor and the compiled Java classes of the EJBs should be packaged in a JAR file.
The EJB deployment tool of the application server imports the Java classes from the JAR file and configures the EJBs in the application server based on the description of EJBs contained in the EJB deployment descriptor.
You can see the deployment descriptor from the Preview page of the package or model property sheet.
For more information on the EJB deployment descriptor, see Generating EJB deployment descriptor.
You can customize the EJB deployment descriptor by modifying the templates in the Java object language.
For more information on customizing the object language, see "Resource File Reference" and "Working with the Resource Editor" in the Resource Files and the Public Metamodel chapter of the Customizing and Extending PowerDesigner manual.