To use Moxy as a JAXB implementation, you need to add a file called jaxb.properties to the application domain class folder and include the following line
javax.xml.bind.context.factory=org.eclipse.persistence.jaxb.JAXBContextFactory
Is it possible to make moxy the default for a project? In case I have many different folders with annotated domain classes, in which folder should I put this file?
json xml jaxb moxy
Edmondo1984
source share