Earlier this week, the JCP approved JSR 220, Java Architecture for XML Binding (JAXB) 2.0, and today the JAXB 2.0 reference implementation was released on java.net. JAXB 2.0 uses Java 5 features extensively, such as annotations, in order to provide a simpler programming model.
Among JAXB 2.0's main objectives was to simplify the programming model, chiefly by taking advantage of Java 5 features, such as annotations. The reference implementation has been in development for almost two years, and it is now both very stable and high-performance:
I think this release is the most extensively tested JAXB RI release ever, simply because we have so much accumulation of tests over time. Almost all the tests have been running continuously for every commit. We also run backward compatibility tests to make sure that applications developed with earlier versions of JAXB RI can still run with the JAXB 2.0 runtime jars. That test alone has some 5000+ tests.
This release is also the fastest JAXB RI release ever. Both the unmarshaller and marshaller were implemented pretty much from scratch for 2.0. The marshaller in particular has a brand-new algorithm highly optimized for UTF-8. It's so fast that at one point (maybe it still is) faster then our own FastInfoset.
What's your experience using the latest JAXB features?