jsr339-experts@jax-rs-spec.java.net

[jsr339-experts] Re: [jax-rs-spec users] Re: Hypermedia - Take 2

From: Bill Burke <bburke_at_redhat.com>
Date: Mon, 25 Jul 2011 10:04:17 -0400

On 7/25/11 10:00 AM, Santiago Pericas-Geertsen wrote:
>
> On Jul 25, 2011, at 8:38 AM, Bill Burke wrote:
>
>> I don't see how this is any better/easier than doing things by hand, manually, without the API. In fact, its more complicated as as new maintainer of the code has to learn the multiple hoops that are jumped thru by the abstraction. Well, at least the examples given in the blog.
>
> I agree there isn't much there beyond what can be done my hand. I was hoping we could find some sort of silver bullet that would address all of our linking needs, and this was a first step. I'm not sure there's such a silver bullet.
>
> An alternative may be to improve UriBuilder and make it easier to add Link headers, and simply write some examples showing how to generate these links.
>

What I do think would be useful is something on the Unmarshalling side.
  Where you could build requests directly from attributes/elements in a
document model.

Bill

-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com