Jump to: navigation, search

EclipseLink/Examples/MOXy/JAXB/SpecifyRuntime

< EclipseLink‎ | Examples‎ | MOXy‎ | JAXB
Revision as of 16:06, 29 January 2010 by Blaise.doughan.oracle.com (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Specifying the EclipseLink MOXy Runtime

You will need to have the JAXB APIs (included in Java SE 6) and eclipselink.jar (download site) on your classpath.

To specify the EclipseLink MOXy (JAXB) runtime should be used you need to add a file called jaxb.properties in the same package as the domain classes with the following entry.

javax.xml.bind.context.factory=org.eclipse.persistence.jaxb.JAXBContextFactory