DDD Ciklum Java Saturday 1 November 2014

Preview:

Citation preview

Domain Driven Design

Strategy

Игра без стратегии – первый шаг к проигрышу

Ubiquitous LanguageBefore...

Business AnalystDomain Expert

DevTeam

communication and collaboration

Language for communication

Bounded Context A

Bounded Context B

Bounded Context C

Context Map

Example

Tactics

Architecture solutions

not bad but...

Sequence Diagram

not bad but...

Model Driven Design

Layered architecture

Domain Layer

Domain event

Domain Service

Entity Entity

Aggregate

Domain Service

Avoid bidirectional

@OneToMany

@ManyToOne

Reference Aggregate

Repository

End

Recommended