users@jersey.java.net

[Jersey] Re: Providing a stateful JAX-RS service in a cluster

From: Uwe Reh <reh_at_hebis.uni-frankfurt.de>
Date: Fri, 25 Feb 2011 17:15:07 +0100

Am 25.02.2011 13:26, schrieb Martin Matula:
> Can't you declare you require your clients to accept cookies?
> Martin

Hi Martin,

sure in B2B environment it's possible to declare requirements, in B2C it
seems to be impossible.

I agree, REST and states are not compatible.
In real world applications it makes sense to be relaxed, and to add
stateful convenience functions.

(REST) For me it is important to create a service, which is fully
usable, without the knowledge of any status
(REST-like) But why not use sessions, to allow implicit caching or other
value added functions.


Uwe