Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Developer's Guide

Sun Java System Application Server Descriptors

The Application Server uses additional deployment descriptors for configuring features specific to the Application Server. The sun-application.xml, sun-web.xml, and sun-cmp-mappings.xml files are optional; all the others are required.

To check the correctness of these deployment descriptors prior to deployment, see The Deployment Descriptor Verifier.

The following table lists the Application Server deployment descriptors and their DTD files. For complete descriptions of these files, see Appendix A, Deployment Descriptor Files.

Table 3–2 Sun Java System Application Server Descriptors

Deployment Descriptor  

DTD File  

Description  

sun-application.xml

sun-application_1_4-0.dtd

Configures an entire J2EE application (EAR file). 

sun-web.xml

sun-web-app_2_4-1.dtd

Configures a web application (WAR file). 

sun-ejb-jar.xml

sun-ejb-jar_2_1-1.dtd

Configures an enterprise bean (EJB JAR file). 

sun-cmp-mappings.xml

sun-cmp-mapping_1_2.dtd

Configures container-managed persistence for an enterprise bean. 

sun-application-client.xml

sun-application-client_1_4-1.dtd

Configures an Application Client Container (ACC) client (JAR file). 

sun-acc.xml

sun-application-client-container_1_0.dtd

Configures the Application Client Container.