W3C home > Mailing lists > Public > www-ws-arch@w3.org > May 2002

RE: should web services be strictly stateless accessible thru bro wser and RDFying HTML etc...

From: Narahari, Sateesh <Sateesh_Narahari@jdedwards.com>
Date: Mon, 6 May 2002 15:52:13 -0600
Message-ID: <C5E6B2ABE291D5119A3800508B9553A50359A6AF@cormails8.jdedwards.com>
To: "'Mark Baker'" <distobj@acm.org>, Christopher Ferris <chris.ferris@sun.com>
Cc: www-ws-arch@w3.org
>>In Web architecture, "stateless" refers to the notion that all the
>>information necessary to process a message is available in the message
>>itself.  This provides lots of benefits, primarily improved visibility
>>(intermediaries can understand what's going on as well as the end
>>points), and scalability (the server isn't required to remember anything
>>about the client, and consume resources doing it).

>>Note that cookies are stateful.

So, a web service named setQuoteList, followed by retrieveQuoteUpdate is not
possible as per new architecture, if the web service remembers the list of
ticker symbol between these two calls.

Similarly, security web services may not be possible, because, if a security
token is created and given to the client, the security service ( web
service) is remembering the information on the token ( for revalidation
etc), unless ofcourse every revalidation is a new authentication. Obviously
intermediaries may not understand what's going on. 

I think there are a good deal of applications where there is a need to
remember something about the client be it a user table, or user preferences.

IMO, statelessness is a limiting requirement as per this interpretation of
statelessness, and does not work for well for web services.

Received on Monday, 6 May 2002 17:44:54 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:40:56 UTC