maven from entry to proficiency Chapter 7 to achieve project architecture

Chapter 1 Single Architecture

If you want to find the jar package

https://mvnrepository.com/

The way to import the jar package belongs to the category of architecture design:

  • According to the judgment of technology selection, determine the technology that needs to be applied

  • After determining the version of the technology, the dependency between jar package versions may cause

  • build dependency list

  • Project division modules
    According to the characteristics of the industry to which the project belongs, or the specific task requirements of the project, the degree of expected access pressure of the project, the scalability of project design, and the overall system structure of the project

1 single architecture all in one

Without any splitting, all codes, various configuration files, and various resources are placed in the same project

  • A project contains a project
  • Export a war package
  • Put it on a tomcat
    project start, change the default position of maven, click the small wrench

Select specific dependencies
insert image description here
Main package with subpackages
insert image description here

Chapter 2 Building the Environment

1 persistence layer

2 transaction control

3 expression

4 Auxiliary controls

Guess you like

Origin blog.csdn.net/CNMBZY/article/details/130649693