Chapter 14 Working with Java
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 section 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 section Understanding the object language editor, in chapter Object Languages Reference Guide in the Advanced User Documentation .
To view the EJB deployment descriptor:
Copyright (C) 2005. Sybase Inc. All rights reserved. |