Java EE 7: Key features, Specifications, Projects, Mailing List Archives(转)By arungupta on Dec 03,
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)
The main theme is to easily run applications on private orpublic cloudsThe platform will define application metadata descriptor todescribe PaaS execution environment such as multi-tenancy,resources sharing, quality-of-service, and dependencies betweenapplicationsEmbrace latest standards like HTML5, WebSocket, JSON and havea standards-based API for each one of themRemove inconsistencies between Managed Beans, EJB, Servlets,JSF, CDI, and JAX-RSPossible inclusion of JAX-RS 2.0 in the Web Profile, revisedJMS 2.0 API
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 listeners
StatusApproved 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 withresources
Form 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 JCP
Spec 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.net
Java Message Server 2.0 (JSR 343)
Ease of development - changes to the JMS programming model tomake the application development simpler and easier
Remove/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 artifacts
Support 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)
Enhancements to the EJB architecture to enable PaaS, such asmulti-tenancyFactorization of container-managed transactions to use outsideEJBFurther use of annotationsAlilgnment and integration with other specifications in theplatform
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 archive
Injection 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 composition
StatusApproved 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.cache
StatusApproved 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)
API that can be used by applications and Java EE containers tooffload the responsibility of statement management into thirdparty providers with different QoS characteristicsJava SE-based callers can access the state data by queryingthe state providersProviders with different QoS can be added and API callers canquery to meet their criteria
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 programmingmodel
Package: 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.concurrent
StatusApproved 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.net
The 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 tracker
And 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