odrotbohm / tactical-ddd-workshop

Sample code for my Tactical DDD with Java workshop

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tactical DDD with Java

This repository contains sample code for my "Tactical DDD with Java" workshop. It consists of 4 modules that showcase different aspects of how to write architecturally evident code with jMolecules and structure applications with Moduliths.

1. DDD Building Blocks and structural validation

Showcases…

  • … how using jMolecules DDD abstractions in a domain model allow to verify rules originating from the concepts expressed via jMolecules ArchUnit integration.

2. Out of the box port integration for jMolecules types

Showcases…

3. Reducing boilerplate code for persistent models

Showcases…

4. Building low-coupled modules using Spring Modulith

Showcases…

  • … the package convention to define logical modules.

  • … strictly models cross-aggregate references as jMolecules Associations.

  • … using domain events to implement interaction between modules and avoid bean references across module boundaries.

  • … implementing tests that verify business functionality around the published and consumed events.

  • … the use of Spring Modulith’s Documenter to create documentation around the module structure, relevant components of each module and their interaction.

About

Sample code for my Tactical DDD with Java workshop

License:Apache License 2.0


Languages

Language:Java 100.0%