ArchitectMind
  1. Home
  2. Java Ecosystem
  3. Book 7 · Application Architecture & Distributed Systems
  4. Volume III
  5. Strategic vs Tactical DDD
Book 7 · Volume III — Domain-Driven Design & Business Boundaries · Topic 1.2

Strategic vs Tactical DDD

Strategic design and tactical design

9 min readStage 3 · Systems8 interview questions
Chapter
Chapter 1 — DDD Fundamentals
Prerequisites
Topic 1.1
You will be able to
Distinguish strategic and tactical DDD by scope, questions, participants, artefacts and cost of mistakes; apply strategic tools to shape subdomains, contexts and relationships; apply tactical building blocks inside a single context; sequence the two levels in a delivery; and avoid the common failure of "tactical DDD without strategy"
Covers
Strategic design; Tactical design
On this page
  1. 1. Concept / Definition
  2. 2. Why It Exists
  3. 3. Core Concepts
  4. 4. How It Works Internally — Levels Compared
  5. 4A. Deep Dive — Sequencing in Delivery
  6. 5. APIs / Features / Syntax
  7. 6. Practical Examples
  8. 7. Common Problems & Mistakes
  9. 8. Performance & Production Considerations
  10. 9. Architecture & Design Considerations
  11. 10. Interview Questions & Answers

1Concept / Definition

DDD operates at two levels. Strategic design deals with the large-scale structure — which parts of the domain matter most, where model boundaries lie and how they relate. Tactical design deals with how a model is expressed inside one boundary using building blocks such as entities, value objects and aggregates.

Strategic vs tactical DDD (TOC)
Figure 1 — Strategic vs tactical DDD (TOC)
TOC levelDefinition
Strategic designDecisions and tools for the whole domain: distilling subdomains (core/supporting/generic), defining bounded contexts and their ubiquitous languages, mapping relationships and integration patterns between contexts and teams
Tactical designPatterns for implementing a rich model within one bounded context: entities, value objects, aggregates, repositories, factories, domain services and domain events
Table 1 — The two TOC levels

2Why It Exists

Early DDD adopters focused on tactical patterns ("we have repositories, so we do DDD") and still built tangled systems. Evans later emphasised that strategic design delivers most of the value; separating the levels clarifies who decides what and when.

The split also clarifies who should be in the room. Strategic decisions, such as separating pricing from catalog or treating identity as a bought generic subdomain, shape teams, budgets and data ownership for years, so they need business leaders, domain experts and architects together. Tactical decisions, such as whether a promotion is its own aggregate, belong to the team that owns the context and can be refactored in days. Mixing the two leads either to architects dictating class design or to individual teams redrawing enterprise boundaries on their own. Treating them as separate levels lets each decision be made by the right people, with effort proportional to its cost of being wrong.

Strategic vs tactical
Figure 2 — Strategic vs tactical

3Core Concepts

3.1 Strategic design

Strategic design tools (TOC)
Figure 3 — Strategic design tools (TOC)
TEXT
// Context Mapper DSL (CML): strategic model as code
ContextMap ShopNowMap {
  contains Catalog, Pricing, Ordering, Fulfilment, Payments
  Catalog [OHS,PL] -> [CF] Pricing
  Pricing [U] -> [D] Ordering
  Ordering [D,ACL] <- [U] Payments
}
BoundedContext Pricing implements PricingAndPromotions {
  domainVisionStatement = "Maximise margin through flexible, safe promotions"
}
Strategic questionTool
Which parts differentiate us?Subdomain classification, core domain chart
Where do models change meaning?Bounded contexts, language boundaries
How do teams/contexts depend?Context map, relationship patterns
What is the core's purpose?Domain vision statement
Table 2 — Strategic toolkit

3.2 Tactical design

Tactical building blocks (TOC)
Figure 4 — Tactical building blocks (TOC)
JAVA
@AggregateRoot
public final class Promotion {                           // aggregate root (entity)
    private final PromotionId id;
    private final DiscountRate rate;                      // value object
    private final DateRange validity;                     // value object
    private PromotionStatus status;
 
    public Money apply(Money listPrice, LocalDate on) {
        if (!validity.contains(on) || status != PromotionStatus.ACTIVE) return listPrice;
        return listPrice.minus(listPrice.times(rate.fraction()));
    }
    public PromotionActivated activate(StackingPolicy stacking, List<Promotion> active) {
        stacking.check(this, active);                     // domain service/policy
        status = PromotionStatus.ACTIVE;
        return new PromotionActivated(id);               // domain event
    }
}
public interface PromotionRepository {
    Optional<Promotion> find(PromotionId id);
    void save(Promotion p);
}

4How It Works Internally — Levels Compared

Strategic vs tactical compared
Figure 5 — Strategic vs tactical compared
Problem space vs solution space
Figure 6 — Problem space vs solution space
LevelTypical sessionDurationParticipants
StrategicBig-picture event storming1–2 daysBusiness leads, architects, experts
StrategicContext mapping workshopHalf dayArchitects, team leads
TacticalDesign-level event storming2–4 hoursTeam + experts
TacticalAggregate design session1–2 hoursDevelopers + expert
Table 3 — Where each level happens

4ADeep Dive — Sequencing in Delivery

From strategy to code
Figure 7 — From strategy to code
PhaseStrategic outputTactical output
InceptionSubdomain chart, candidate contexts—
ArchitectureContext map, integration patterns, team mapping—
Per-team designBounded context canvasAggregates, events, policies
Implementation—Code, tests
EvolutionRevisit map & classificationRefactor toward deeper insight
Table 4 — Both levels over time
Bounded Context Canvas fieldExample (Pricing)
PurposeCalculate and publish prices & promotions
Strategic classificationCore, revenue-generating
Inbound communicationCatalog product events; Ordering price queries
Outbound communicationPricePublished events
Ubiquitous languageList price, promo, stacking, override
Business decisionsStacking cap 40%, override approval
Table 5 — Canvas bridges strategic and tactical

5APIs / Features / Syntax

LevelTooling
StrategicEvent Storming, Context Mapper (CML), Bounded Context Canvas, C4 system landscape
Strategic enforcementSpring Modulith modules, ArchUnit, service boundaries
TacticalJava records/sealed types, jMolecules, Spring Data repositories, Modulith events
Tactical enforcementjMolecules-ArchUnit rules
Table 6 — Toolkit

6Practical Examples

6.1 Tactical without strategic

A bank team implemented perfect aggregates and repositories in a "Customer" service shared by lending, cards and deposits. Conflicting definitions of customer made the model huge and contested. Strategic redesign split three contexts with translation; the tactical code became simpler.

6.2 Strategic success, light tactics

A retailer's biggest gains came from separating pricing from catalog and giving pricing its own team; inside supporting contexts they used simple CRUD without tactical patterns — and that was fine.

6.3 Worked example — who decides

DecisionLevelOwner
Split pricing from catalogStrategicArchitecture + business
Promotion aggregate boundariesTacticalPricing team
Table 7 — Decision rights

6.4 Worked example — cost of mistakes

MistakeFix cost
Wrong context boundaryMonths (data migration, teams)
Wrong aggregate boundaryDays–weeks (refactor)
Table 8 — Strategy first

6.5 Worked example — tactical depth per subdomain

SubdomainTactical depth
Core (pricing)Full patterns
Supporting (returns)Light
Generic (identity)None (buy)
Table 9 — Right-size tactics

6.6 Worked example — CML generation

CML outputUse
Context map diagramArchitecture docs
Service cut suggestionsDiscussion input
Table 10 — Strategic model as code

6.7 Worked example — big-picture event storm outcome

Pivotal eventBoundary hint
Order PlacedOrdering → Fulfilment
Payment CapturedPayments → Ordering
Table 11 — Events reveal boundaries

6.8 Worked example — design-level storm outcome

ElementResult
CommandActivate Promotion
AggregatePromotion
PolicyStacking cap
EventPromotion Activated
Table 12 — Tactical design artefact

6.9 Worked example — module mapping

ContextSpring Modulith module
Pricingcom.shopnow.pricing
Orderingcom.shopnow.ordering
Table 13 — Strategic boundary in code

6.10 Worked example — tactical patterns misuse

MisuseBetter
Repository per tableRepository per aggregate
Table 14 — Tactics serve the model

6.11 Worked example — roles

RolePrimary level
Solution architectStrategic
Tech leadBoth
DeveloperTactical
Table 15 — Responsibility split

6.12 Worked example — review questions

Strategic reviewTactical review
Is this context's language consistent?Are invariants protected by aggregates?
Table 16 — Different lenses

6.13 Worked example — ADR types

ADRLevel
ADR-014 Separate Pricing contextStrategic
ADR-052 Promotion as own aggregateTactical
Table 17 — Record both

6.14 Worked example — refactoring toward insight

InsightLevel affected
"Stacking" is a first-class conceptTactical (new policy)
Pricing needs own teamStrategic
Table 18 — Learning flows both ways

6.15 Worked example — domain vision statement

ContextStatement
Pricing"Enable safe, fast promotions that protect margin"
Table 19 — Focus for the core

6.16 Worked example — strategic anti-pattern

Anti-patternSymptom
Enterprise canonical modelEndless alignment meetings
Table 20 — Strategic failure mode

6.17 Worked example — tactical anti-pattern

Anti-patternSymptom
God aggregateLock contention, huge classes
Table 21 — Tactical failure mode

6.18 Worked example — enforcing strategy

JAVA
@Test
void verifyModules() { ApplicationModules.of(ShopNowApplication.class).verify(); }

6.19 Worked example — enforcing tactics

JAVA
@ArchTest
static final ArchRule ddd = JMoleculesDddRules.all();

6.20 Worked example — learning path

StageFocus
1Strategic: map & classify
2Tactical in core context
Table 22 — Adoption order

6.21 Worked example — interview answer

LevelAnswer
StrategicSubdomains, contexts, maps — where & why
TacticalEntities, VOs, aggregates — how
Table 23 — Structured answer

7Common Problems & Mistakes

  • Tactical DDD without strategic design.
  • Uniform tactical depth everywhere.
  • Canonical enterprise models.
  • Strategic decisions made by one team alone.
  • Ignoring team structure in strategic design.
  • Never revisiting the map.

The most expensive mistake is the first one: teams adopt entities, repositories and aggregates because they are visible in code, while nobody decides where model boundaries lie. A close relative is the enterprise canonical model, an attempt to agree one definition of Customer or Product for the whole company, which produces endless alignment meetings and a model that fits no one. Strategic decisions taken by one team alone, or without considering team structure, create contexts that cut across ownership, so Conway's law pulls the design apart. Uniform tactical depth wastes effort in supporting areas. Finally, a context map is a model of a changing business; if it is never revisited after reorganisations or new products, it quietly stops matching reality.

8Performance & Production Considerations

AspectGuideline
OrderStrategic first, tactical per context
DepthTactical depth by subdomain type
ArtefactsContext map, canvases, ADRs
EnforcementModulith/ArchUnit for both levels
EvolutionRevisit map yearly or on big changes
Table 24 — Operational guidelines

9Architecture & Design Considerations

  • Solution architects own strategic design with the business.
  • Teams own tactical design inside their contexts.
  • Use canvases to connect both levels.
  • Invest tactical effort in the core.

10Interview Questions & Answers

Q1L1 · BasicConcept

What is strategic DDD?

Strategic DDD is the part of domain-driven design that shapes the large-scale structure of the domain and the system. It answers where model boundaries lie and why. Its main tools are subdomain classification into core, supporting and generic, which decides where to invest; bounded contexts, each with its own ubiquitous language and model; and context maps, which describe how contexts and their teams relate through patterns such as customer-supplier, conformist, open host service or anti-corruption layer. Domain vision statements and big-picture event storming support it. Strategic decisions are made with business stakeholders and architects, are expensive to reverse because they shape teams and data, and deliver most of DDD's value.

Q2L1 · BasicConcept

What is tactical DDD?

Tactical DDD is the set of patterns for expressing a rich domain model inside one bounded context. Entities have identity and a lifecycle; value objects such as Money or DateRange are immutable and compared by value; aggregates group entities and value objects behind a root that protects invariants within one transaction. Repositories load and save whole aggregates, factories create complex ones, domain services hold logic that belongs to no single entity, and domain events record that something meaningful happened. In Java 25 these map naturally onto records, sealed types and jMolecules annotations, with Spring Data repositories. Tactical design is owned by the team that builds the context, and mistakes are usually fixable with a refactoring.

Q3L2 · IntermediateConcept

Which should come first?

Strategic design should come first, because the boundaries it sets determine where tactical patterns apply and what each model must mean. If you design aggregates before deciding contexts, you end up modelling a concept like Customer that means different things to lending, cards and deposits, and the model becomes huge and contested. Strategic work first classifies subdomains, finds bounded contexts and maps their relationships; then each team applies tactical design inside its own context. In practice the two levels overlap and inform each other. Tactical modelling often reveals a missing concept or a wrong boundary, so the context map should be revisited, but the starting point should always be the big picture.

Q4L2 · IntermediateConcept

Name three strategic tools.

Three core strategic tools are subdomain classification, bounded contexts and context maps. Subdomain classification sorts the business into core, supporting and generic subdomains, so investment and the best engineers go to the core that differentiates the company, while generic areas such as identity are bought. Bounded contexts define where a particular model and ubiquitous language apply, and usually align with team ownership. Context maps show how contexts relate and integrate, using patterns like customer-supplier, conformist, shared kernel, open host service with published language, and anti-corruption layer. Supporting tools include domain vision statements, big-picture event storming, the Bounded Context Canvas and Context Mapper's DSL for keeping the strategic model as code.

Q5L3 · Senior EngineerTricky

Why is tactical DDD without strategy risky?

Because perfect building blocks inside the wrong boundary make the design worse, not better. Without strategic design, teams typically build one shared model for a term that means different things to different parts of the business. Every group adds its fields and rules, aggregates grow huge, invariants conflict, and changes need agreement from several teams, so the "rich" model becomes a contested bottleneck. Tactical patterns also get applied uniformly, so supporting CRUD areas get expensive aggregates and repositories they do not need. The bank example in this note is typical: a shared Customer service used by lending, cards and deposits. Splitting it into three contexts with translation made the tactical code simpler, not more elaborate.

Q6L3 · Senior EngineerDesign

How do you bridge strategic and tactical design?

The bridge is a per-context artefact and workshop that turns strategic decisions into design input for the team. The Bounded Context Canvas captures a context's purpose, strategic classification, inbound and outbound communication, ubiquitous language and key business decisions, so the team knows what it owns and what it publishes. Design-level event storming with the team and domain experts then turns that into commands, aggregates, policies and domain events. Spring Modulith modules or service boundaries make the strategic boundary visible in code, and jMolecules annotations with ArchUnit rules enforce tactical conventions inside it. ADRs record decisions at both levels, and insights flow back: a new concept found in tactical design may change the context map.

Q7L4 · Technical ArchitectTrade-off

Should all contexts use full tactical patterns?

No. Tactical depth should match how important and complex the subdomain is. Core domains, where the company competes, such as pricing and promotions for a retailer, justify full tactical patterns: aggregates protecting invariants, value objects, domain events and careful modelling with experts. Supporting subdomains, such as returns handling, can use a lighter approach, often simple transaction scripts or CRUD with Spring Data, because the logic is modest and over-modelling costs time. Generic subdomains like identity, email or payment gateway integration are usually bought or adopted from a SaaS or open-source product, with only an anti-corruption layer of your own. Uniform depth everywhere wastes effort in simple areas and dilutes attention from the core.

Q8L5 · Solution ArchitectScenario

How do you run strategic DDD in a large organisation?

I would run it as a facilitated, repeated process rather than a one-off design. Start with big-picture event storming over one or two days with business leads, domain experts and architects to map the end-to-end flow and pivotal events. From that, classify subdomains and agree the core with leadership, then propose bounded contexts and run context-mapping workshops with team leads to agree relationships and integration patterns, aligning contexts with team ownership. Record the result in Context Mapper or a living diagram, plus Bounded Context Canvases and strategic ADRs. Because strategic decisions span teams, give them explicit decision rights. Finally, revisit the map yearly or after reorganisations, acquisitions or major product changes.

Test your knowledge on this topic →Flashcards from this topic's 8 questions, filtered by level and type.

Free question pack

Get 100 free Core Java interview questions

Subscribe for the Book 1 question pack (PDF, every answer explained) and new tutorials once a week. No spam, unsubscribe anytime. What is in the pack?

Almost done! Check your inbox and click the confirmation link. Your download link arrives as soon as you confirm.