GitPedia

Java ddd example deprecated

β˜•πŸŽ― Hexagonal Architecture + DDD + CQRS in a Java project using SpringBoot

From CodelyTVΒ·Updated March 29, 2026Β·View on GitHubΒ·
Β·Archived

> ⚠️ Deprecated project. Go to https://github.com/CodelyTV/java-ddd-example to see to the new one. The project is written primarily in Java, first published in 2019. Key topics include: bounded-context, bounded-contexts, codelytv, cqrs, ddd.

⚠️ Deprecated project. Go to https://github.com/CodelyTV/java-ddd-example to see to the new one.

β˜•πŸŽ― Hexagonal Architecture + DDD + CQRS Java example with SpringBoot

<img src="http://codely.tv/wp-content/uploads/2016/05/cropped-logo-codelyTV.png" align="left" width="192px" height="192px"/> <img align="left" width="0" height="192px" hspace="10"/>

You can do awesome stuff with Java πŸ™‚

CodelyTV
Build Status

Implementation example of a Java application following Domain-Driven Design (DDD) and Command Query Responsibility Segregation (CQRS) principles, keeping the code as simple as possible.

Take a look, play and have fun with it!

πŸš€ Environment setup

  1. Install Java: brew cask install java
  2. Clone this repository: git clone https://github.com/CodelyTV/cqrs-ddd-java-example
  3. Execute some Gradle lifecycle tasks in order to check everything is OK:
    1. Create the project JAR and other project artifacts:
      ./gradlew assemble --warning-mode all
    2. Run the tests and plugins verification tasks:
      ./gradlew check --warning-mode all
    3. Execute the main application entrypoint:
      ./gradlew run --warning-mode all
  4. Start developing!

πŸ€” How to update dependencies

🀝 Contributing

There are a lot of missing things (add swagger/OpenAPI, improve documentation...), feel free to add them if you want!

Contributors

Showing top 2 contributors by commit count.

View all contributors on GitHub β†’

This article is auto-generated from CodelyTV/java-ddd-example-deprecated via the GitHub API.Last fetched: 6/14/2026