Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

EclipseLink/Examples/MOXy/Spring/JAXBAnnotations

< EclipseLink‎ | Examples‎ | MOXy‎ | Spring
Revision as of 13:29, 27 July 2010 by Unnamed Poltroon (Talk)


In order to use EclipseLink JAXB with Spring, all that is required is a jaxb.properties file and eclipselink.jar. No other configuration is required.

jaxb.properties

Following is the jaxb.properties file that tells Spring to use EclipseLink JAXB - this properties file needs to be on the classpath:

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

EclipseLink

The latest version of EclipseLink can be found on the EclipseLink download page. The eclipselink.jar file needs to be on the classpath.

Configuration: applicationContext.xml

Back to the top