June 27, 2012

EclipseLink 2.4 Release Available for Download

On behalf of the MOXy JAXB committers (great job by all), I am very proud to announce that EclipseLink 2.4 has been released and is available for download.  In this post I will summarize what is new in the MOXy component:

JSON Binding

MOXy has been expanded to support converting objects directly to/from JSON.

Leverage the JAXB APIs

The same mappings and runtime APIs are used for both MOXy's XML and JSON binding.  Since MOXy is a JAXB (JSR-222) implementation this means that many use cases can be supported without introducing compile time dependencies over what is already available in Java SE 6.

Support for All MOXy Extensions

All of MOXy's extensions can be leveraged when mapping objects to JSON.  Below are a couple of examples: 

JAX-RS Integration

MOXy can easily be integrated into your JAX-RS application by using MOXyJsonProviderMOXyJsonProvider also integrates nicely with client side APIs such as those provided by Jersey. 

Project JAXB (Reference Implementation) Extensions

In addition to our own extensions, MOXy now supports the following extensions from the JAXB RI.  This means that if you are leveraging any of the following extensions, you can swap MOXy in as your JAXB provider without making any code changes (see Specifying EclipseLink MOXy as Your JAXB Provider).

Marshaller Properties
  • "com.sun.xml.bind.namespacePrefixMapper"
  • "com.sun.xml.bind.indentString"
  • "com.sun.xml.bind.CharacterEscapeHandler"
  • "com.sun.xml.bind.xmlDeclaration"
  • "com.sun.xml.bind.xmlHeaders"
  • "com.sun.xml.bind.objectIdentityCycleDetection"
Unmarshaller Properties
  • "com.sun.xml.bind.IDResolver"
Annotations
  • @com.sun.xml.bind.annotation.XmlLocation
  • @com.sun.xml.bind.XmlAccessorFactory
Other
  • com.sun.xml.bind.CycleRecoverable

Bugs & Enhancements

Below is a link to all the bugs and enhancements that were fixed in the JAXB and SDO components in EclipseLink 2.4:

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.4:

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.