(Turn) Spring mind map, so that spring is no longer difficult to understand

           Preface: I plan to start a series of articles on the Spring module, check the existing articles and blogs on the Internet, and find that there are a lot of introductions about Spring , including many articles that explain the profound things in a simple way . In particular, I found that the mind map can briefly explain related concepts and their relationships, so I quoted and organized an article introducing the whole picture of Spring to share with you.

This article focuses on the following issues:

  • About Spring
  • Spring Architecture
  • Spring's main jar package
  • Common Notes
  • Third-party framework integration

1. About Spring

       Spring is an open source framework created to address the complexities of enterprise application development. One of the main advantages of the framework is its layered architecture, which allows you to choose which components to use while providing an integrated framework for J2EE application development.

       It is a comprehensive, one-stop solution for enterprise application development, which runs through the presentation layer, business layer, and persistence layer. But Spring still integrates seamlessly with other frameworks.


 
2. Spring Architecture 

         The Spring framework exists in sub-modules. Except for the core Spring Core Container (ie, the Spring container), which is a necessary module, other modules are optional, depending on the needs. There are about 20+ modules.

         Spring 4.0 mainly supports the new functional syntax of Java 8, and strengthens better support for various new network technologies such as http-streaming and websocket.

         Generally speaking, Spring is mainly divided into 7 modules:

       Common modules:


 

 

3. Spring's main jar package



 

 4. Common Notes

         There are many ways of bean injection and assembly, such as xml, getset, constructor or annotation. The simple and easy way is to use Spring's annotations. Spring provides a large number of annotation methods to make the project more convenient to read and develop.

         Common Notes:


 

 

          Annotation comparison at assembly time: 


 

 5. Third-party framework integration

          The development of the Spring framework is not to replace the existing excellent third-party frameworks, but to connect them all in an integrated way. Some excellent frameworks that are often integrated are summarized below.


 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326391441&siteId=291194637