All challenges
Multiple ChoiceHard 45s

Domain service vs application service

Which responsibility belongs to an application service rather than a domain service?
Options
  1. 1Enforcing a core business invariant that must always hold true for the domain entity
  2. 2Calculating a domain rule that depends only on the entity's own internal state values
  3. 3Orchestrating use-case flow, transactions, and calling domain objects/ports
  4. 4Modeling a value object that carries several related attributes together immutably

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle