[Jersey] Re: HATEOAS and linked resources

From: Markus Karg <>
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.





From: Sigmar Muuga []
Sent: Dienstag, 26. April 2011 14:41
Subject: [Jersey] HATEOAS and linked resources




I have read the docs of RESTEasy( 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,