Server User Manual

Table Of Contents
Chapter 11: Editing J2EE deployment descriptors 103
Validating a deployment descriptor entry
A new page appears in the content pane that corresponds to the type of node you
selected. The sample image shows a security permission being added to a
connector module.
Fill in the information requested on this page and new node for that page appears
under the node you selected in the structure pane.
Double-clicking a top-level category node, such as Entity Beans in an EJB module,
displays a page with a table containing all existing entries of that type. For example, if
an EJB module contains two entity beans, double-clicking the Entity Beans node
displays a table containing an entry for each entity bean. You can also use this page to
add and delete entries or reorder the list with the Move Up and Move Down buttons.
To add an entry, click the Add button, then select the new entry in the table and double-
click it. The appropriate page appears. Fill in the required information.
There are two ways to delete an entry from a category:
Right-click the node you want to delete in the structure pane and choose Delete.
Double-click the top-level category node. On the page that appears, select the entry
from the table you want to delete and click the pages Remove button.
Validating a deployment descriptor entry
You can help ensure the deployment descriptor information that is common to all
servers is entered correctly by using the DD Editors validator. The validator checks
that the deployment descriptor conforms to the DTD specification and also makes other
checks such as insuring proper naming conventions are used.
To validate a deployment descriptor,
1 Right-click the node in the structure pane you want to validate.
2 Choose Validate on the context menu that appears.
Note Server-specific data is not checked. Only data found on Standard pages is validated.