A Java EE layered architecture for domain driven design
With the increasing complexity of software business, the traditional layered architecture based on MVC mode gradually exposes the shortcomings of tight coupling of service layer logic, difficult maintenance and expansion. To solve the above problems, the paper proposes a 4-tier architecture model based on DDD+ESSSDJ framework. This architecture takes domain driven design as the methodology, and designs the domain model layer around the system business. The presentation layer is established with Element UI, and the controller is realized through Spring MVC. Spring Data JDBC+MinIOService+AuthService is used to interact with the infrastructure layer, and Spring is used to integrate the application layer, domain layer and infrastructure layer. Based on the application background of the target assessment system of colleges and universities, the strategic design part focuses on the division of fields and the establishment of a ubiquitous language. In the tactical design phase, the design and implementation process of the domain model is described in detail around the indicator domain. Finally, it shows the partial implementation effect of the target assessment system. The practice results show that the domain driven design method can reasonably guide the establishment of the business model, avoid the coupling state formed by the core logic scattered in the Service layer, and the application of related frameworks can improve the efficiency of system development.
Authors
- Hongji Ouyang
- Thelma D. Palaoag (ORCID: https://orcid.org/0000-0002-5474-7260)
Institutions
- University of the Cordilleras (PH)
Publication Details
- Published
- 2025-03-21
- DOI
- https://doi.org/10.1109/iscait64916.2025.11010347
- Primary Topic
- Model-Driven Software Engineering Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Xianyang Normal University