users@jersey.java.net

[Jersey] Re: HATEOAS and linked resources

From: Markus Karg <karg_at_quipsy.de>
Date: Tue, 26 Apr 2011 14:44:42 +0200

First, resources can be linked easily by using URLs in the entity itself, without any need of Jersey. No Link header needed.

 

Second, you can use the Link header manually already as it is nothing but a header, and JAX-RS supports *any* header as a header is nothing but a String.

 

Third, official support of the Link header is expected to be part of the HATEOS feature set, which will be part of the next JAX-RS 2.0 release.

 

Regards

Markus

 

From: Sigmar Muuga [mailto:meediake_at_gmail.com]
Sent: Dienstag, 26. April 2011 14:41
To: users_at_jersey.java.net
Subject: [Jersey] HATEOAS and linked resources

 

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