Cloud/Java EE
Looking Ahead to Java EE 7
Get educated about Java EE 7 JSRs.
ARUN GUP TA
With the release of Java EE 7 scheduled for the second
half of 2012, projected JSRs are all
up and running. The Java EE 7
release, which will reflect the
evolving needs of the industry as
it moves into the cloud, is date
driven: anything not ready will be
deferred to Java EE 8.
Here is an update and summary of the key features of different specifications in the Java EE 7
platform.
■ ■ Possible inclusion of JAX-RS
2.0 in the Web Profile, revised
JMS 2.0 API
■ ■ Technology refresh for several
existing technologies and possible inclusion of Concurrency
Utilities for Java EE (JSR-236)
and JCache (JSR-107)
■ ■ Status:
■ ■ Approved by the JCP
■ ■ Spec leads: Linda DeMichiel,
Bill Shannon (Oracle)
■ ■ Project page
■ ■ Mailing list archive,
jsr342-expert@javaee-spec
. java.net, users@javaee-
spec.java.net
■ ■ Project page
■ ■ Mailing list archive, jsr338-
experts@jpa-spec.java.net,
users@jpa-sepc.java.net
Java Servlet 3. 1 Specification
(JSR-340)
■ ■ Optimize the PaaS model for
Web applications
■ ■ Multitenancy for security, session, and resources
■ ■ Asynchronous IO based on NIO2
■ ■ Simplified asynchronous
Servlets
■ ■ Utilize Java EE concurrency
utilities
■ ■ Enable support for WebSockets
■ ■ Status:
■ ■ Approved by the JCP
■ ■ Spec leads: Shing-Wai Chan,
Rajiv Mordani (Oracle)
■ ■ Project page
■ ■ Mailing list archive, jsr340-
experts@servlet-spec.java
.net, users@servlet-spec
. java.net
JAVA IN ACTION
ABOUT US
blog
PHOTOGRAPH BY
MARGOT HARTFORD
Java EE 7 Specification (JSR-342)
■ ■ Main theme: to easily run
applications on private or public clouds
■ ■ The platform will define an
application metadata descriptor
to describe the PaaS execution
environment such as multitenancy, resources sharing,
quality of service, and dependencies between applications
■ ■ Embrace latest standards like
HTML5, WebSocket, and JSON
and have a standards-based
API for each one of them
■ ■ Remove inconsistencies
between Managed Beans, EJBs,
Servlets, JSF, CDI, and JAX-RS
Java Persistence 2. 1 (JSR-338)
■ ■ Support for multitenancy
■ ■ Support for stored procedures
and vendor function
■ ■ Update and Delete Criteria
queries
■ ■ Support for schema generation
■ ■ Persistence Context
synchronization
■ ■ CDI injection into listeners
■ ■ Status:
■ ■ Approved by the JCP
■ ■ Spec lead: Linda DeMichiel
(Oracle)
JAX-RS 2.0: The Java API for
RESTful Web Services (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 vali-
dation using Bean validation
■ ■ Closer integration with @Inject
■ ■ Server-side asynchronous
request processing
■ ■ Server-side content negotiation
using “qs”
■ ■ Status:
■ ■ Approved by the JCP,
Early Draft available,
Draft Javadocs
■ ■ Spec leads: Santiago Pericas-Geersten, Marek Potociar
(Oracle)
■ ■ Project page
■ ■ Mailing list archive,
jsr339-experts@jax-rs-spec
. java.net, users@jax-rs-spec
. java.net
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 size of