Implementing DDD Building Blocks in Java

1 · Oliver Drotbohm · March 17, 2020, 5:15 p.m.
When it comes to implementing building blocks of DDD, developers often struggle to find a good balance between conceptual purity and technical pragmatism. In this article I’m going to discuss an experimental idea to express some of tactical design concepts of DDD in Java code and derive the metadata to e.g. implement persistence without polluting the domain model with annotations on the one hand and an additional mapping layer on the other. Context In Java applications the building blocks of Dom...