From Eclipsepedia

Jump to: navigation, search

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

Following is the 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


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