struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Hardy <ahardy.str...@cyberspaceroad.com>
Subject Re: REST and JSON
Date Fri, 21 Dec 2007 11:58:55 GMT
Jeromy Evans on 20/12/07 22:25, wrote:
>> http://my.company.com/myapp/rest/orders/1
> All you're supposed to do is assign a unique URL to each resource, which 
> is exactly you've done.
> 
> Other important aspects of the approach are:
> - you're binding the HTTP methods to certain operations (or in the case 
> of the REST plugin, certain methods in your action).  eg. POST does not 
> return a result
> - you're trying to maintain state only on the client (eg. you don't use 
> a session)

Trying to maintain state only on the client? How would you secure the application?

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message