users@jersey.java.net

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

From: Felipe Gaúcho <fgaucho_at_gmail.com>
Date: Wed, 13 Jan 2010 15:06:01 +0100

well, I am creating my own strategy to add links to my resources...

I tried two strategies:

1) using the database (creating and including the link once th
resource is created and then remove them as soon it becomes obsolete).
JPA / SQL tricks here.

2) having producers or filter to pre-process the responses (performane overhead)

So, we agree about what we are looking for.. but I can't see so far
how would be a good alternative.



>> (@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........