Browse Month

March 2018

Jackson Java Spring

Jackson Supporting JAXB Annotations in Spring

Spring Framework by default is using JAXB for binding XML schemasĀ and Java objects. When we generate our Java representations from XML schema using JAXB, our POJOs will contain JAXB annotations like @XmlRootElement, @XmlElement, etc. If we want Spring to use Jackson with our POJOs generated by JAXB, we will have to add following dependency to our pom.xml file:

Keep Reading