How to learn SpringBoot, Spring family bucket function, Springboot related concepts

1. How to learn Spring Boot

Conditions for learning SpringBoot : Can use Spring + understand AOP, IOC + can simply use Spring MVC

SpringBoot software requirements : The latest SpringBoot version is 2.7.5

  1. Java8-19
  2. Spring Framework 5.3.23 and above

2. Spring family bucket function

Function:

  1. Responsive programming: an asynchronous and non-blocking approach with better performance. Applied Spring WebFlux
  2. Serverless: faas, function as a service. Deploy to the cloud platform, real-time billing according to volume
  3. Event Driver: The distributed system processes data in a real-time and responsive manner in the form of Events
  4. Batch: data batch processing

Functions of each module:

  1. Spring Data: read JDBC, Redis and other database data
  2. Spring Session: Solve the problem of session session storage sharing
  3. Spring Batch: Batch processing of data
  4. Spring AMQP: read and write real-time message queue data

3. SpringBoot related concepts

SpringBoot is a one-stop framework for integrating the Spring family bucket, but it can only develop stand-alone applications. Distributed applications can be developed with Spring Cloud . In this way, the problems of configuration management (distributed configuration modification), service monitoring, link tracking (multi-layer data calls form links), log management, and task scheduling can be solved.

Noun concept:

  1. Servlet: Servlet is a set of specifications for Java Web development, and a Servlet program is a Java class written according to the Servlet specification. Servlet containers that implement the Servlet specification include Tomcat, Jetty, etc.

Advantages :

  • Create a stand-alone Spring application
  • Embedded Web Server
  • Automatic starter dependency, simplifying build configuration
  • Automatically configure Spring and third-party functions
  • Provides production-level monitoring, health checks, and external configuration (configuration can be modified externally)
  • No code generation, no need to write XML

Guess you like

Origin blog.csdn.net/yy8623977/article/details/127619512