EclipseLink/UserGuide/MOXy/Runtime/Specifying the EclipseLink Runtime

From Eclipsepedia

Jump to: navigation, search

Specifying the EclipseLink Runtime

Specifying the EclipseLink MOXy JAXB runtime is easy. Simply add a text file named jaxb.properties in the same directory as your model classes with the following entry:

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