Skip to main content

Jakarta EE XML Schemas

Content

Introduction

This document lists the document formats that will be used by Jakarta EE

The Jakarta EE platform specification also requires support for Jakarta Persistence and Jakarta Bean Validation. The Jakarta Persistence Schemas are available at http://jakarta.ee/xml/ns/persistence/. The Jakarta Bean Validation Schemas are available at https://jakarta.ee/xml/ns/validation/.

This document describes how to use the Jakarta EE schemas and provides a list of XML Schemas for each deployment descriptor.

List of namespaces.

Using Jakarta EE Schemas

All Jakarta EE 9 and newer Deployment Descriptor Schemas share the namespace http://jakarta.ee/xml/ns/jakartaee. Each schema document contains a version attribute that contains the version of the specification. For example, the XML Schema document for the Jakarta Servlet specification contains the version attribute value “5.0”, pertaining to the specific version of the specification as well as the schema document itself.

Each Jakarta EE XML Schema document’s file name contains the specific version of the related specification. This is introduced for convenience to locate specific versions of the schema documents. However, Deployment Descriptor instances are not required to refer to a specific file. Instead, an instance must specify the version of the corresponding specification by using the version attribute. For example, Jakarta servlet Deployment Descriptor instances that must be processed with the servlet 5.0 version must indicate the version within the version attribute of the instance document, for example, “5.0”. The Deployment Descriptor processors use the version information to choose the appropriate version of the schema document(s) to process the Deployment Descriptor instances.

A specific version of the Jakarta EE specification contains a set of deployment descriptor schemas to constitute the Jakarta EE Schema. The common definitions are contained in the jakartaee_.xsd document that may be included by several Jakarta EE Deployment Descriptor schemas.

Jakarta EE 11

File Name Description Status
beans_4_1.xsd XML Schema for the Jakarta Contexts and Dependency Injection XML file (beans.xml) Draft

Dependent Namespaces

Jakarta EE 10

File Name Description Status
jakartaee_10.xsd Common shareable schemas of Jakarta EE deployment descriptors Final
jakartaee_web_services_metadata_handler_3_0.xsd XML Schema for the Handler chain configuration descriptor Final
batchXML_2_0.xsd XML Schema for the Jakarta Batch artifacts XML file (batch.xml) Final
beans_4_0.xsd XML Schema for the Jakarta Contexts and Dependency Injection XML file (beans.xml) Final
jobXML_2_0.xsd XML Schema for the Jakarta Batch Job Specification Language (JSL) Final
jsp_3_1.xsd XML Schema for the Jakarta Server Pages deployment descriptor Final
application_10.xsd XML Schema for the Application deployment descriptor Final
application-client_10.xsd XML Schema for the Application client deployment descriptor Final
connector_2_1.xsd XML Schema for the Jakarta Connectors deployment descriptor Final
ejb-jar_4_0.xsd XML Schema for the Enterprise Beans deployment descriptor Final
jakartaee_web_services_2_0.xsd XML Schema for the Web Services deployment descriptor Final
jakartaee_web_services_client_2_0.xsd XML Schema for the Web Services Client deployment descriptor Final
permissions_10.xsd XML Schema for the application or module declared permissions Final
web-app_6_0.xsd XML Schema for the Jakarta Servlet deployment descriptor (web.xml) Final
web-fragment_6_0.xsd XML Schema for the Jakarta Servlet deployment descriptor (web-fragment.xml) Final
web-common_6_0.xsd XML Schema common for the various Servlet deployment descriptors Final
web-facesconfig_4_0.xsd XML Schema for the Jakarta Server Faces Application Configuration File Final
web-facelettaglibrary_4_0.xsd XML Schema for the Jakarta Tag Libraries in the Jakarta Faces Standard Facelets View Declaration Language (Facelets VDL) Final
web-partialresponse_4_0.xsd XML Schema for the Jakarta Faces Partial Response used in JSF Ajax frameworks Final
web-jsptaglibrary_3_1.xsd XML Schema for the Jakarta Server Pages Taglibrary descriptor Final

Dependent Namespaces

Jakarta EE 9

File Name Description Status
jakartaee_9.xsd Common shareable schemas of Jakarta EE deployment descriptors Final
jakartaee_web_services_metadata_handler_3_0.xsd XML Schema for the Handler chain configuration descriptor Final
batchXML_2_0.xsd XML Schema for the Jakarta Batch artifacts XML file (batch.xml) Final
beans_3_0.xsd XML Schema for the Jakarta Contexts and Dependency Injection XML file (beans.xml) Final
jobXML_2_0.xsd XML Schema for the Jakarta Batch Job Specification Language (JSL) Final
jsp_3_0.xsd XML Schema for the Jakarta Server Pages deployment descriptor Final
application_9.xsd XML Schema for the Application deployment descriptor Final
application-client_9.xsd XML Schema for the Application client deployment descriptor Final
connector_2_0.xsd XML Schema for the Jakarta Connectors deployment descriptor Final
ejb-jar_4_0.xsd XML Schema for the Jakarta Enterprise Beans deployment descriptor Final
jakartaee_web_services_2_0.xsd XML Schema for the Web Services deployment descriptor Final
jakartaee_web_services_client_2_0.xsd XML Schema for the Web Services Client deployment descriptor Final
permissions_9.xsd XML Schema for the application or module declared permissions Final
web-app_5_0.xsd XML Schema for the Jakarta Servlet deployment descriptor (web.xml) Final
web-fragment_5_0.xsd XML Schema for the Jakarta Servlet deployment descriptor (web-fragment.xml) Final
web-common_5_0.xsd XML Schema common for the various Jakarta Servlet deployment descriptors Final
web-facesconfig_3_0.xsd XML Schema for the Jakarta Faces Application Configuration File Final
web-facelettaglibrary_3_0.xsd XML Schema for the Jakarta Tag Libraries in the Jakarta Faces Standard Facelets View Declaration Language (Facelets VDL) Final
web-partialresponse_3_0.xsd XML Schema for the Jakarta Faces Partial Response used in JSF Ajax frameworks Final
web-jsptaglibrary_3_0.xsd XML Schema for the Jakarta Server Pages Taglibrary descriptor Final

Dependent Namespaces

Jakarta EE 8

See http://xmlns.jcp.org/xml/ns/javaee#8 for all Jakarta EE 8 Schemas.

Back to the top