A sneak peak at Java EE 8
Work on Java EE 8 is happening as we speak, so we thought we’d take you through the features we’re most excited about. Read on to see what this newest version of the Java platform has in store.
Throughout the course of the year, we can expect work on the development of Java EE 8, a.k.a JSR 366 – the next version of the largely modular platform that emphasizes convention over configuration. As reported by Abhishek Gupta, here’s a rundown of what we can expect to date:
Java EE 8 themes and driving factors:
- Support for Java SE 8 – enhance APIs to use the latest capabilities of Java SE 8.
- Keeping pace with evolving HTML 5 standards – Enhance Web Tier technologies (WebSocket, JSONP etc) as per latest standards.
- Alignment with HTTP 2.0 – Servlet 4.0 to bundle support for HTTP 2.0 standards.
- Tighter integration with CDI – Extend, improve and standardize CDI support to other parts of the specification (JAX-RS, WebSocket, etc.).
- Improve capabilities for cloud based applications – Improving application security, REST based management APIs, multi-tenant support, etc.
As for new specs, we can look forward to the following:
- MVC 1.0 (JSR 371)
While Java EE already has an MVC framework (JSF), this is seen as UI component oriented, whereas the new MVC framework (1.0) will be action oriented. Ed Burns has written a great informative piece about their complementary usage here.
- JSON-B 1.0 (JSR 367)
Sounding familiar to the JAXB API, JSON-B will be looking to solve the issue of caveats with the production of JSON rather than XML by providing a standard and portable API to make it easier to work with JSON data and corresponding Java domain objects.
- Java EE Security 1.0 (JSR 375)
Another win for the community, the inclusion of a simplified security API will allow Java EE applications to manage their own security parameters in a unique yet portable manner. This JSR will also help cloud-based Java EE application deployments looking for a standard way of defining security aspects.
- JCache (JSR 107)
A portable API for use within applications which need in-memory caching of Java objects. Work on this JSR is already complete and is likely to be integrated into the Java EE stack with Java EE 8.
Existing specifications of the enterprise platform will also be improved, with a full report on further enhancements available here.