DDD with repository by JPA: simple example

By | 30 June, 2014

Model schema

Under develop

The code published is a simple example with the following requisites:

  • Stack:
    • Java SE (model)
    • Java EE (JPA)
    • Dependencies management: Maven
  • Model:
    • Based on DDD
    • Using of repositories
    • Core: Completly agnostic from the persistence infraestructure
  • Persistence:
    • Implemented by JPA – EclipseLink
    • Using Collection-Oriented repositories
    • Ports as contractual definition for persistence functionality
  • Methodology:
    • TDD

Coming up

  • Automatic injection managment
  • Adding new persistence repsositoty
  • Presentation subdomain

Source link



Leave a Reply

Your email address will not be published. Required fields are marked *