users@jersey.java.net

Re: [Jersey] hypermedia.. our greatest dream ...

From: Santiago Pericas-Geertsen <Santiago.Pericasgeertsen_at_Sun.COM>
Date: Wed, 13 Jan 2010 10:43:25 -0500

On Jan 13, 2010, at 9:06 AM, Felipe Gaścho wrote:

>
>>> (@ContextualActionSet) extracted automatically instead of manually coded.. (or customizable)....
>>
>> This is intrinsic to the application logic. I don't see how it could be done automatically by the runtime system. Care to elaborate?
>
> ok, the "logical / business" conversation must be included somehow in
> the responses, but the basics of the conversation like the methods
> allowed for a resource, etc can be automagically included, right ?
>
> so, if a resource contains the methods GET & PUT, I don't need to
> declare <link rel="delete" url="..."> right ?
>
> that's the idea........

 Yes, indeed. That can be obtained by looking at the annotations. And also, the WADL that you saw on the wiki can be generated automatically in the same manner.

-- Santiago