On behalf of the MOXy JAXB committers (great job by all), I am very proud to announce that EclipseLink 2.5 has been released and is available for download. In this post I will summarize what is new in the MOXy component. For details on the entire release see the following link:
How to Get EclipseLink 2.5
You can download the EclipseLink install from:
EclipseLink 2.5 is also available from Maven Central (see http://wiki.eclipse.org/EclipseLink/Maven):
<dependency> <groupId>org.eclipse.persistence</groupId> <artifactId>org.eclipse.persistence.moxy</artifactId> <version>2.5.0</version> </dependency>
Key Features
In this release we have focused on making it even easier to use MOXy in RESTful services. Below are they key items:
JPA-RS
MOXy is the binding layer that powers the XML and JSON messages for JPA-RS. We have done alot of work in this release to make this integration seamless.
Object Graphs
Object graphs provide a convenient way to interact with part of your domain model. This is very useful in RESTful services when you want to keep your messages as concise as possible.
- MOXy's Object Graphs - Input/Output Partial Models to/from XML & JSON
- MOXy's Object Graphs - Partial Models on the Fly to/from XML & JSON
- MOXy's Object Graphs & Dynamic JAXB
- MOXy's Object Graphs - Handling Inheritance
Mapping Enhancements
Below are some enhancements we made to our mappings that directly apply to the creation of RESTful services.
Below are some enhancements we made to our mappings that directly apply to the creation of RESTful services.
- Binding to JSON & XML - Handling Collections
- MOXy's @XmlInverseReference is now Truly Bidirectional
- We have enhanced our predicate based mapping (see Map to an Element based on an Attribute Value with EclipseLink JAXB (MOXy)) so that you can map to elements with and without the target attribute.
JAX-RS Related Enhacements
- MOXy and JSON with Padding
- We've tweaked MOXyJSONProvider to work a wider range of JAX-RS implementations.
Bugs & Enhancements
Below is a link to all the bugs and enhancements that were fixed in the JAXB and SDO components in EclipseLink 2.5 (and 2.4.2):
- MOXy bugs & enhancements fixed in EclipseLink 2.5
- MOXy bugs & enhancements fixed in EclipseLink 2.4.2
What's Next?
Work has already begun on the next release of EclipseLink JAXB (MOXy).
Stay tuned to this blog and over the next few weeks I'll be unveiling what we're doing next. If there is a feature you would like to see please log an enhancement request and/or consider becoming a committer on the project. In the meantime check out EclipseLink 2.5:
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.