In case you ever want to switch to a differen tJAX-RS engine, stay tuned for the coming JAX-RS 2.0 standard revision. It is expected to contain support for the link header, so in future you don't need to search for it. :-)
From: Sigmar Muuga [mailto:meediake_at_gmail.com]
Sent: Donnerstag, 28. April 2011 12:18
To: users_at_jersey.java.net
Subject: [Jersey] Re: HATEOAS and linked resources
Thanks! I did not notice the jersey-server-linking module. It does just everything I need.
Sigmar
On Tue, Apr 26, 2011 at 5:56 PM, Pavel Bucek <pavel.bucek_at_oracle.com> wrote:
Hello Sigmar,
please see jersey-server-linking sample:
http://download.java.net/maven/2/com/sun/jersey/samples/jersey-server-linking-sample/1.6/jersey-server-linking-sample-1.6-project.zip
Regards,
Pavel
On 4/26/11 2:40 PM, Sigmar Muuga wrote:
Hello!
I have read the docs of RESTEasy(
http://docs.jboss.org/resteasy/docs/2.0.0.GA/userguide/html/LinkHeader.html) and there are annotations for making resources linked with each other. Is it possible to something like this also in Jersey? I did not find any simple or straightforward guide for doing it, is it implemented or enabled in Jersey or coming in in the future?
What is the best and most straightforward way to make linked resources in Jersey?
I still prefer to use Jersey because it seems to be most actively developed at the moment and mostly it is quite easy to use..
Best regards,
Sigmar