Introduction
 About this Site
 About the Principles

Common Principles of Service-Orientation
 Service reusability
 Service contract
 Service loose coupling
 Service abstraction
 Service composability
 Service autonomy
 Service statelessness
 Service discoverability

How Service-Orientation Principles Inter-relate
 Service reusability
 Service contract
 Service loose coupling
 Service abstraction
 Service composability
 Service autonomy
 Service statelessness
 Service discoverability

Service-Orientation and Related Principles and Paradigms
 Separation of Concerns
 Object-Orientation (Part I)
 Object-Orientation (Part II)
 Object-Orientation (Part III)

More
 Advanced
   service-orientation

 Submit your opinions
 Training for SOA and
   Service-Orientation
 About the author
Services are stateless
Services should minimize the amount of state information they manage and the duration for which they hold it. State information is data specific to a current activity. While a service is processing a message, for example, it is temporarily stateful. If a service is responsible for retaining state for longer periods of time, its ability to remain available to other requestors will be impeded.

Statelessness is a preferred condition for services and one that promotes reusability and scalability. In order for a service to retain as little state as possible, its individual operations need to be designed with stateless processing considerations.


Stateless and stateful stages a service passes through while processing a message.

A primary quality of SOA that supports statelessness is the use of document-style messages. The more intelligence added to a message, the more independent and self-sufficient it remains.

This page contains excerpts from:

Service-Oriented Architecture:
Concepts, Technology, and Design

by Thomas Erl

(ISBN: 0131858580, Prentice Hall/PearsonPTR, Hardcover, 792 pages).

For more information, visit
www.soabooks.com.
Opinions

"Service Orientation forces us to change how we think about what exactly an application is.

Though more traditional definitions will continue to be valid, as more enterprises become service enabled, the notion of application will apply more to assembled or composite applications that are pulled together from services."


- Jef Newsom, Improving Enterprises, LLC






www.soasystems.com

Copyright © 2005-2007 SOA Systems Inc.