Why should EclipseLink MOXy be used?
EclipseLink MOXy offers additional benefits versus usage of the JAXB 2.1 reference implementation and other similar solutions. The benefits include: • Greater flexibility with meet-in-the-middle mapping • Integrated support for usage with EclipseLink JPA • Specific support for usage with SOA and SCA • Transaction XML Storage • Performance This more flexible mapping approach is needed to handle mapping to multiple XSDs or XSD versions, sharing a common domain model with other technologies, and usage within other technologies such as SOA and SCA. Meet in the Middle Mapping In addition to the schema-to-Java and Java-to-schema approaches offered by the JAXB 2.1 reference implementation, EclipseLink MOXy offers meet in the middle mapping. Meet-in-the-middle mapping allows you to map your own classes to your own XML schema avoiding static coupling of your mapped classes with a single XML schema. • The mapping is XPath based, this breaks the one-to-one correspondence between classes and XML e