It depends on your needs. If you just want JSON data to be produced/consumed
no matter what Java object is used, and you do not want to mess up with configuration/format details,
the Jackson based POJO mapping feature in Jersey will probably suit you best.
Please check out JSON chapter of Jersey user guide [1] for details.
~Jakub
[1]
https://jersey.dev.java.net/issues/
[Message sent by forum member 'japod']
http://forums.java.net/jive/thread.jspa?messageID=484366