users@jersey.java.net

[Jersey] Re: _at_XmlJavaTypeAdapter doesn't seem to work with Jersey

From: Tatu Saloranta <tsaloranta_at_gmail.com>
Date: Mon, 19 Nov 2012 10:22:29 -0800

On Sun, Nov 18, 2012 at 9:09 PM, Srinivas Naresh Bhimisetty
<shri.naresh_at_gmail.com> wrote:
> Thanks Tatu.
> Unfortunately, I wouldn't be able to use the POJO mapping, since I use a lot
> of JAXB annotated beans, and Jackson doesn't understand these annotations,
> gives some errors at runtime.

Jackson understands JAXB annotations with JAXB annotation module. But
if you use the standard Bean naming convention, most of those are not
needed: JAXB implementations need much more information because XML
has higher impedance to POJOs than JSON does.

What errors are you specifically getting?

-+ Tatu +-