Skip to content

Practical examples of Domain-Driven Design (DDD) implementations using ZenWave SDK.

You can find the source code for all examples in the zenwave-playground repository.

This example shows how to use ZenWave Domain Language to apply an ubiquitous language for modeling a complete order-fulfillment microservice with Kotlin and Spring Boot.

Order Fulfillment (Kotlin)

Order Fulfillment (Kotlin)

This example shows how to build a CRUD application using API-First principles, with both OpenAPI and AsyncAPI, and DDD entities and services with JPA persistence and externalized domain events.

Customer Master Data Service (JPA)

Customer Master Data Service (JPA)

Kustomer Master Data Service (Kotlin + JPA) (Kotlin)

Section titled “Kustomer Master Data Service (Kotlin + JPA) (Kotlin)”

This is a Kotlin version of the Customer Master Data Service example.

Customer Master Data Service (JPA)

Kustomer Master Data Service (Kotlin + JPA) (Kotlin)

How to build a modular monolith for a “Clinical Tool” using multiple ZDL Domain Models , one per module.

Clinical Tool - Modulith

Clinical Tool - Modulith

How to build a modular monolith for a “Clinical Tool” using ZDL Domain Models , one per module. Kotlin Version.

Klinical Tool - Modulith

Klinical Tool - Modulith