Fundamental SOA, Services & Microservices
What this topic covers
Identify business capabilities and bounded contexts before shaping service boundaries. Design capability-oriented contracts for modern services and microservices that support reuse without tying consumers to databases or procedures.
What is the difference between a capability-oriented contract and a database-bound one?
A capability-oriented contract exposes a business function, such as fare calculation, so consumers reuse it without knowing the database or its stored procedures. A database-bound contract leaks storage details, so any schema change breaks every caller. Identify capabilities and bounded contexts before you design the contract.