An update and summary of the key features of different
specifications in the Java EE 7 platform ...
Java EE 7 (JSR
342
)
- The main theme is to easily run applications on private or
public clouds
- The platform will define application metadata descriptor to
describe PaaS execution environment such as multi-tenancy,
resources sharing, quality-of-service, and dependencies between
applications
- Embrace latest standards like HTML5, WebSocket, JSON and have
a standards-based API for each one of them
- Remove inconsistencies between Managed Beans, EJB, Servlets,
JSF, CDI, and JAX-RS
- Possible inclusion of JAX-RS 2.0 in the Web Profile, revised
JMS 2.0 API
- Technology Refresh for several existing technologies (more on
this below) and possible inclusion of Concurrency Utilities for
Java EE (JSR 236) and JCache (JSR 107)
- Status
JPA 2.1 (JSR
338
)
- Support for multi-tenancy
- Support for stored procedures and vendor function
- Update and Delete Critieria queries
- Support for schema generation
- Persistence Context synchronization
- CDI injection into listeners
- Status
JAX-RS 2.0 (JSR
339
)
- Client API - low level using builder pattern and possibly a
higher level on top of that
- Hypermedia - easily create and process links associated with
resources
- Form or Query parameter validation using Bean Validation
- Closer integration with @Inject, etc
- Server-side asynchronous request processing
- Server-side content negotiation using "qs"
- Status
Servlets 3.1 (JSR 340
)
- Optimize the PaaS model for Web applications
- Multi tenancy for security, session, resources, etc.
- Asynchronous IO based on NIO2
- Simplfiied asynchronous Servlets
- Utilize Java EE concurrency utilities
- Enable support for WebSockets
- Status:
Expression Language 3.0 (JSR 341
)
- Separate ELContext into parsing and evaluation contexts
- Customizable EL coercion rules
- Reference static methods and members directly in EL
expressions
- Adding operators like equality, string concatenation, and
sizeof etc.
- Integration with CDI such as generating events
before/during/after the expressions are evaluated
- Status
Java Message Server 2.0 (JSR 343
)
- Ease of development - changes to the JMS programming model to
make the application development simpler and easier
- Remove/Clarify ambiguities in the existing specification
- Integration with CDI
- Clarification of the relationship between JMS and other Java
EE specs
- A new mandatory API to allow any JMS provider to be integrated
with any Java EE container
- Multi-tenancy and other cloud-related features from the
platform
- Status
Java Server Faces 2.2 (JSR 344
)
- Ease of Development - making configuration options dynamic,
make cc:interface in composite components optional, shorthand
URLs for Facelet tag libraries, integration with CDI, OSGi
support for JSF artifacts
- Support implementation of Portlet Bridge 2.0 (JSR 329)
- Support for HTML5 features like HTML5 Forms, Metadata, Heading
and Section content model
- Flow management, Listener for page navigation events, and new
components like FileUpload and BackButton
- Status
EJB 3.2 (JSR 345
)
- Enhancements to the EJB architecture to enable PaaS, such as
multi-tenancy
- Factorization of container-managed transactions to use outside
EJB
- Further use of annotations
- Alilgnment and integration with other specifications in the
platform
- Status
CDI 1.1 (JSR
346
, more
details
)
- Global ordering of interceptors and decorators
- API for managing built-in contexts
- Embedded mode to allow startup outside Java EE container
- Declarative control over which packages/beans are scanned in
an archive
- Injection for static members such as loggers
- Send Servlet events as CDI event
- Status
Bean Validation 1.1 (JSR 349
)
- Integration with other Java EE specs
- JAX-RS: Validate parameters and return values on HTTP
calls
- JAXB: Convert constraints into XML schema descriptor
- Method level validation
- Apply constraints on group collection
- Extend the model to support AND and OR style composition
- Status
JCache (JSR 107
)
- API and semantics for temporary, in-memory caching of Java
objects, including object creation, shared access, spooling,
invalidation, and consistency across JVMs
- Package: javax.cache
- Status
- Approved by the JCP
- Spec lead: Yannis Cosmadopoulos, Cameron Purdy (Oracle) and
Gregory 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 to
offload the responsibility of statement management into third
party providers with different QoS characteristics
- Java SE-based callers can access the state data by querying
the state providers
- Providers with different QoS can be added and API callers can
query to meet their criteria
- Package: javax.state and javax.state.provider
- Status
Batch Application for the Java
Platform (
JSR 352
)
- Programming model for batch applications and a runtime for
scheduling and executing jobs
- Defines Batch Job, Batch Job Step, Batch Application, Batch
Executor, and Batch Job Manager for the standard programming
model
- Package: javax.batch
- Status
Concurrency Utilities for Java
EE (
JSR 236
)
- Provides a clean, simple, independent API by building on JSR
166, making it appropriate for use within any Java EE contianer.
- Package: javax.util.concurrent
- Status
- Approved by the JCP
- Spec 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)
- Status
The Expert Groups for most of the JSRs have already been formed
but you can still participate by joining the publicly visible
aliases and reviewing the drafts. All the JSRs following JCP 2.8
are run more transparently and some of the highlights on that
front are:
- Names of the EG members are publicly visible
- EG business reported on publicly readable alias
- Schedule is public, current and updated regularly
- Public can read/write to a wiki to discuss the status so far
- Discussion board on jcp.org
- Public read-only issue tracker
And you know all of this will be integrated in GlassFish
- the Reference
Implementation for Java EE 7!
Check out some early work at glassfish.org/javaone2011
.
原文地址:https://blogs.oracle.com/arungupta/entry/java_ee_7_key_features
分享到:
相关推荐
《Ocean12 Mailing List Manager Pro v1.04:高效邮件管理的商业解决方案》 在信息化时代,电子邮件已经成为企业与客户沟通的重要桥梁。而有效的邮件管理则成为了提高工作效率、维护良好客户关系的关键。Ocean12 ...
开源项目-amyboyd-go-mailgun-mailing-list-api.zip,I have a static HTML blog, and needed a way to subscribe users to a newsletter, so I made this in Go
以及包含在projects/local/找到的包含SmartOS特定功能的实用程序集合。内容社区您可以通过多种方式与SmartOS社区进行交互。 这包括: smartos-讨论。 如果您希望将邮件发送到列表,则需要加入,但是您可以在线查看...
本篇文章将深入探讨"Ocean12 Mailing List Manager Pro v1.04"这款基于ASP的邮件列表管理系统的源码,帮助开发者理解其工作原理,以及如何利用ASP进行高效的数据管理和用户互动。 "Ocean12 Mailing List Manager ...
libusb is a library for USB device access from Linux, macOS, Windows, OpenBSD/NetBSD, Haiku and Solaris userspace....(Please use the mailing list rather than mailing developers directly)
7. **部署与配置**:部署PHP Mailing List Manager 需要一个运行PHP和MySQL的服务器环境。安装过程相对简单,通常涉及上传源代码、配置数据库连接参数以及设置必要的服务器权限。 总的来说,PHP Mailing List ...
《Outlook宏与开源软件:mailinglist2bcc的运用详解》 在现代办公环境中,高效管理和使用电子邮件是一项至关重要的任务。"mailinglist2bcc"是一个开源项目,旨在简化Outlook用户在发送邮件时向多个联系人添加密件...
Lambda Sendgrid邮件列表其余API ... $ wget -P src/mailing-api https://raw.githubusercontent.com/ndethore/lambda-sendgrid-mailinglist-api/master/app.js 安装 CLI帮助器: npm install -g
And feel free to ask questions on the mailing list if you encounter any problems with the software! I am sure it is far from perfect... Downloads To install manually the JAR files, obtain the ...
$ mailingList -> setDbConfig ( $ db );订阅新电子邮件 $ mailingList -> subscribe ( 'me@example.com' );$ mailingList -> subscribe ( 'you@example.com' );取消订阅现有电子邮件 $ mailingList -> unsubsc
Sendgrid邮件列表API 使用和快速部署无服务器的邮件列表订阅...wt create https://raw.githubusercontent.com/ndethore/webtask-sendgrid-mailinglist-api/app.js --name mailing-api --secret SENDGRID_API_KEY=<key>
7. Searching with SearchTerm 21 8. Exercises 22 9. Wrapup 32 Fundamentals of the JavaMail API Page 1 Presented by developerWorks, your source for great tutorials ibm.com/developerWorks ...
:author: Benoît Allard :version: 0.5dev :license: LGPLv3+ :bug tracker: :mailing list: (subscribe_,存档_) :构建状态:|droneio_badge|_ .. _subscribe: mailto: ?subject=subscribe .. _archive: .. |...
gRPC-Java works with JDK 7. gRPC-Java clients are supported on Android API levels 14 and up (Ice Cream Sandwich and later). Deploying gRPC servers on an Android device is not supported. TLS usage ...
**Ozymandias Mailing List Archiver 开源项目详解** Ozymandias Mailing List Archiver 是一个专门设计用于管理和归档邮件列表的开源软件。它允许用户方便地收集、组织并导出邮件列表中的消息,以便于日后查询、...
标题中的"Enzo4 Mailing List-开源"指的是一个名为Enzo4的开源邮件列表管理系统。这个系统专门设计用于管理电子邮件订阅,允许用户通过Web界面进行订阅、取消订阅以及创建账户等操作。作为开源软件,Enzo4的源代码对...
Features Automatic mapping from Java to native functions, with simple mappings for all primitive data types Runs on most platforms which support Java Automatic conversion between C and Java ...
Undertow Undertow is a Java web server based on non-blocking IO. It consists of a few different parts: ...Mailing List: undertow-dev@lists.jboss.org http://lists.jboss.org/mailman/listinfo/undertow-dev