SSM framework set is integrated by two open source frameworks, Spring and MyBatis (SpringMVC is a part of Spring). It is usually used as a framework for web projects with simple data sources.
1, spring
Spring is like a big factory, assembling beans in the whole project. In the configuration file, you can specify that the constructor of the entity class is called with specific parameters to instantiate the object. It can also be called adhesive in engineering.
2、SpringMVC
SpringMVC intercepts user requests in the project, and its core Servlet dispatcher Servlet assumes the role of intermediary or foreground.
3、mybatis
Mybatis is the encapsulation of jdbc, which makes the underlying operation of the database transparent.
Extended data
SSM framework set is a part of software architecture. The following are the types of software architecture:
1, logical architecture
The relationship between various elements in a software system, such as external system interface, user interface, business logic elements, database, etc.
2. Physical architecture
How to put software components into hardware? For example, the physical architecture of distributed systems in Shanghai and Beijing means that all components belong to physical devices, mainly including hosts, integration servers, application servers, proxy servers, storage servers, report servers, Web servers, network probes and so on.