Domain Driven Design Java Project Structure
Project structure of domain driven design in maven java spring boot closed ask question.
Domain driven design java project structure. User interface application domain and infrastructure. Posted by obprado on july 13 2016 july 13. For example in a typical structure used in most projects. The previous long lived application had a package structure like following one.
3 thoughts on package structure in a domain driven design project domain driven design and package organization code for fun and money july 13 2016on5 28 pm reply in applications. In domain driven design your objective is to create a model of the domain. You need to identify what are the items objects you need to accomplish the desired functionalities of your application. You need to identify the relationships among different objects and how they interact among themselves.
In domain driven design you have plenty useful building blocks which can help you with managing accidental complexity of your system. Domain driven design and package organization. Every project will have a parts that are not adequate for others but the bits that are repeated a custom package makes it more testable. Plus it can more easily seperated into microservices.
Src main java commonclass java adomain adomainvaluetype java adomainentity java adomainusecase java. But before you start tot apply them you need to answer very important question. Being a design philosophy it helps to understand the concepts but i was wondering how should i structure my project according to ddd. I have recently started reading about domain driven design and most of the places it s explained or discussed more in conceptual terms.