Question for you can I navigate a JSF app. Keep my borwser open, go on
vacations, come back and click the next link and get it rendered?
If yes, that's RESTable
If not that's not RESTable (for the purists anyways).
You need to think Microsoft architecture back in '98
On Mar 4, 2009, at 14:41, Dan Allen wrote:
On Wed, Mar 4, 2009 at 2:23 PM, Emmanuel Bernard <emmanuel(a)hibernate.org
> wrote:
REST kinda mandates to have a stateless application design. Ie the
necessary state is always passed through each request. No sure JSF
can cope with that.
Why not? JSF's state management is only for the UI ( the component
tree). JSF always marshalls the data back and forth through POST. So
really if you put the UI aside, it is stateless. There is some gray
area, but I think it's feasible to use JSF this way.
-Dan
--
Dan Allen
Senior Software Engineer, Red Hat | Author of Seam in Action
http://mojavelinux.com
http://mojavelinux.com/seaminaction
NOTE: While I make a strong effort to keep up with my email on a daily
basis, personal or other work matters can sometimes keep me away
from my email. If you contact me, but don't hear back for more than
a week,
it is very likely that I am excessively backlogged or the message was
caught in the spam filters. Please don't hesitate to resend a
message if
you feel that it did not reach my attention.