Friday, November 10, 2006, 3:45:48 AM, you wrote:

JL> Hi Chris,

JL> If you PUT the person in the location, it means that the person somehow
JL> becomes the location, which is probably not what you want as several persons
JL> could be in the same location. You need to details your resource model:

JL> I would add a resource containing the set of persons at a given location:
JL> http://localhost:8182/location/virginia/persons

JL> And update it. Check out org.restlet.data.ReferenceList to manage a list of
JL> URI and generate a simple representation for it. You can also use XML or
JL> JSON for it.

Thanks Jerome,
I'll check that out, I also decided to risk asking on the rest
discussion group ;-) we'll see how that goes.

-Chris
-- 
Chris Grindstaff | http://gstaff.org

Reply via email to