Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Domain-Driven Design
  3. DDD Leaven

DDD Leaven

NOASSERTIONJava

A production-ready DDD and CQRS sample implementation for advanced domain modeling with Spring and JPA.

GitHubGitHub
881 stars248 forks0 contributors

What is DDD Leaven?

ddd-leaven-v2 is a sample implementation of Domain-Driven Design (DDD) and Command Query Responsibility Segregation (CQRS) patterns using Spring and JPA. It helps developers start with advanced domain modeling by providing production-ready code examples and best practices. The project addresses real-world problems and solutions without technical compromises.

Target Audience

Java developers and architects building enterprise applications who want to implement DDD and CQRS patterns effectively. It's particularly useful for teams exploring domain modeling techniques and looking for practical, production-ready examples.

Value Proposition

Developers choose this project because it provides a complete, noninvasive implementation of DDD building blocks without unnecessary framework complexity. Its portable architecture allows adaptation to any Java platform, and the focus on linguistic techniques helps bridge the gap between domain experts and technical implementation.

Overview

DDD-CqRS sample v2.0 project that helps you with starting out advanced domain modeling using Spring, JPA and testing

Use Cases

Best For

  • Learning DDD and CQRS patterns with real-world Java examples
  • Starting a new enterprise application with Spring and JPA
  • Implementing advanced domain modeling techniques in production code
  • Studying portable architecture design for Java frameworks
  • Exploring linguistic techniques for domain knowledge exploration
  • Building maintainable enterprise applications with clear separation of concerns

Not Ideal For

  • Applications with straightforward CRUD operations lacking complex business logic
  • Teams preferring framework-driven development with minimal custom architecture
  • Projects under tight deadlines needing quick, out-of-the-box solutions

Pros & Cons

Pros

Complete DDD Implementation

Presents sample implementation of all DDD Building Blocks without technical compromises, addressing real-world problems as highlighted in the README goals.

Advanced Linguistic Techniques

Provides tools for exploring domain expert knowledge during modeling sessions, bridging the gap between business and technical teams, as described in the project's key features.

Production-Ready Codebase

Offers well-crafted code ready for utilization in real projects, ensuring high quality and maintainability, according to the README's emphasis on practical use.

Portable Architecture Design

Avoids platform-specific solutions, allowing implementation with any Java framework, despite being based on Spring and JPA, as stated in the portable architecture section.

Cons

Incomplete Documentation

The wiki is still under construction, forcing users to rely on external resources like Prezi and Google Groups for navigation and support, as noted upfront in the README.

High Customization Overhead

The 'leaven' philosophy requires deep understanding and modification of the code, which can be time-consuming and demands advanced DDD expertise, as emphasized in the 'You are the Architect!' section.

No Pre-Built Components

As a sample project, it lacks plug-and-play features, necessitating significant setup and integration effort rather than offering drop-in solutions.

Frequently Asked Questions

Quick Stats

Stars881
Forks248
Contributors0
Open Issues0
Last commit2 years ago
CreatedSince 2013

Tags

#software-architecture#spring-framework#cqrs#domain-driven-design#enterprise-application#java#design-patterns#domain-modeling#jpa

Built With

J
JPA
S
Spring
J
Java

Included in

Domain-Driven Design12.2k
Auto-fetched 1 day ago

Related Projects

DDD By Examples - LibraryDDD By Examples - Library

A comprehensive Domain-Driven Design example with problem space strategic analysis and various tactical patterns.

Stars5,873
Forks832
Last commit19 days ago
DDDSampleDDDSample

This is the new home of the original DDD Sample app (previously hosted at sf.net)..

Stars5,292
Forks1,496
Last commit1 year ago
IDDD SamplesIDDD Samples

These are the sample Bounded Contexts from the book "Implementing Domain-Driven Design" by Vaughn Vernon: http://vaughnvernon.co/?page_id=168

Stars3,945
Forks917
Last commit3 years ago
Event Sourcing and CQRS ExamplesEvent Sourcing and CQRS Examples

Event Sourcing and CQRS in practice.

Stars599
Forks122
Last commit1 day ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub