Skip to content
CAI
Software that uses CAICheck a score

odrotbohm/tactical-ddd-workshop

54.6

Adequate · 8 November 2026

1.1k

lines of production code

Java

primary language

7

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

This system is a Java-based educational workshop demonstrating Domain-Driven Design (DDD) principles using Spring Modulith and jMolecules. It provides concrete implementations of DDD building blocks, such as value objects and aggregates, alongside structural verification tests to enforce architectural rules. The codebase also includes a complete example of an order and inventory management system that utilizes event-driven communication between modules.

Features

Added Maven wrapper and project scaffolding

The project now includes a Maven wrapper (mvnw/mvnw.cmd) to ensure consistent build environments, alongside a .gitignore file and a readme.adoc that outlines the structure of the 'Tactical DDD with Java' workshop, describing four modules covering DDD building blocks, jMolecules integrations, and Spring Modulith usage.

(repo-wide) · high confidence

Introduce EmailAddress value object and serialization tests

Added a new EmailAddress value object in the integration module, implemented as a Java record with basic validation. Included corresponding integration tests (EmailAddressSerializationTests) that verify how the object serializes via Jackson, alongside a test utility class (TestUtils) to check for ValueObject markers. Also added the main application class and a logback configuration for console output.

02-integration · high confidence

Introduce a complete DDD-based order and inventory management module

The 04-modulith area now contains a full example of a Spring Modulith application implementing Domain-Driven Design. It includes a Catalog module for managing products, an Inventory module for tracking stock levels, and an Orders module for processing and completing orders. The implementation uses jMolecules for DDD building blocks and Spring Modulith for module boundaries and event-driven communication. The example demonstrates how modules interact via domain events, such as the InventoryListener reacting to product creation and order completion events. Additionally, the change includes comprehensive integration and unit tests for each module, ensuring that event publication and consumption work correctly across module boundaries.

04-modulith · high confidence

Behavioural changes

Updated Maven Wrapper to version 3.9.12

The Maven Wrapper configuration has been updated to use version 3.3.4 of the wrapper script and to download Apache Maven 3.9.12. This ensures that the project uses a consistent, pre-configured version of Maven for builds, eliminating potential discrepancies between developers' local environments.

.mvn, 03-boilerplate · high confidence

Test coverage

Add DDD aggregate structure verification tests

Added structural verification tests for the 01-verification module that enforce Domain-Driven Design rules using ArchUnit. The test suite ensures that aggregate roots declare identifiers and that aggregate references are made via IDs or associations rather than full object references. The implementation includes new Java classes for Address, Customer, and Order, utilizing Java records for value objects and identifiers, alongside a test utility and logback configuration to support these checks.

01-verification · high confidence

Dependencies

Upgrade to Spring Boot 4.1 RC1 and Java 25

The project's root \pom.xml\ has been updated to use Spring Boot 4.1.0-RC1 as the parent, and the Java version has been upgraded to 25. Additionally, the build configuration now includes the Spring Milestones and Snapshots repositories to resolve dependencies like Spring Modulith 2.1.0-RC1 and jMolecules 2025.0.2.

(dependencies) · high confidence

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 58 → 55 (-3.8)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.

Lenses

  • Code Health 83 → 83 (+0.0)
  • Architecture 92 → 92 (-0.3)
  • Maturity 54 → 43 (-11.3)
  • Readiness 47 → 47 (+0.0)
  • Security 100 → 100 (+0.0)
  • Domain Modelling 74 → 74 (+0.0)

New (7)

  • Documentation: no build, run or usage example (readme.adoc)
  • Orphaned file (03-boilerplate/src/main/java/de/odrotbohm/examples/ddd/persistence/Order.java)
  • Orphaned file (04-modulith/src/main/java/de/odrotbohm/examples/ddd/modulith/inventory/Inventory.java)
  • Orphaned file (04-modulith/src/main/java/de/odrotbohm/examples/ddd/modulith/inventory/InventoryListener.java)
  • Orphaned files with no living knowledge
  • Outdated (test -- module accessors.smart (auto)): net.minidev:accessors-smart
  • Outdated (test -- module json.smart (auto)): net.minidev:json-smart

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

odrotbohm/tactical-ddd-workshop was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 8 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit ecee869bb448f054becb56fa778ba499b5f86809 — the exact code this score is about.
  • Scored under rubric-2026.11.2 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.3+preprod-45ab2cab63de.