Writing in the front

Many people have left me messages on wechat saying that they want to see Spring’s mind map, and they are also planning to write it. Compared to other frameworks, the Spring project has more modules, such as IOC, MVC, AOP and so on, which are the main blocks of Spring. It’s impossible to cover all of them in one article, so I’m going to give you an overview of Spring first and then ioc, MVC, and AOP later.

About the 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 that runs through the presentation, business, and persistence layers. But Spring can still be seamlessly integrated with other frameworks.

Sping architecture

The Spring framework exists in modules. All modules are optional, depending on your needs, except for the Core Spring Core Container. There are about 20 + modules.

Spring3 differs from Spring4 in that 4.0 mainly supports Java 8’s new functional syntax, as well as enhanced support for various new web technologies such as http-streaming and websocket.

In general, Spring is divided into seven modules:

Spring’s main JAR package

Commonly used annotations

Beans can be injected and assembled in many ways, through XML, getSet, constructors, or annotations. An easy way to do this is to use Spring annotations, which provide a wide range of annotations to make reading and developing projects easier.

Third Party Framework Integration

The Spring framework was developed not to replace existing excellent third-party frameworks, but to connect them all in an integrated way. Here is a summary of some excellent frameworks that are often integrated.

The last

This section gives a brief introduction to Spring, not the basics. Spring is so broad and profound, I hope you can study hard.

Finally, please pay attention to my wechat official account Java-MindMap. More Java mind maps and project materials will be updated every three or four days, bringing you into the world of memorizing brain maps.