Stateless Services:
- Increase scalability.
- Increase reusability.
Design Considerations
- Service should not maintain business process-specific state logic.
- Contracts (messages) allow for transmission of state information.
- Use declarative programming languages capable of processing state information delivered in
messages and responding to a wide range or requests.
- Not all services need be (or can be) stateless, but developers need to understand the
trade-offs.
|