Domain driven design is a great way to build applications. You can isolate the business from the infrastructure and speak with non-technical team members using the ubiquitous language. The domain should be clean from infrastructure, but as we will see in the next lines some compromises need to be made. Lombok. Do we use lombok… Continue reading Domain Driven Design Compromises
Category: Design
Data transfer object
Data transfer object(DTO) or transfer object as you find it under the CoreJ2EE patterns it's used to bundle data from multiple places into one object which we send to a consumer. Usually we find this at the business and data layers of our applications. Its purpose is to decouple these layers from the presentation. For… Continue reading Data transfer object
Domain driven design concepts
Lately I've been fascinated by the idea of domain driven design. Before diving more deeply into it we must understand the concepts that are being used. Entities Each object should be uniquely identified. The entity should contain those attributes that are required in order to uniquely identify the object. For example for a Car the… Continue reading Domain driven design concepts