bea.com | products | dev2dev | support | askBEA

Download Docs | Site Map | Glossary
Search

Administration Console Online Help

EJB Deployment Descriptor Editor

The WebLogic Server EJB Deployment Descriptor Editor is a graphical interface that you can use to edit EJB deployment descriptors. You access this interface from the WebLogic Server Administration Console. You use this interface to modify EJB deployment descriptors. The EJB deployment descriptors are specified in the following XML files for each EJB before the EJB is deployed to the server instance:

- ejb-jar.xml

- weblogic-ejb-jar.xml

- weblogic-rdbms-cmp.xml

For information about generating J2EE deployment descriptors for WebLogic Server, see WebLogic Builder.

Tasks

Using the EJB Deployment Descriptor Editor

1. Start the WebLogic Administration Server if it is not already running.

2. Start the WebLogic Server Administration Console in a browser.

3. Expand the Deployments node in the left pane.

4. Expand the EJB node to display a list of EJBs deployed on your domain.

5. Right-click the node for the EJB you want to modify and select Edit EJB Descriptor from the drop-down menu. A new browser window opens in which you can edit the deployment descriptors.

6. In the left pane of the EJB Deployment Descriptor Editor, for each deployment descriptor file you want to modify, click its node, configure it in the right pane and then click Create or Apply to enable the change.

7. When you have finished editing the deployment descriptor files for the EJB, left-click the EJB sub-node in the left navigation tree.

8. Click Validate in the right panel. The validation only checks to see that the deployment descriptor conforms to its document type definition (DTD). It does not verify the existence of any of the components you have configured nor perform any other type of validation.

9. After you have validated the deployment descriptors, click Persist in the right panel. Your changes to the deployment descriptor are not written to the deployment descriptor files on disk until you click the Persist button.

10. To propagate your descriptor changes to the application, redeploy the application.