Tagged articles

Domain Event

3 articles · Page 1 of 1
Yumin Fish Harvest
Yumin Fish Harvest
Jul 10, 2026 · Backend Development

When One Aggregate Isn’t Enough: Using Domain Services and Domain Events

The article explains why cross‑aggregate business logic belongs in domain services, how domain events capture immutable business facts, and demonstrates practical Spring Boot implementations—including in‑process publishing, message‑queue integration, and the Outbox pattern—while highlighting pitfalls and verification techniques.

Domain EventDomain Servicedomain-driven design
0 likes · 10 min read
When One Aggregate Isn’t Enough: Using Domain Services and Domain Events
JavaEdge
JavaEdge
Aug 23, 2024 · Backend Development

Mastering DDD Tactical Design: Entities, Value Objects, Aggregates and More

This article delves into the tactical design of Domain‑Driven Design, explaining core building blocks such as entities, value objects, aggregates, domain events, repositories, application services, and domain services, and shows how they help keep business logic centralized and expressive.

Application ServiceDDDDomain Event
0 likes · 9 min read
Mastering DDD Tactical Design: Entities, Value Objects, Aggregates and More
JD Tech
JD Tech
Aug 10, 2023 · Backend Development

Understanding Aggregate Roots and Domain Events in Domain-Driven Design with a Java Demo

This article explains the core DDD concepts of aggregate roots and domain events, illustrates them through a simplified e‑commerce scenario, and provides complete Java code examples for entities, value objects, events, and aggregate services to help developers apply DDD in backend systems.

Aggregate rootDomain Eventdomain-driven design
0 likes · 11 min read
Understanding Aggregate Roots and Domain Events in Domain-Driven Design with a Java Demo