I am running a Jersey REST service. The POJO\'s which represent my resources are JAXB (XML) annotated simple Java classes (they are generated from a schema definition - so t
At low level, what is needed to make sure that ObjectMapper does NOT use JAXBAnnotationIntrospector, but only default JacksonAnnotationIntrospector. I think you should be able to just construct ObjectMapper (which does not add JAXB introspector by default), and register it via standard JAX-RS provider mechanism. This should override ObjectMapper that POJO mapper functionality would otherwise construct.