users@jersey.java.net

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

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Thu, 29 Jan 2009 13:29:33 +0100

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.

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.

Paul.