Introduction

Eric Evans' book Domain-Driven Design: Tackling Complexity in the Heart of Software prescribes a domain-driven approach to designing object-oriented software. The Domdrides library tries to help facilitate this design approach for projects written in Java. Currently, Domdrides helps with the following domain-driven design concepts:

  • Entities - an entity is a persistent object in your domain model such as a Person or an Account. Domdrides provides useful base classes for implementing entities.
  • Repositories - a repository contains entities of a specific type. For example, you might have a PersonRepository or AccountRepository in your domain model. Implementations for Hibernate, The Java Persistence API (JPA) , and iBATIS are available for you to extend.