users@jersey.java.net

Re: [Jersey] Putting the RESTful "connectedness" around my existing Domain objects

From: James Strachan <james.strachan_at_gmail.com>
Date: Thu, 29 Jan 2009 13:01:42 +0000

2009/1/29 Paul Sandoz <Paul.Sandoz_at_sun.com>:
> On Jan 28, 2009, at 3:37 PM, jstrachan wrote:
>
>> Or to say that another way - a URI is for life not for christmas;
>
>
> Ho ho ho, nice quote :-)

:)


> I should stress that storing absolute URIs is a bad idea. Store relative
> URIs (be they keys or not) which are then resolved to absolute URIs that
> with the host, port, base path and may be a contextual path.

Yeah; in my previous ramble I was only really considering relative
URIs which a view layer might morph into an absolute URI with
host/port/base path etc.


> I also point you to Bret's further work in this area:
>
> http://markmail.org/search/?q=list%3Anet.java.dev.jersey.users+brett.dargan%40gmail.com#query:list%3Anet.java.dev.jersey.users%20brett.dargan%40gmail.com+page:1+mid:xjrp52mn7ywl4pdq+state:results
>
> Bret, sorry i have not had time to look at this in detail, but i really like
> your solution.

Yeah, it looks interesting.

-- 
James
-------
http://macstrac.blogspot.com/
Open Source Integration
http://fusesource.com/