Home > SOA Glossary > Stateful (Primary State Condition)

Stateful (Primary State Condition)

A service is stateful when it is active and consuming additional memory via the temporary storage and processing of state (service activity-specific) data. It is important to note that it is the service capability being invoked and its associated functionality that determines whether a service becomes stateful and the extent of a service's statefulness (the extent of memory the service consumes as a result of state-related processing).

When stateful, a service will typically be processing one or more of three types of state data:

  • session data
  • context data
  • business data

The term "stateful" represents a primary state condition, the other being stateless. 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: