Java EE 7: Key features, Specifications, Projects, Mailing List Archives(转)
By arungupta on Dec 03, 2011
An update and summary of the key features of differentspecifications in the Java EE 7 platform ...
Java EE 7 (JSR342)
Technology Refresh for several existing technologies (more onthis below) and possible inclusion of Concurrency Utilities forJava EE (JSR 236) and JCache (JSR 107)Status
Approved by the JCP
Spec lead: Linda DeMichiel, Bill Shannon (Oracle)Project: javaee-spec.java.netMailing Lists Archive: jsr342-expert@javaee-spec.java.net,users@javaee-spec.java.net
JPA 2.1 (JSR338)
Support for multi-tenancySupport for stored procedures and vendor functionUpdate and Delete Critieria queriesSupport for schema generationPersistence Context synchronizationCDI injection into listenersStatusApproved by the JCP
Spec lead: Linda DeMichiel (Oracle)Project: jpa-spec.java.netMailing Lists Archive: jsr338-experts@jpa-spec.java.net,users@jpa-sepc.java.net.
JAX-RS 2.0 (JSR339)
Client API - low level using builder pattern and possibly ahigher level on top of thatHypermedia - easily create and process links associated withresourcesForm or Query parameter validation using Bean ValidationCloser integration with @Inject, etcServer-side asynchronous request processingServer-side content negotiation using "qs"
Status
Approved by the JCP, Early Draft Available,DraftJavadocs
Spec lead: Santiago Pericas-Geersten, Marek Potociar(Oracle)
Project: jaxrs-spec.java.net
Mailing List Archive: jsr339-experts@jax-rs-spec.java.net,users@jax-rs-spec.java.net
Servlets 3.1 (JSR 340)
Optimize the PaaS model for Web applicationsMulti tenancy for security, session, resources, etc.Asynchronous IO based on NIO2Simplfiied asynchronous ServletsUtilize Java EE concurrency utilitiesEnable support for WebSocketsStatus:Approved by the JCPSpec lead: Shing-Wai Chan, Rajiv Mordani (Oracle)Project: servlet-spec.java.netMailing List Archive: jsr340-experts@servlet-spec.java.net,users@servlet-spec.java.net
Expression Language 3.0 (JSR 341)
Separate ELContext into parsing and evaluation contextsCustomizable EL coercion rulesReference static methods and members directly in ELexpressionsAdding operators like equality, string concatenation, andsizeof etc.Integration with CDI such as generating eventsbefore/during/after the expressions are evaluatedStatusApproved by the JCPSpec lead: Kin-man Chung (Oracle)Project: el-spec.java.netMailing List Archive: jsr-341-experts@el-spec.java.net,users@el-spec.java.netJava Message Server 2.0 (JSR 343)
Ease of development - changes to the JMS programming model tomake the application development simpler and easierRemove/Clarify ambiguities in the existing specificationIntegration with CDIClarification of the relationship between JMS and other JavaEE specsA new mandatory API to allow any JMS provider to be integratedwith any Java EE containerMulti-tenancy and other cloud-related features from theplatform
StatusApproved by the JCP
Spec lead: Nigel Deakin (Oracle)Project: jms-spec.java.netMailing List Archive: jsr-343-experts@jms-spec.java.net,users@jms-spec.java.net
Java Server Faces 2.2 (JSR 344)
Ease of Development - making configuration options dynamic,make cc:interface in composite components optional, shorthandURLs for Facelet tag libraries, integration with CDI, OSGisupport for JSF artifactsSupport implementation of Portlet Bridge 2.0 (JSR 329)Support for HTML5 features like HTML5 Forms, Metadata, Headingand Section content modelFlow management, Listener for page navigation events, and newcomponents like FileUpload and BackButtonStatusApproved by the JCP, Early Draft Available
Spec lead: Ed Burns (Oracle)Project: javaserverfaces-spec-public.java.netMailing List Archive: jsr344-experts@javaserverfaces-spec-public.java.net,users@javaserverfaces-spec-public.java.net
EJB 3.2 (JSR 345)
StatusApproved by the JCPSpec lead: Marina Vatkina (Oracle)Project: ejb-spec.java.netMailing List Archive: jsr-345-experts@ejb-spec.java.net,users@ejb-spec.java.net
CDI 1.1 (JSR346, moredetails)
Global ordering of interceptors and decoratorsAPI for managing built-in contextsEmbedded mode to allow startup outside Java EE containerDeclarative control over which packages/beans are scanned inan archiveInjection for static members such as loggersSend Servlet events as CDI eventStatus
Approved by the JCP, Early Draft Available
Spec lead: Pete Muir (RedHat)Project: CDI1.1 Development
Mailing List Archive: cdi-dev,@jsr346
Bean Validation 1.1 (JSR 349)
Integration with other Java EE specsJAX-RS: Validate parameters and return values on HTTPcallsJAXB: Convert constraints into XML schema descriptorMethod level validationApply constraints on group collectionExtend the model to support AND and OR style compositionStatusApproved by the JCP
Spec lead: Emmanuel Bernard (RedHat)Project: beanvalidation.org
Mailing List Archive: beanvalidation-dev
JCache (JSR 107)
API and semantics for temporary, in-memory caching of Javaobjects, including object creation, shared access, spooling,invalidation, and consistency across JVMsPackage: javax.cacheStatusApproved by the JCP
Spec lead: Yannis Cosmadopoulos, Cameron Purdy (Oracle) andGregory Luck (Software AG)Project page: jsr107spec
Mailing List Archive: jsr107@googlegroups.com
State Management (JSR 350)
Package: javax.state and javax.state.provider
StatusApproved by the JCPSpec lead: Mitch Upton (Oracle)Project page: java-state-management.java.net
Mailing List Archive: jsr-350-experts@java-state-management.java.net,jsr-350-users@java-state-management.java.net
Batch Application for the JavaPlatform (JSR 352)
Programming model for batch applications and a runtime forscheduling and executing jobsDefines Batch Job, Batch Job Step, Batch Application, BatchExecutor, and Batch Job Manager for the standard programmingmodelPackage: javax.batchStatusApproved by the JCPSpec lead: Chris Vignola (IBM)Project page: jbatch.java.net
Mailing List Archive: issues@jbatch.java.net
Concurrency Utilities for JavaEE (JSR 236)
Provides a clean, simple, independent API by building on JSR166, making it appropriate for use within any Java EE contianer.Package: javax.util.concurrentStatusApproved by the JCPSpec lead: Anthony Lai, Naresh Revanuru (Oracle)Project page:
Mailing List Archive:
Java API for JSON Processing (JSR 353)
Produce and consume JSON text in a streaming fashion(similar to StAX API for XML) Build a Java object model for JSON text using API classes(similar to DOM API for XML)StatusUnder JCP ReviewSpec lead: Jitendra KotamrajuProject Page: json-processing-specMailing List Archive: jsr353-experts@json-processing-spec.java.net, users@json-processing-spec.java.netThe Expert Groups for most of the JSRs have already been formedbut you can still participate by joining the publicly visiblealiases and reviewing the drafts. All the JSRs following JCP 2.8are run more transparently and some of the highlights on thatfront are:
Names of the EG members are publicly visibleEG business reported on publicly readable aliasSchedule is public, current and updated regularlyPublic can read/write to a wiki to discuss the status so farDiscussion board on jcp.orgPublic read-only issue trackerAnd you know all of this will be integrated in GlassFish - the ReferenceImplementation for Java EE 7!
Check out some early work at glassfish.org/javaone2011.
?
?
原文地址:https://blogs.oracle.com/arungupta/entry/java_ee_7_key_features