users@jersey.java.net

[Jersey] Re: Can I use both Declarative Hyperlinking and xjc?

From: Marek Potociar <marek.potociar_at_oracle.com>
Date: Fri, 27 Jul 2012 21:07:48 +0200

Depending on your development model, you may try a combined approach: first use XJC to generate the POJOs and then customise them with any additional annotations as necessary.

HTH,
Marek

On Jul 27, 2012, at 3:52 PM, wykoffkb_at_yahoo.com wrote:

> I have a web services application written with Jersey that I would like
> to make RESTful. I would like to use the declarative hyperlinking, but
> my POJOs are generated with xjc. Is there a way to write my XSD so that
> xjc will generate the proper annotations for hyperlinking? Or will I
> have to give up my use of xjc?
>
> Thanks!