The JAXB 2.1 implementation is included in Java SE 6, and the JAXB 2.2 implementation is included in Java SE 7. If you do not have a requirement to do this, I would recommend using a JAXB implementation that matches the JAXB APIs in your version of Java.
source share