Known as the most complete Spring family bucket notes: Spring+Spring Boot+Spring Cloud+Spring MVC

Recently, the editor has compiled the Spring family bucket notes of the next-line architects: Spring+Spring Boot+Spring Cloud+Spring MVC, and share them with you to learn together~

01 Spring

Spring is a lightweight inversion of control (IoC) and aspect-oriented (AOP) container framework. The Spring framework was created due to the complexity of software development. Spring uses basic JavaBeans to accomplish things that could only be done by EJB before. However, the use of Spring is not limited to server-side development. From the perspective of simplicity, testability, and loose coupling, most Java applications can benefit from Spring.

1.1 Spring interview essential questions + analysis

  1. What is the Spring framework? What are the main modules of the Spring framework?
  2. What are the benefits of using the Spring framework?
  3. What are the different types of events in the Spring framework?
  4. What design patterns are used in the Spring framework?
  5. What is Inversion of Control (IOC)?
  6. Please explain the IoC in the Spring framework?
  7. What is the difference between BeanFactory and ApplicationContext?
  8. How many ways to configure Spring?
  9. How to configure Spring based on XML configuration?
  10. How to configure Spring based on Java configuration?
  11. How to configure Spring with annotations?
  12. Please explain the life cycle of Spring Bean?
  13. What is the difference between the scope of Spring Bean?
  14. What are Spring inner beans?
  15. Are singleton beans in the Spring framework thread-safe?
  16. Please give an example of how to inject a Java Collection in Spring?
  17. How to inject a Java.util.Properties into Spring Bean?
  18. Please explain the automatic wiring of Spring Bean?
  19. Please explain the difference in auto-assembly mode?
  20. How to turn on annotation-based automatic assembly
  21. Please give an example to explain the @Required annotation?
  22. Please give an example to explain the @Autowired annotation?
  23. Please give an example of @Qualifier annotation?
  24. What is the difference between constructor injection and set value injection?
  25. What is the difference between FileSystemResource and ClassPathResource?

Spring family bucket notes: Spring+Spring Boot+Spring Cloud+Spring MVC

If you need to get it, it’s troublesome one-click triple-link + comment, and then add VX (tkzl6666) to get it for free

1.2 Spring study notes

(1) In-depth analysis of Spring source code

  1. The first part of the core implementation
  • Chapter 1 Spring Overall Architecture and Environment Construction
  • Chapter 2 Basic Implementation of Containers
  • Chapter 3 Resolution of Default Labels
  • Chapter 4 Analysis of Custom Labels
  • Chapter 5 Bean Loading
  • Chapter 6 Functional Expansion of Containers
  • Chapter 7 APO
  1. The second part of enterprise applications
  • Chapter 8 Database Connection JDBC
  • Chapter 9 Integration of MyBatis
  • Chapter 10 Affairs
  • Chapter 11 Spring MVC
  • Chapter 12 Remote Services
  • Chapter 13 Spring Messages

Spring family bucket notes: Spring+Spring Boot+Spring Cloud+Spring MVC

 

(2) Spring actual combat

  1. The first part of the core of Spring
  • Chapter 1 Spring Journey
  • Chapter 2 Assembling Beans
  • Chapter 3 Minimizing Spring XML Configuration
  • Chapter 4 Aspect-oriented Spring
  1. The second part of the core components of the Spring application
  • Chapter 5 Conquering the Database
  • Chapter 6 Transaction Management
  • Chapter 7 Building with SpringMVC
  • Chapter 8 Using Spring Web Flow
  • Chapter 9 Securing Spring Applications
  1. The third part of Spring integration
  • Chapter 10 Using Remote Services
  • Chapter 11 Adding REST Features to Spring
  • Chapter 12 Spring Messages

Spring family bucket notes: Spring+Spring Boot+Spring Cloud+Spring MVC

 

1.3 Spring learning mind map

Spring family bucket notes: Spring+Spring Boot+Spring Cloud+Spring MVC

If you need to get it, it’s troublesome one-click triple-link + comment, and then add VX (tkzl6666) to get it for free

02 Spring Boot

Spring Boot is a new framework provided by the Pivotal team. Its design purpose is to simplify the initial setup and development process of new Spring applications. The framework uses a specific way to configure, so that developers no longer need to define boilerplate configurations. In this way, Spring Boot is committed to becoming a leader in the booming field of rapid application development.

2.1 Spring Boot interview essential questions + analysis

  1. What is Spring Boot?
  2. What are the advantages of Spring Boot?
  3. What is JavaConfig?
  4. How to reload changes on Spring Boot without restarting the server?
  5. What is the monitor in Spring Boot?
  6. How to disable Actuator endpoint security in Spring Boot?
  7. How to run Spring Boot applications on custom ports?
  8. What is YAML?
  9. What is Spring Profiles?
  10. What is Spring Batch?
  11. How to integrate Spring Boot and ActiveMQ?
  12. How to use Spring Boot to implement paging and sorting?
  13. What is Swagger? Have you implemented it with Spring Boot?
  14. What is a FreeMarker template?
  15. How to use Spring Boot to implement exception handling?
  16. Which starter maven dependencies did you use?
  17. What is a CSRF attack?
  18. What is WebSockets?
  19. What is AOP?
  20. What is Apache Kafka?
  21. How do we monitor all Spring Boot microservices?

Spring family bucket notes: Spring+Spring Boot+Spring Cloud+Spring MVC

 

2.2 Spring Boot study notes

(1) Spring Boot practice

Spring family bucket notes: Spring+Spring Boot+Spring Cloud+Spring MVC

 

(2) SpringBoot reveals the secret to quickly build a microservice system

Spring family bucket notes: Spring+Spring Boot+Spring Cloud+Spring MVC

 

2.3 SpringBoot learning mind map

Spring family bucket notes: Spring+Spring Boot+Spring Cloud+Spring MVC

If you need to get it, it’s troublesome one-click triple-link + comment, and then add VX (tkzl6666) to get it for free

03 Spring Cloud

Springcloud is a master of microservice architecture, integrating a series of excellent components. Based on springboot, it is easier for programmers who are familiar with spring to get started. With some simple annotations, we can quickly configure common modules in the application and build a huge distributed system.

The components of SpringCloud are quite complex and have many sub-projects. Focus on Netflix

Spring family bucket notes: Spring+Spring Boot+Spring Cloud+Spring MVC

 

3.1 Spring Cloud interview essential questions + analysis

  1. What is Spring Cloud?
  2. What are the advantages of using Spring Cloud?
  3. What does service registration and discovery mean? How to implement Spring Cloud?
  4. What is the significance of load balancing?
  5. What is Hystrix? How does it achieve fault tolerance?
  6. What is a Hystrix circuit breaker? Do we need it?
  7. What is Spring Cloud Bus? Do we need it?
  8. What is Netflix Feign? What are its advantages?

Spring family bucket notes: Spring+Spring Boot+Spring Cloud+Spring MVC

 

3.2 Spring Cloud study notes

(1) Spring Cloud Reference Guide

Spring family bucket notes: Spring+Spring Boot+Spring Cloud+Spring MVC

If you need to get it, it’s troublesome one-click triple-link + comment, and then add VX (tkzl6666) to get it for free

04 Spring MVC

SpringMVC is a Java-based lightweight web framework that implements the request-driven type of the MVC design pattern. It uses the idea of ​​the MVC architecture pattern to decouple the responsibilities of the web layer. Request-driven refers to the use of a request-response model. The purpose of the framework is to help us simplify development

4.1 Spring MVC interview essential questions + analysis

  1. What is SpringMvc?
  2. Advantages of Spring MVC:
  3. How does SpringMVC work?
  4. SpringMVC process?
  5. Is the controller of SpringMvc a singleton mode? If so, what are the problems and how to solve them?
  6. If you have also used struts2, what are the differences between springMVC and struts2?
  7. The annotations of the controller in SpingMvc generally use that, is there any other annotations that can be substituted?
  8. What is the effect of @RequestMapping annotation on the class?
  9. How to map a request to a specific method?
  10. If in the interception request, I want to intercept the method submitted by get, how to configure it?
  11. How to get Request or Session in the method?
  12. I want to get the parameters passed in from the front desk in the interception method, how to get it?
  13. If there are many parameters passed in at the front desk, and these parameters are all an object, how to quickly get this object?
  14. What is the return value of the function in SpringMvc?
  15. How to set redirection and forwarding in SpringMVC?
  16. What object does SpringMvc use to transfer data from the background to the foreground?
  17. There is a class in SpringMvc that merges views and data together. What is it called?
  18. How to put the data in ModelMap into Session?
  19. How do SpringMvc and AJAX call each other?
  20. Talk about the execution process of SpringMvc
  21. How is the interceptor written in SpringMvc?
  22. When a method returns a special object to AJAX, such as Object, List, etc., what needs to be done?

Spring family bucket notes: Spring+Spring Boot+Spring Cloud+Spring MVC

 

4.2 Spring MVC study notes

(1) See through Spring MVC source code analysis and practice

Spring family bucket notes: Spring+Spring Boot+Spring Cloud+Spring MVC

 

(2) Proficient in Spring MVC

Spring family bucket notes: Spring+Spring Boot+Spring Cloud+Spring MVC

 

Finally, share a compilation of JAVA core knowledge points (PDF)

Spring family bucket notes: Spring+Spring Boot+Spring Cloud+Spring MVC

Guess you like

Origin blog.csdn.net/m0_46874920/article/details/114086197