I'm new to jersey (see the other email I just sent).
I would like for my jersey services to provide both JSON and XML
representations of my service responses.
Any advice on best approach?
It seems that simply putting Jaxb annotations on model objects works well
for returning XML. And Jackson seems to be the preferred approach for JSON.
But then I see Jackson now has support for XML, although the documentation
appears pretty sparse and there are few examples.
Any thoughts?
what performs the best?
Are there other options I should consider?
thanks!