Skip to content

Latest commit

 

History

History
409 lines (314 loc) · 16.6 KB

PreviousVersionDeploymentDescriptors.adoc

File metadata and controls

409 lines (314 loc) · 16.6 KB

Appendix A: Previous Version Deployment Descriptors

This appendix describes Document Type Definitions (DTDs) and XML schemas for Deployment Descriptors from previous versions of the Java™ EE and Jakarta™ EE specifications. All Jakarta EE 9 products are required to support the DTDs and schemas specified by Jakarta EE 8, as well as the schemas specified in this version of the specification. This ensures that applications written to the previous version of the Jakarta EE specification can be deployed on products supporting the current version of this specification. Support for versions of DTDs and schemas prior to Jakarta EE 8 is optional. In addition, there are no restrictions on mixing versions of supported deployment descriptors in a single application; any combination of valid deployment descriptor versions must be supported.

Jakarta EE 11 shcemas

Reference this page, https://jakarta.ee/xml/ns/jakartaee/#11, for the schema definitions defined for Jakarta EE 11.

Jakarta EE 10 schemas

Reference this page, https://jakarta.ee/xml/ns/jakartaee/#10, for the schema definitions defined for Jakarta EE 10.

Jakarta EE 9 schemas

A new namespace has been specified for Jakarta EE 9, https://jakarta.ee/xml/ns/jakartaee/. Reference this page, https://jakarta.ee/xml/ns/jakartaee/#9, for the schema definitions defined for Jakarta EE 9.

Java EE 8 / Jakarta EE 8 Schemas

No updates to the schemas defined in previous releases of Java EE were required for Java EE 8 or Jakarta EE 8. Reference this page, https://jakarta.ee/xml/ns/jakartaee/#8, for the schema definitions defined for Java EE 8 and Jakarta EE 8.

Java EE 7 Schemas

Java EE 7 Application XML Schema

The XML grammar for a Java EE 7 application deployment descriptor is defined by the Java EE 7 application schema. The root element of the deployment descriptor for a Java EE application is application . The granularity of composition for Java EE application assembly is the Java EE module. A Java EE application deployment descriptor contains a name and description for the application and the URI of a UI icon for the application, as well a list of the Java EE modules that comprise the application. The content of the XML elements is in general case sensitive. This means, for example, that <role-name>Manager</role-name> is a different role than <role-name>manager</role-name> .

All valid Java EE 7 application deployment descriptors must conform to the XML Schema definition, or the DTD or schema definition from a previous version of this specification. The deployment descriptor must be named META-INF/application.xml in the .ear file. Note that this name is case-sensitive. Java EE 7 Application XML Schema Structure shows a graphic representation of the structure of the Java EE application 7 XML Schema.

JavaEEapplication schema 7
Figure 1. Java EE 7 Application XML Schema Structure

Java EE 7 Application XML Schema Structure The XML Schema located at http://xmlns.jcp.org/xml/ns/javaee/application_7.xsd defines the XML grammar for a Java EE 7 application deployment descriptor.

Common Java EE 7 XML Schema Definitions

The XML Schema located at http://xmlns.jcp.org/xml/ns/javaee/javaee_7.xsd defines types that are used by many other Java EE 7 deployment descriptor schemas, both in this specification and in other specifications.

Java EE 7 Application Client XML Schema

The XML grammar for a Java EE 7 application client deployment descriptor is defined by the Java EE 7 application-client schema. The root element of the deployment descriptor for an application client is application-client . The content of the XML elements is in general case sensitive. This means, for example, that <res-auth>Container</res-auth> must be used, rather than <res-auth>container</res-auth> .

All valid application-client deployment descriptors must conform to the XML Schema definition, or to a DTD or schema definition from a previous version of this specification. The deployment descriptor must be named META-INF/application-client.xml in the application client’s .jar file. Note that this name is case-sensitive.

Java EE 7 Application Client XML Schema Structure shows the structure of the Java EE 7 application-client XML Schema. The Java EE 7 application-client XML Schema is located at http://xmlns.jcp.org/xml/ns/javaee/application-client_7.xsd .

JavaEEapplication client schema 7
Figure 2. Java EE 7 Application Client XML Schema Structure

Java EE 6 Schemas

Java EE 6 Application XML Schema

The XML grammar for a Java EE 6 application deployment descriptor is defined by the Java EE 6 application schema. The root element of the deployment descriptor for a Java EE application is application . The granularity of composition for Java EE application assembly is the Java EE module. A Java EE application deployment descriptor contains a name and description for the application and the URI of a UI icon for the application, as well a list of the Java EE modules that comprise the application. The content of the XML elements is in general case sensitive. This means, for example, that <role-name>Manager</role-name> is a different role than <role-name>manager</role-name> .

All valid Java EE 6 application deployment descriptors must conform to the XML Schema definition, or the DTD or schema definition from a previous version of this specification. The deployment descriptor must be named META-INF/application.xml in the .ear file. Note that this name is case-sensitive. Java EE 6 Application XML Schema Structure shows a graphic representation of the structure of the Java EE 6 application XML Schema.

JavaEEapplication schema
Figure 3. Java EE 6 Application XML Schema Structure

Java EE 6 Application XML Schema Structure The XML Schema located at http://java.sun.com/xml/ns/javaee/application_6.xsd defines the XML grammar for a Java EE 6 application deployment descriptor.

Common Java EE 6 XML Schema Definitions

The XML Schema located at http://java.sun.com/xml/ns/javaee/javaee_6.xsd defines types that are used by many other Java EE deployment descriptor schemas, both in this specification and in other specifications.

Java EE 6 Application Client XML Schema

The XML grammar for a Java EE 6 application client deployment descriptor is defined by the Java EE application-client schema. The root element of the deployment descriptor for an application client is application-client . The content of the XML elements is in general case sensitive. This means, for example, that <res-auth>Container</res-auth> must be used, rather than <res-auth>container</res-auth> .

All valid application-client deployment descriptors must conform to the XML Schema definition, or to a DTD or schema definition from a previous version of this specification. The deployment descriptor must be named META-INF/application-client.xml in the application client’s .jar file. Note that this name is case-sensitive.

Java EE 6 Application Client XML Schema Structure shows the structure of the Java EE 6 application-client XML Schema. The Java EE 6 application-client XML Schema is located at http://java.sun.com/xml/ns/javaee/application-client_6.xsd .

JavaEEapplication client schema
Figure 4. Java EE 6 Application Client XML Schema Structure

Java EE 5 Schemas

Java EE 5 Application XML Schema

The XML grammar for a Java EE 5 application deployment descriptor is defined by the Java EE 5 application schema. The root element of the deployment descriptor for a Java EE application is application . The granularity of composition for Java EE application assembly is the Java EE module. A Java EE application deployment descriptor contains a name and description for the application and the URI of a UI icon for the application, as well a list of the Java EE modules that comprise the application. The content of the XML elements is in general case sensitive. This means, for example, that <role-name>Manager</role-name> is a different role than <role-name>manager</role-name> .

A valid Java EE 5 application deployment descriptors must conform to this XML Schema definition.

The deployment descriptor must be named META-INF/application.xml in the .ear file. Note that this name is case-sensitive.

Java EE 5 Application XML Schema Structure shows a graphic representation of the structure of the Java EE 5 application XML Schema.

Platform Spec 17
Figure 5. Java EE 5 Application XML Schema Structure

The XML Schema located at http://java.sun.com/xml/ns/javaee/application_5.xsd defines the XML grammar for a Java EE 5 application deployment descriptor.

Common Java EE 5 XML Schema Definitions

The XML Schema located at http://java.sun.com/xml/ns/javaee/javaee_5.xsd defines types that are used by many other Java EE 5 deployment descriptor schemas, both in this specification and in other specifications.

Java EE 5 Application Client XML Schema

The XML grammar for a Java EE 5 application client deployment descriptor is defined by the Java EE 5 application-client schema. The root element of the deployment descriptor for an application client is application-client . The content of the XML elements is in general case sensitive. This means, for example, that <res-auth>Container</res-auth> must be used, rather than <res-auth>container</res-auth> .

All valid application-client deployment descriptors must conform to the XML Schema definition, or to a DTD or schema definition from a previous version of this specification. The deployment descriptor must be named META-INF/application-client.xml in the application client’s .jar file. Note that this name is case-sensitive.

Java EE 5 Application Client XML Schema Structure shows the structure of the Java EE 5 application-client XML Schema. The Java EE application-client XML Schema is located at http://java.sun.com/xml/ns/javaee/application-client_5.xsd .

Platform Spec 18
Figure 6. Java EE 5 Application Client XML Schema Structure

J2EE 1.4 Schemas

J2EE 1.4 Application XML Schema

This section provides the XML Schema for the J2EE 1.4 application deployment descriptor. The XML grammar for a J2EE 1.4 application deployment descriptor is defined by the J2EE:application schema. The granularity of composition for J2EE application assembly is the J2EE module. A J2EE:application deployment descriptor contains a name and description for the application and the URI of a UI icon for the application, as well a list of the J2EE modules that comprise the application. The content of the XML elements is in general case sensitive. This means, for example, that <role-name>Manager</role-name> is a different role than <role-name>manager</role-name> .

A valid J2EE 1.4 application deployment descriptor may conform to the XML Schema definition below. The deployment descriptor must be named META-INF/application.xml in the .ear file. Note that this name is case-sensitive.

J2EE 1.4 Application XML Schema Structure shows a graphic representation of the structure of the J2EE application XML Schema.

Platform Spec 19
Figure 7. J2EE 1.4 Application XML Schema Structure

The XML Schema that defines the XML grammar for a J2EE 1.4 application deployment descriptor is located at http://java.sun.com/xml/ns/j2ee/application_1_4.xsd .

Common J2EE 1.4 XML Schema Definitions

The XML Schema that defines types that are used by many other J2EE 1.4 deployment descriptor schemas, both in this specification and in other specifications, is located at http://java.sun.com/xml/ns/j2ee/j2ee_1_4.xsd .

J2EE 1.4 Application Client XML Schema

The XML grammar for a J2EE 1.4 application client deployment descriptor is defined by the J2EE 1.4 application-client schema. The root element of the deployment descriptor for an application client is application-client . The content of the XML elements is in general case sensitive. This means, for example, that <res-auth>Container</res-auth> must be used, rather than <res-auth>container</res-auth> .

A valid application-client deployment descriptors may conform to the following XML Schema definition. The deployment descriptor must be named META-INF/application-client.xml in the application client’s .jar file. Note that this name is case-sensitive.

J2EE 1.4 Application Client XML Schema Structure shows the structure of the J2EE 1.4 application-client XML Schema, which is available at http://java.sun.com/xml/ns/j2ee/application-client_1_4.xsd .

Platform Spec 22
Figure 8. J2EE 1.4 Application Client XML Schema Structure

J2EE 1.3 DTDs

J2EE:application 1.3 XML DTD

This section provides the XML DTD for the J2EE 1.3 application deployment descriptor. The XML grammar for a J2EE 1.3 application deployment descriptor is defined by the J2EE:application document type definition. The granularity of composition for J2EE application assembly is the J2EE module. A J2EE:application deployment descriptor contains a name and description for the application and the URI of a UI icon for the application, as well as a list of the J2EE modules that comprise the application. The content of the XML elements is in general case sensitive. This means, for example, that <role-name>Manager</role-name> is a different role than <role-name>manager</role-name> .

A valid J2EE 1.3 application deployment descriptor may contain the following DOCTYPE declaration:

 <!DOCTYPE application PUBLIC "-//Sun
Microsystems, Inc.//DTD J2EE Application 1.3//EN"
"http://java.sun.com/dtd/application_1_3.dtd">

The deployment descriptor must be named META-INF/application.xml in the .ear file.

J2EE:1.3 application XML DTD Structure_ shows a graphic representation of the structure of the J2EE:application XML DTD.

JavaEEapplication DTD
Figure 9. J2EE:1.3 application XML DTD Structure

The DTD that defines the XML grammar for a J2EE 1.3 application deployment descriptor is available at http://java.sun.com/dtd/application_1_3.dtd.

J2EE:application-client 1.3 XML DTD

This section describes the XML DTD for the J2EE 1.3 version of the application client deployment descriptor. The XML grammar for a J2EE 1.3 application client deployment descriptor is defined by the J2EE:application-client document type definition. The root element of the deployment descriptor for an application client is application-client . The content of the XML elements is in general case sensitive. This means, for example, that <res-auth>Container</res-auth> must be used, rather than <res-auth>container</res-auth> .

A valid application-client deployment descriptor may contain the following DOCTYPE declaration:

<!DOCTYPE application-client PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application Client 1.3//EN" " http://java.sun.com/dtd/application-client_1_3.dtd ">

The deployment descriptor must be named META-INF/application-client.xml in the application client’s .jar file.

J2EE:1.3 application-client XML DTD Structure shows the structure of the J2EE:application-client XML DTD, which is available at http://java.sun.com/dtd/application-client_1_3.dtd.

Platform Spec 23
Figure 10. J2EE:1.3 application-client XML DTD Structure

J2EE 1.2 DTDs

J2EE:application 1.2 XML DTD

This section provides the XML DTD for the J2EE 1.2 version of the application deployment descriptor. A valid J2EE 1.2 application deployment descriptor may contain the following DOCTYPE declaration:

<!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN" "http://java.sun.com/j2ee/dtds/application_1_2.dtd">

J2EE:1.2 application XML DTD Structure_ shows a graphic representation of the structure of the J2EE:application XML DTD.

Platform Spec 21
Figure 11. J2EE.1.2 application XML DTD Structure

The DTD that defines the XML grammar for a J2EE 1.2 application deployment descriptor is available at http://java.sun.com/j2ee/dtds/application_1_2.dtd.

J2EE:application-client 1.2 XML DTD

This section describes the XML DTD for the J2EE 1.2 version of the application client deployment descriptor. A valid application client deployment descriptor may contain the following DOCTYPE declaration:

<!DOCTYPE application-client PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application Client 1.2//EN" "http://java.sun.com/j2ee/dtds/application-client_1_2.dtd">

J2EE:1.2 application-client XML DTD Structure shows the structure of the J2EE:application-client XML DTD, which is available at http://java.sun.com/j2ee/dtds/application-client_1_2.dtd.

Platform Spec 24
Figure 12. J2EE:1.2 application-client XML DTD Structure