Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "EclipseLink/UserGuide/MOXy/Runtime/Specifying the EclipseLink Runtime"
< EclipseLink | UserGuide | MOXy | Runtime
(New page: ==Specifying the EclipseLink Runtime==) |
(→Specifying the EclipseLink Runtime) |
||
Line 1: | Line 1: | ||
==Specifying the EclipseLink Runtime== | ==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: | ||
+ | |||
+ | <source lang="java"> | ||
+ | javax.xml.bind.context.factory=org.eclipse.persistence.jaxb.JAXBContextFactory | ||
+ | </source> |
Revision as of 10:37, 8 July 2010
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