Home > SOA Glossary > stateless (primary state condition)

stateless (primary state condition)

A service is stateless when it is not consuming memory related to the temporary storage and processing of state data. Whether or not a service enters into a stateless condition is determined by the functionality of the service capability that was invoked.

For a service involved in a current service activity to be stateless often requires that the service capability functionality be designed to transition the service to a stateless condition from a stateful condition. This is accomplished via the temporary deferral and delegation of state data to other parts of the architecture.

There are three types of state data, some or all of which may need to be deferred in order for the service to be considered stateless:

  • session data
  • context data
  • business data

The term "stateless" represents a primary state condition, the other being stateful. These conditions are associated with the Service Statelessness design principle that advocates the minimization of the stateful condition by incorporating state deferral and delegation options into the service design.

See also: