What are java three-tier architecture and DDD hierarchical architecture?
Article Introduction:Three-tier architecture The traditional three-tier architecture is mainly divided into business interface layer, business logic layer, and data access layer. Business interface layer: mainly the definition of API, including resource path definition, request message acceptance, response message return, request encoding, etc. The content of the definition; business logic layer: mainly does business logic processing, this layer includes data mapping DTO to VO, writing business core logic, combining different data warehouses, and doing business logic; data access layer: mainly doing data storage, including data mapping VO to PO, definition of data interface, writing of mapping XML. DDD layered architecture DDD layered architecture can also be called a four-layer architecture, which mainly consists of user interface layer, application layer, domain layer, and basic layer; user interface layer: responsible for displaying information to users and interpreting user instructions, such as
2023-05-15
comment 0
3062