Huawei Technical Officer Collector's Edition: SpringBoot's all-you-can-eat notes, all-inclusive, so comprehensive

Preface

As a developer, you are no stranger to Spring Family Bucket, and Spring Boot from the Spring family is a popular framework provided by the Spring team. Its existence solves the more cumbersome use of the Spring framework, so mastering SpringBoot is proficient A process essential to Spring.

During the interview, the relevant content of SpringBoot will be asked by the interviewer. Almost the first-line Internet has certain regulations on Spring for the job requirements of technical posts, so it is urgent to learn Spring.

Today, we will mainly learn SpringBoot related content together. This HUAWEI Great God Collector's Edition will share with you-SpringBoot All-Excellent Notes, which is so comprehensive!

If you need the help of SpringBoot's all-you-can-note PDF version, you can get it for free by adding a small assistant VX (gyhycx7980) as shown in the picture below!

HUAWEI Great God Collector's Edition: SpringBoot's all-you-can-eat notes, everything is too comprehensive

 

PART1: Getting started with SpringBoot to lay a solid foundation

1. The coming of SpringBoot

  • The history of Spring
  • Annotation or XML
  • Advantages of SpringBoot
  • Comparison of traditional Spring MVC and Spring Boot

HUAWEI Great God Collector's Edition: SpringBoot's all-you-can-eat notes, everything is too comprehensive

 

2. Talk about the development environment and basic development

  • Set up Spring Boot development environment
  • Spring Boot's dependencies and automatic configuration
  • Use custom configuration
  • Develop your own Spring Boot project

HUAWEI Great God Collector's Edition: SpringBoot's all-you-can-eat notes, everything is too comprehensive

 

3. Spring IOC under full annotation

  • Introduction to IOC containers
  • Assemble your Bean
  • Dependency injection
  • life cycle
  • Use properties file
  • Conditional Assembly Bean
  • Bean scope
  • Use @Profile
  • Introduce XML configuration Bean
  • Use Spring EL

 

4. Start convention programming-SpringAOP

  • Convention programming
  • The concept of AOP
  • Detailed AOP development
  • Multiple facets

 

PART2: Cultivation Cheats for SpringBoot Upgrade

1. Access the database

  • Configure data source
  • Use JDBC Template to operate database
  • Use JPA (Hibernate) to manipulate data
  • Integrate MyBaits framework

HUAWEI Great God Collector's Edition: SpringBoot's all-you-can-eat notes, everything is too comprehensive

 

2. Talk about database transaction processing

  • JDBC database transaction
  • Use of Spring declarative transactions
  • Isolation level
  • Dissemination behavior
  • @Transactional self-call invalidation problem

HUAWEI Great God Collector's Edition: SpringBoot's all-you-can-eat notes, everything is too comprehensive

 

3. Use the performance tool-Redis

  • Introduction to the spring-data-redis project
  • Configure and use Redis in Spring Boot
  • Some special usages of Redis
  • Use Spring cache annotations to operate Redis

HUAWEI Great God Collector's Edition: SpringBoot's all-you-can-eat notes, everything is too comprehensive

 

4. Document database-MongoDB

  • Configure MongoDB
  • Use MongoTemplate instance
  • Use JPA

HUAWEI Great God Collector's Edition: SpringBoot's all-you-can-eat notes, everything is too comprehensive

If you need the help of SpringBoot's all-you-can-note PDF version, you can get it for free by adding a small assistant VX (gyhycx7980) as shown in the picture below!

PART3: The actual development of SpingBoot advanced learning

1. First acquainted with Spring MVC

  • Design of Spring MVC Framework
  • SpringMVC process
  • Customize the initialization of Spring MVC
  • Spring MVC example

HUAWEI Great God Collector's Edition: SpringBoot's all-you-can-eat notes, everything is too comprehensive

 

2. In-depth Spring MVC development

  • Processor mapping
  • Get controller parameters
  • Custom parameter conversion rules
  • data verification
  • Data model
  • Views and view resolvers
  • File Upload
  • Interceptor
  • globalization
  • Supplements to Spring MVC

HUAWEI Great God Collector's Edition: SpringBoot's all-you-can-eat notes, everything is too comprehensive

 

3. Build a REST style website

  • REDT in brief
  • Use Spirng MVC to develop REST style endpoints
  • Client requests RestTemplate

HUAWEI Great God Collector's Edition: SpringBoot's all-you-can-eat notes, everything is too comprehensive

 

4. Security-Spring Security

  • Overview and simple safety certification
  • Use WebSecurityConfigurerAdapter to customize
  • Custom user service information
  • Limit request
  • User authentication function

HUAWEI Great God Collector's Edition: SpringBoot's all-you-can-eat notes, everything is too comprehensive

 

5. Learn some other Spring technologies

  • Asynchronous thread pool
  • Asynchronous message
  • Timed task
  • WebSocket application

 

6.Spring5 framework-WebFlux

  • Basic concept
  • Develop WebFlux server through Spring MVC
  • In-depth WebFlux server-side development
  • In-depth client development
  • Use routing function to develop WebFlux

HUAWEI Great God Collector's Edition: SpringBoot's all-you-can-eat notes, everything is too comprehensive

 

7. Practice it-panic buying goods

  • Design and development (database table design + use MyBatis to develop persistence layer + use Spring to develop business layer and control layer + test and configuration)
  • High concurrency development (super discovery + pessimistic lock + optimistic lock + use Redis to handle high concurrency)

HUAWEI Great God Collector's Edition: SpringBoot's all-you-can-eat notes, everything is too comprehensive

 

8. Deployment, testing and monitoring

  • Deploy and run
  • test
  • Actuator monitoring endpoint
  • HTTP monitoring
  • JMX monitoring

HUAWEI Great God Collector's Edition: SpringBoot's all-you-can-eat notes, everything is too comprehensive

 

9. Distributed development-Spring Cloud

  • Service governance and service discovery-Eureka
  • Calls between microservices
  • Circuit breaker-Hystrix
  • Routing gateway-Zuul
  • Use @SpringCloudApplication

HUAWEI Great God Collector's Edition: SpringBoot's all-you-can-eat notes, everything is too comprehensive

 

PART4: SpringBoot knowledge points supplement

  • A1: Select the embedded server
  • A2: Modify trademark
  • A3: In-depth Spring Boot automatic assembly

 

to sum up

Obviously, microservices are the future development trend, and the project will shift from the traditional architecture to the microservice architecture bit by bit. Whether you are an Internet talent or a practitioner in a traditional industry, it is very important to learn popular technologies. As a technology strongly recommended by the government, SpringBoot is the key point that every developer should master.

Learning is not difficult, but the key lies in self-consciousness and persistence.

If you also need this SpringBoot excellent note to help you learn SpringBoot, the author is happy to share. All you need to do is to add a small assistant VX (gyhycx7980) to the picture below after one-click three consecutive connections.

Guess you like

Origin blog.csdn.net/GYHYCX/article/details/114025219