Previewing the EJB Deployment Descriptor

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.

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 Customizing and Extending PowerDesigner > Object, Process, and XML Language Definition Files.

  1. Right-click the model in the Browser and select Properties to open the model property sheet.
  2. Click the Preview tab.