In association with heise online

28 November 2012, 16:03

New JSRs for Java EE 7 pass muster

  • Twitter
  • Facebook
  • submit to slashdot
  • StumbleUpon
  • submit to reddit

Java development In a further step towards next year's release of Java Enterprise Edition 7, two important specification requests, JSR 349, BeanValidation 1.1, and JSR 339, JAX-RS 2.0, were adopted with no objections. This means there are now only six other JSRs that need to be agreed on for Java EE 7 to be released, and that includes the specification of Java EE 7 itself.

Bean Validation 1.1 is a Red-Hat-led JSR. Version 1.0 was introduced in Java EE 6 and allows developers to use a single method of defining constraints on an object model through Java annotations and have the runtime engine validate that objects conform to these constraints. Version 1.1 of the specification improved integration with Context and Dependency Injection (CDI) and added method-level validation, allowing parameters passed to methods or returned from them to be validated. Coinciding with the specification's approval, a second beta release of the reference implementation of it was released with a number of minor fixes.

JAX-RS is the Java API for RESTful Services and offers the developer an API that allows them to easily implement REST-based web services. JAX-RS 2.0 (JSR 339) builds upon JAX-RS 1.0/1.1 (JSR 311) by, among other things, adding two client APIs for synchronous and asynchronous processing of results and improving support for hypermedia.

The results of the public review vote for JSR 349 and for JSR 339 are available. IBM's yes vote was accompanied in its comments by a call for all JCP JSRs to be open source; a stance which it has stated in all recent JSR-related votes.


Print Version | Send by email | Permalink:

  • July's Community Calendar

The H Open

The H Security

The H Developer

The H Internet Toolkit