`
frank1998819
  • 浏览: 764547 次
  • 性别: Icon_minigender_1
  • 来自: 南京
文章分类
社区版块
存档分类

Java EE: XML Schemas for Java EE Deployment Descriptors

 
阅读更多

 

http://www.oracle.com/webfolder/technetwork/jsc/xml/ns/javaee/index.html#7

 

<!-- BEGIN PAGETITLE -->

Java EE: XML Schemas for Java EE Deployment Descriptors

<!-- END PAGETITLE --><!-- ============ --><!-- MAIN CONTENT --><!-- ============ -->

By Bill Shannon, Java EE Spec Lead, Oracle, April 30, 2013

 


 

Latest Version: http://xmlns.jcp.org/xml/ns/javaee/

 

Contents

 

- Introduction
- Using Java EE Schemas
- Java EE 7 Schema Resources
- Java EE 6 Schema Resources
- Java EE 5 Schema Resources
- J2EE 1.4 XML Schemas
- J2EE 1.3 DTDs
- J2EE 1.2 DTDs


Introduction

 


 

This document lists the document formats that will be used by the Java Platform, Enterprise Edition (Java EE) deployment descriptors described by Java EE 5 and later specifications. Prior to the J2EE 1.4 specifications, each Deployment Descriptor was required to be valid with respect to a specific DTD that describes the Deployment Descriptor. The DTDs are found in the J2EE section of this document. Starting with the J2EE 1.4 specification, each specification requires its Deployment Descriptor be validated with respect to an XML Schema that is listed in the J2EE 1.4 document and this document. Note that deployment descriptors defined by previous versions of the Java EE specification must also be supported by all current Java EE products, and must continue to be validated against the corresponding DTD or schema. Note that not all deployment descriptors are updated for every release of Java EE, in which case the deployment descriptor from the previous version is used.

 

The Java EE specification also requires support for the Java Persistence API. The Java Persistence API Schemas are available at http://xmlns.jcp.org/xml/ns/persistence/

 

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

Using Java EE Schemas

 


 

All Java EE 7 and newer Deployment Descriptor Schemas share the namespace http://xmlns.jcp.org/xml/ns/javaee/. Each schema document contains a version attribute that contains the version of the specification. For example, the XML Schema document for the Servlet specification contains the version attribute value "3.1", pertaining to the specific version of the specification as well as the schema document itself.

 

Each Java 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, servlet Deployment Descriptor instances that must be processed with the servlet 3.1 version must indicate the version within the version attribute of the instance document, for example, "3.1". 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 Java EE specification contains a set of deployment descriptor schemas to constitute the Java EE Schema. The common definitions are contained in the javaee_<version>.xsd document that may be included by several Java EE Deployment Descriptor schemas.

Java EE 7 Schema Resources

 


 

This table contains the XML Schema components for Java EE 7 schema. All new schemas are in the http://xmlns.jcp.org/xml/ns/javaee/ namespace. Most older schemas remain in the http://java.sun.com/xml/ns/javaee/ namespace.

 

 

 

Date PublishedFile NameDescriptionStatus
April 30, 2013 application_7.xsd Application schema Final Release
April 30, 2013 application-client_7.xsd Application Client schema Final Release
April 30, 2013 batchXML_1_0.xsd Schema for batch.xml-based artifact loading in Java Batch Final Release
April 30, 2013 beans_1_1.xsd Contexts and Dependency Injection schema Final Release
April 30, 2013 connector_1_7.xsd Java EE Connector schema Final Release
April 30, 2013 ejb-jar_3_2.xsd Enterprise JavaBeans Deployment Descriptor Schema Final Release
April 30, 2013 javaee_7.xsd Java EE 7 definitions file that contains common schema components Final Release
April 30, 2013 javaee_web_services_1_4.xsd Web services schema Final Release
April 30, 2013 javaee_web_services_client_1_4.xsd Web services client schema Final Release
April 30, 2013 jobXML_1_0.xsd Batch Job Specification Language (JSL) schema Final Release
April 30, 2013 jsp_2_3.xsd JavaServer Pages Deployment Descriptor schema Final Release
April 30, 2013 permissions_7.xsd Java EE application permissions schema Final Release
April 30, 2013 web-app_3_1.xsd Web Application Deployment Descriptor schema Final Release
April 30, 2013 web-common_3_1.xsd Web Application Deployment Descriptor common definitions schema Final Release
April 30, 2013 web-fragment_3_1.xsd Web Application Deployment Descriptor fragment schema Final Release
April 30, 2013 web-facelettaglibrary_2_2.xsd JavaServer Faces Facelet Tag Library schema Final Release
April 30, 2013 web-facesconfig_2_2.xsd JavaServer Faces Application Configuration File schema Final Release
April 30, 2013 web-partialresponse_2_2.xsd JavaServer Faces partial response schema Final Release
July 1, 2009 web-facesuicomponent_2_0.xsd JavaServer Faces UI Component Configuration schema Final Release
December 10, 2009 web-jsptaglibrary_2_1.xsd JSP Taglibrary Deployment Descriptor schema Final Release
November 21, 2007 javaee_web_services_metadata_handler_2_0.xsd Web services schema Final Release
- http://www.w3.org/2001/xml.xsd The Java EE schemas use some common definitions provided and published by W3C -

 

 



Java EE 6 Schema Resources

 


 

This table contains the XML Schema components for Java EE 6 schema. All of these schemas are in the http://java.sun.com/xml/ns/javaee namespace.

 

 

 

Date PublishedFile NameDescriptionStatus
December 10, 2009 application_6.xsd Application schema Final Release
December 10, 2009 application-client_6.xsd Application Client schema Final Release
December 10, 2009 beans_1_0.xsd Contexts and Dependency Injection schema Final Release
December 10, 2009 connector_1_6.xsd Java EE Connector schema Final Release
December 10, 2009 ejb-jar_3_1.xsd Enterprise JavaBeans Deployment Descriptor Schema Final Release
December 10, 2009 javaee_6.xsd Java EE 6 definitions file that contains common schema components Final Release
December 10, 2009 javaee_web_services_1_3.xsd Web services schema Final Release
December 10, 2009 javaee_web_services_client_1_3.xsd Web services client schema Final Release
December 10, 2009 jsp_2_2.xsd JavaServer Pages Deployment Descriptor schema Final Release
December 10, 2009 web-app_3_0.xsd Web Application Deployment Descriptor schema Final Release
December 10, 2009 web-common_3_0.xsd Web Application Deployment Descriptor common definitions schema Final Release
December 10, 2009 web-fragment_3_0.xsd Web Application Deployment Descriptor fragment schema Final Release
July 1, 2009 web-facelettaglibrary_2_0.xsd JavaServer Faces Facelet Tag Library schema Final Release
July 1, 2009 web-facesconfig_2_0.xsd JavaServer Faces Application Configuration File schema Final Release
July 1, 2009 web-facesuicomponent_2_0.xsd JavaServer Faces UI Component Configuration schema Final Release
July 1, 2009 web-partialresponse_2_0.xsd JavaServer Faces partial response schema Final Release
December 10, 2009 web-jsptaglibrary_2_1.xsd JSP Taglibrary Deployment Descriptor schema Final Release
November 21, 2007 javaee_web_services_metadata_handler_2_0.xsd Web services schema Final Release
- http://www.w3.org/2001/xml.xsd The Java EE schemas use some common definitions provided and published by W3C -

 

 



Java EE 5 Schema Resources

 


 

This table contains the XML Schema components for Java EE 5 schema. All of these schemas are in the http://java.sun.com/xml/ns/javaee namespace.

 

 

 

Date PublishedFile NameDescriptionStatus
May 2, 2006 application_5.xsd Application schema Final Release
May 2, 2006 application-client_5.xsd Application Client schema Final Release
May 2, 2006 ejb-jar_3_0.xsd Enterprise JavaBeans Deployment Descriptor Schema Final Release
May 2, 2006 javaee_5.xsd Java EE 5 definitions file that contains common schema components Final Release
May 2, 2006 javaee_web_services_1_2.xsd Web services schema Final Release
May 2, 2006 javaee_web_services_client_1_2.xsd Web services client schema Final Release
May 2, 2006 jsp_2_1.xsd JavaServer Pages Deployment Descriptor Schema Final Release
May 2, 2006 web-app_2_5.xsd Servlet Deployment Descriptor Schema Final Release
July 1, 2008 web-facesconfig_1_2.xsd JavaServer Faces Application Configuration File schema Final Release
May 2, 2006 web-jsptaglibrary_2_1.xsd JSP Taglibrary Deployment Descriptor Schema Final Release
November 21, 2007 javaee_web_services_metadata_handler_2_0.xsd Java EE Web Services Metadata Handler Chain Schema Final Release
- http://www.w3.org/2001/xml.xsd The Java EE schemas use some common definitions provided and published by W3C -

 

 



J2EE 1.4 XML Schemas

 


 

XML Schemas specified by the J2EE 1.4 specification are available at http://java.sun.com/xml/ns/j2ee/.

J2EE 1.3 DTDs

 


 

DTDs specified by the J2EE 1.3 specification are available at http://java.sun.com/dtd/.

J2EE 1.2 DTDs

 


 

DTDs specified by the J2EE 1.2 specification are available at http://java.sun.com/j2ee/dtds/.

<!-- =================== --><!-- END OF MAIN CONTENT --><!-- =================== -->

分享到:
评论

相关推荐

    The Java EE 5Tutorial

    10. **Deployment Descriptor**:部署描述符(如web.xml和ejb-jar.xml)是Java EE应用配置的关键部分,定义了应用的行为、依赖和组件设置。 通过学习《Java EE 5 Tutorial》,开发者不仅可以掌握Java EE 5的核心...

    The Java EE 6 Tutorial Basic Concepts 4th Edition

    Java EE Application Assembly and Deployment 17 Packaging Applications 17 Development Roles 19 Java EE 6 APIs 22 Java EE 6 APIs in the Java Platform, Standard Edition 6.0 31 GlassFish Server Tools...

    Two Scoops of Django 1.11: Best Practices for the Django Web Framework.pdf

    Chapter 29: Deployment: Platforms as a Service Chapter 30: Deploying Django Projects Chapter 31: Continuous Integration Chapter 32: The Art of Debugging Chapter 33: Where and How to Ask Django ...

    Java EE 6 规范

    •Java EE Deployment 1.2 •JACC 1.4 •JASPIC 1.0 •JSP Debugging 1.0 •JSTL 1.2 •Web Services Metadata 2.1 •JSF 2.0 •Common Annotations 1.1 •Java Persistence 2.0 •Bean Validation 1.0 •Managed ...

    Eclipse JAVA EE 创建Web工程

    首先,确保你已经安装了Eclipse IDE for Java EE Developers版本,这是专门为Java EE开发设计的集成开发环境(IDE)。如果你还没有安装,可以从Eclipse官方网站下载并按照指示进行安装。 1. **启动Eclipse并创建新...

    Java.7.A.Comprehensive.Tutorial

    Designed as a guidebook for those who want to become a Java developer, Java 7: A Comprehensive Tutorial discusses the essential Java programming topics that you need to master in order teach other ...

    Java EE 6 Overview 新特性

    JAXR 和 Java EE Application Deployment (JSR-88) 也因应用有限而被剔除。 - **Profile的引入**:鉴于Java EE 过于庞大,许多中小规模的应用并不需要全部功能。因此,Java EE 6 引入了 Profile 的概念,即根据...

    Java EE规范各个版本的比较V1.0.doc

    - **Administration and Deployment**:Apusic提供了基于Web的管理中心和Eclipse基础的GUI管理控制台,支持Java EE Management(JSR 077)和Application Deployment(JSR 088)。 这些版本之间的对比展示了Java EE...

    java源码:一个较初级的EJB商业应用的例子.rar

    【标题】中的“java源码:一个较初级的EJB商业应用的例子”表明这是一个关于Java编程语言的项目,特别地,它涉及到企业级JavaBeans(EJB)技术,这是一种用于构建可部署在Java EE(Java Platform, Enterprise ...

    Java.EE.Development.with.Eclipse.2nd.Edition.178528534

    Java EE is a technology for developing enterprise class, scalable applications. With recent changes to Java EE specifications, JEE application development has become a lot simpler. However, recent ...

    Apress.Begining EJB3 Java EE 7 Edition.2013

    ### 企业级应用开发:《Apress.Begining EJB3 Java EE 7 Edition.2013》核心知识点解析 #### 一、书籍概述 **标题与描述:**《Apress.Begining EJB3 Java EE 7 Edition.2013》是一本面向初学者介绍如何使用EJB3...

    Data Analytics with Hadoop: An Introduction for Data Scientists

    "Data Analytics with Hadoop: An Introduction for Data Scientists" ISBN: 1491913703 | 2016 | PDF | 288 pages | 7 MB Ready to use statistical and machine-learning techniques across large data sets? ...

    《Java EE 7权威指南》

    Java EE 7(Java Platform, Enterprise Edition 7)是Java平台的一个版本,专注于为企业级应用程序开发提供服务。这个版本在2013年发布,带来了许多改进和新特性,旨在提高开发效率、简化API和增强可移植性。《Java ...

    java源码:各种EJB之间的调用示例.zip

    6. **EJB 3.0及其后续版本**:自EJB 3.0以来,EJB的使用变得更加简单和轻量级,引入了注解来减少XML配置,并且可以与其他Java Persistence API(JPA)和JSF(JavaServer Faces)等技术更好地集成。 7. **依赖注入...

    310-091 SCBCD5 sun java

    8. **Deployment Descriptors**:理解XML配置文件(如web.xml和ejb-jar.xml)的作用,用于配置应用程序的行为和组件。 9. **Testing and Debugging**:了解如何在Java EE环境中进行单元测试、集成测试以及调试技巧...

    一些Java EE面试问答整理

    Java EE,全称为Java Platform, Enterprise Edition,是一个用于构建企业级Web应用程序的框架。它包含了多种服务、API和协议,旨在简化开发、部署和管理分布式应用程序的过程。Java EE面试主要考察开发者对这个平台...

    用JSR-88往Java EE应用服务器上部署应用

    JSR-88 就是关于“Java Deployment ToolKit”的规范,它提供了一套API,使得开发者可以编写程序来自动部署Java EE应用程序到应用服务器,如Tomcat、WebLogic、GlassFish等。 **描述解析:** 描述中提到的“NULL”...

Global site tag (gtag.js) - Google Analytics