Q

Web service statelessness

Thomas Erl discusses the definition of what service statelessness means in relation to Web services and service-oriented architecture.

From what I've read about service-orientation, one of its principles emphasizes service statelessness. I do not fully understand this statement in relation to Web services since a Web Server is inherently stateless. Can you further explain this?

A typical Web service is comprised of a collection of things. There's the service contract (WSDL, schema, etc.) hosted by the Web server, there's messaging logic comprised of service agents, and then there's the actual underlying logic that contains the functionality encapsulated by the Web service. That functionality, in a custom-designed Web service, is usually represented by one or more components. Those components will remain stateful...

during the processing of whatever operation of the Web service was invoked. In larger service compositions, you can run into a situation where Web services composing (invoking) others will need to remain stateful for extended periods while all the composition logic executes and before they can respond or react to their initial request. The principle of Service Statelessness addresses this by encouraging state management delegation and deferral extensions to be designed into the component logic. This helps maximize scalability, a prime concern in larger service inventories. The following links will help illustrate these points: Web service and Service statelessness.

This was first published in September 2007

Dig deeper on Service-oriented architecture (SOA) implementations

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchSoftwareQuality

SearchCloudApplications

SearchAWS

TheServerSide

SearchWinDevelopment

Close