CodeBaobab
COURSE 9 OF 13

Enterprise Architecture Patterns

Domains and Services

Background reading
Free course preview

Domains and Services

A domain groups related business responsibilities. Services carry out particular parts of that work.

Invoicing can sit at the boundary between sales and accounting. Both teams use the information, but that does not mean both should independently redefine the invoice.

Decide which service owns the state and how other domains consume it. Clear boundaries reduce conflicting updates and unclear responsibility.

Sales and accounting may both use invoicing, for example. Make the ownership and boundaries explicit so sharing a service does not leave its data or changes without an owner.

Continue learning

Continue with Pro

Get Pro on codebaobab.com.

See Pro plans
Complete course

What you will learn next

  1. 01Event-Driven Architecture
  2. 02Data Warehouse
  3. 03Data Lake
  4. 04Lambda Architecture
  5. 05Kappa Architecture
  6. 06Data Mesh
  7. 07Combining Specialized Tools by Deriving Data
  8. 08Services communicating through events
  9. 09Review
  10. 10References