Server User Manual
Table Of Contents
- Developing Applications for J2EE™ Servers
- Contents
- Ch 1: Introduction
- Ch 2: Programming for the Java 2 Platform, Enterprise Edition
- Ch 3: Creating applications with J2EE technologies
- Ch 4: Configuring the target server settings
- Ch 5: Using JBuilder with Borland servers
- Configuring Borland servers in JBuilder
- Making the ORB available to JBuilder
- Configurations, partitions, partition services, and J2EE APIs
- Starting the configuration or server
- Remote deploying
- Remote debugging
- Web module workarounds
- Displaying the Borland Management Console in JBuilder
- International issues
- Borland servers and JDataStore 7.0
- Ch 6: Using JBuilder’s CORBA tools
- Ch 7: Using JBuilder with BEA WebLogic servers
- Ch 8: Using JBuilder with IBM WebSphere servers
- Ch 9: Using JBuilder with JBoss servers
- Ch 10: Using JBuilder with Tomcat
- Ch 11: Editing J2EE deployment descriptors
- Ch 12: Integrating with Enterprise Information Systems
- Ch 13: Building J2EE modules
- J2EE modules
- Setting module build properties
- Adding custom file types
- Sample build scenarios
- EJB JAR without any bean classes
- EJB JAR with custom files
- EJB JAR without EJB designer XML descriptors
- WAR with custom descriptor(s) in the WEB-INF directory
- WAR without any classes
- WAR with custom class filters
- WAR with custom file types
- EAR with custom files
- RAR with classes and dependencies
- Application client module with classes and dependencies
- Improving module build performance
- Index
![](/manual/borland-software/jbuilder-2005/server-user-manual/images/img-99.png)
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 page’s 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 Editor’s 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.