Skip to content

smartboat/ddd-base

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

142 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DDD Base

Domain Driven Design base package for Java.

Features

  • Annotations
  • base classes for entity, domain event etc
  • domain event
  • spring annotation integration???

Components

  • Data: Entity, VO and Aggregate
  • Behaviour: Repository, Service, Factory and Specification
  • Event
  • Infrasturcture

Code Structure

Please visit src/test/java for code structure

If you use Kotlin to develop application, the structure will be different, please add entity, vo and repository in the same kt file.

Event Sourcing

Please extends BaseDomainEvent and use ApplicationEventPublisher to publish event.

please refer https://spring.io/blog/2015/02/11/better-application-events-in-spring-framework-4-2

About

DDD(Domain Driven Design) base package for java

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Java 100.0%