[rest-practices] Read-only fields in a representation type

Mark Little mlittle at redhat.com
Fri Apr 23 12:30:07 UTC 2010


The debate as to whether or not to use WADL isn't tied to HATEOS,  
which as you know is only one aspect of REST: the reasons not to use  
it go much deeper than that. I assume you've checked out various  
resources like ...

http://www.25hoursaday.com/weblog/2007/06/04/WhatsWrongWithWADL.aspx
http://stackoverflow.com/questions/1312087/what-is-the-reason-for-using-wadl
http://www.markbaker.ca/blog/2007/05/rest-wadl-forest-trees/comment-page-1/
http://www.innoq.com/blog/st/2007/06/wadl_just_a_hypermedia_format.html
http://www.tbray.org/ongoing/When/200x/2007/05/28/REST
http://www.mnot.net/blog/2008/01/21/wadl_watching
http://www.infoq.com/news/2007/03/WADL

And the fact it's a W3C submission (aka Note) doesn't mean it'll ever  
become a standard.

http://www.w3.org/Submission/wadl/

Mark.


On 21 Apr 2010, at 16:47, Bryan Kearney wrote:

> On 04/21/2010 11:17 AM, Bill Burke wrote:
>>
>>
>> Bill Burke wrote:
>>>>
>>>
>>> Good point. A resteasy committer has written a jaxrs-javadoc
>>> generator. Of course this wouldn't work very well with non-java
>>> implementations. Jersey has nice support for WADL. Wouldn't be  
>>> hurt if
>>> you decided to move to it because of WADL. I just don't have the  
>>> time
>>> or will to get into any WADL development/support.
>>>
>
> Naw.. I like using our own stuff where we can. I will look at the  
> javadoc stuff. Would you be opposed to a WADL contribution?
>
>>> While WADL does support the concept of linking and opaque URLs, it
>>> doesn't contrain itself. I worry that with WADL you'll get a tighter
>>> coupling between client-server that isn't desired.
>>>
>>
>> BTW, I'm not sure Jersey's WADL support is gonna support automated  
>> link
>> introspection and you'll still have the "forgetting to update"  
>> problem.
>>
>
> I would hope once there is a standardized way to decorating your  
> objects with possible links, that a tool could say:
>
> "Here are all the links which could exist"
>
> Although for any specific resource, they may not.
>
> -- bk
>
> _______________________________________________
> rest-practices mailing list
> rest-practices at redhat.com
> https://www.redhat.com/mailman/listinfo/rest-practices

---
Mark Little
mlittle at redhat.com

JBoss, by Red Hat
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod  
Street, Windsor, Berkshire, SI4 1TE, United Kingdom.
Registered in UK and Wales under Company Registration No. 3798903  
Directors: Michael Cunningham (USA), Charlie Peters (USA), Matt  
Parsons (USA) and Brendan Lane (Ireland).







More information about the rest-practices mailing list