Re: Stateful Web Services...

Mark Baker <[email protected]>
Newsgroups gmane.comp.web.services.general
Message-ID <[email protected]>
On Wed, Nov 03, 2004 at 10:08:38PM -0500, Walden Mathews wrote:
> : > However, if instead of the above, the client posts an incomplete
> : > order for a ticket, the server creates a resource
> : > from that, and the client can then complete the order via reference
> : > to that resource, you technically have a "stateless interaction",
> : 
> : No, you wouldn't, because as you say, the second message would contain a
> : reference to the resource, but the semantics of that message - if it's
> : to provide the same expectation as the second message above - would be a
> : function of the state of that resource.
> 
> Aha, I get it!  So, in response to client's first query, the server might
> answer with the location of the pertinent schedule.  Then, the client can
> interrogate that resource as it pleases, and we have a stateless
> interaction.  Am I right?

Right.

> What we are really trying to avoid in this stateless business, then, is
> the Cartesian product of the sets RESOURCE x CLIENT, and making
> the server allocate resources for every member in that product.
> 
> Am I getting warmer?

Hot! 8-)

Mark.
-- 
Mark Baker.   Ottawa, Ontario, CANADA.        http://www.markbaker.ca
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.