JAX-RS 2.0 and JPA 2.1 JSRs filed ... Java EE 7 moves forward!
By arungupta on Jan 11, 2011
The key features considered in scope of JPA 2.1 are:
- Support for the use of custom types and transformation methods in object/relational mapping.
- Support for the use of "fetch groups" and/or "fetch plans" to provide further control over data that is fetched, detached, copied, and/or used in merging.
- Support for the specification of immutable attributes and readonly entities.
- Support for user-configurable naming strategies for use in O/R mapping and metamodel generation.
- More flexibility in the use of generated values; support for UUID generator type.
- Additional mapping metadata to provide better standardization for schema generation.
- Support for multitenancy.
- Additional event listeners and callback methods; availability of entity manager to callbacks.
- Methods for dirty detection.
- Improved ability to control persistence context synchronization.
- Additional unwrap methods to support use of vendor extensions.
- Support for dynamic definition of persistence unit, including object/relational mapping information.
- Extension of metamodel API to object/relational mapping information.
- Improvements to the Java Persistence query language and criteria APIs
The key features considered in scope of JAX-RS 2.0 are:
- Client API - a low-level using a builder pattern and a higher level leveraging the former one
- Hypermedia processing on client and server
- MVC architecture compatible with JAX-RS programming model
- Integration with Bean Validation for parameter validation
- Tighter integration with JSR 330 annotations, such as @Inject
- Asynchronous request processing
- Sophisiticated server-side content negotiation
- More ease-of-development following DRY principles
The JSR ballot closes on Jan 24, 2011. After the JSRs are approved the Expert Groups start discussion on each and every item of the proposal. And you'll start seeing the promoted builds and integrations into GlassFish after that.
Stay tuned to hear details as Java EE 7 continues its march forward. In the meanwhile, you can download GlassFish 3.1 promoted build (soon to be final) that provides full Java EE 6 functionality along with centralized administration and high availability.