users@jersey.java.net

Re: [Jersey] What HATEOAS actually means

From: Jan Algermissen <algermissen1971_at_mac.com>
Date: Mon, 15 Feb 2010 20:48:27 +0100

On Feb 15, 2010, at 8:12 PM, Santiago Pericas-Geertsen wrote:

>
> On Feb 15, 2010, at 1:52 PM, Jan Algermissen wrote:
>
>> On Feb 15, 2010, at 7:20 PM, Santiago Pericas-Geertsen wrote:
>>
>>> OK. I'm interested in your exploration of media types to solve this.
>>
>> To solve *what*?
>
> I meant using hyperlinks in entities and not in headers.

Darn - I expected you'd explain why the proposed hypermedia pattern solves...

As for entities - I don't see how you could go by without a plugin mechanism of some sort (like you need message body readers/writers).

I am not sure a generic approach is feasible because hypermedia can take many forms

- links
- link templates
- forms
- exotic (as in http://www.nordsc.com/blog/?p=293#cbcID-tweak )

Basically a media type could define any kind of syntax for expressing a hypermedia link

Jan



>
> -- Santiago
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>

-----------------------------------
 Jan Algermissen, Consultant
 NORD Software Consulting

 Mail: algermissen_at_acm.org
 Blog: http://www.nordsc.com/blog/
 Work: http://www.nordsc.com/
-----------------------------------