It took 14 days to make a spring brain map, and all the spring knowledge points are summarized! 2020 latest Spring family bucket high-frequency interview questions

It took 14 days to make a spring brain map, and all the spring knowledge points are summarized! 2020 newest Spring family bucket high-frequency interview questions, now share with you. The spring knowledge brain map is placed at the end of the article .

For those students who want to interview for advanced Java positions, spring is a big obstacle! The remaining topics for actual work belong to the real skill, and the details and difficulties of popular technologies have become the main content of the interview.

Here is a summary of 70 Spring-related interview questions. Some are very basic and some are very detailed. You can evaluate what you have mastered.
The important knowledge points are written out here, whether it is core knowledge points or interview questions, so that everyone has a basic outline of the knowledge framework.
At the same time, 283 pages of PDF documents are also organized, which are also the core knowledge points of Java.
Friends in need can, click here to receive! ! ! , The code is: CSDNInsert picture description here

01、Spring

The key is to master the Spring Framework.

  1. What kind of design pattern does IoC belong to?

  2. Talk about your understanding of Spring IoC and DI. What is the difference between them?

  3. Briefly talk about the principles of IoC containers.

  4. How many types of bean scope are there? Please list them in detail.

  5. Talk about the difference between inheritance in IoC and Java inheritance.

  6. The configuration of the car object in IoC is as follows. Now you need to add the user object and inject the car into the user. What is the correct configuration?


7. Please write down the configuration of IoC static factory method and instance factory method respectively.

  1. How many ways are IoC automatic loading?

  2. Introduce the life cycle of beans in the Spring framework.

  3. The IoC container is automatically loaded. What is the default method?

02、Spring MVC

This part focuses on the use of common modules and the underlying implementation principles of Spring MVC.

  1. Briefly talk about your understanding of MVC.

  2. What is Spring MVC? Briefly introduce your understanding of Spring MVC?

  3. What are the advantages of Spring MVC?

  4. What are the core components of Spring MVC?

  5. What is the implementation process of Spring MVC?

  6. How to set redirection and forwarding in Spring MVC?

  7. How to solve the Chinese garbled problem of POST request, and how to deal with GET?

  8. How to use @ModelAttribute?

  9. Talk about your understanding of custom data type converters.

  10. How to write the email data format using Hibernate Validator annotation method?

03. Related to MyBatis

MyBatis will be integrated with Spring MVC in actual project development.

  1. Briefly talk about your understanding of Mybatis?

  2. What are the advantages of MyBatis interface binding?

  3. What are the ways to implement MyBatis interface binding?

  4. How does MyBatis realize the one-to-one relationship?

  5. How does MyBatis realize one-to-many relationship?

  6. Talk about the specific steps of using MyBatis dynamic SQL?

  7. What is the difference between MyBatis and Hibernate?

  8. How does MyBatis implement fuzzy query?

29. What are the specific steps for Nginx reverse proxy to achieve high concurrency?

30. How to write the core configuration of Nginx to build a Tomcat cluster?

04, related to MongoDB

Pay attention to the MongoDB foundation and the use of Spring Data MongoDB, the integration solution of Spring Family Bucket.

  1. Talk about your understanding of MongoDB?

  2. What are the characteristics of MongoDB?

  3. What are the main functions of MongoDB?

  4. Talk about the MongoDB applicable scenarios you know.

  5. What is the command to shut down the MongoDB service?

  6. MongoDB command to create a database?

  7. Talk about your understanding of Spring Data JPA?

  8. Spring Data JPA deletes multiple records and returns the code?

  9. Talk about the underlying implementation of Spring Data JPA.

  10. What is the principle of Spring AOP? What are the specific application scenarios?

05、Spring Boot

The highlight of Spring's family bucket, Spring Boot, as a tool for quickly building Spring applications, has done a good integration of various mainstream framework modules, and can be used out of the box. Focus on the specific operations of Spring Boot, which is related to some Redis.

  1. Talk about your understanding of Spring Boot?

  2. What are the advantages of Spring Boot? Why use Spring Boot?

  3. How many formats of Spring Boot configuration files? What is the difference?

  4. Talk about the Spring Boot core annotations you know.

  5. How to automatically start each component of Spring Boot?

  6. What is the principle of starter in Spring Boot?

  7. Spring Boot cannot use XML configuration, is this sentence correct?

  8. Talk about your understanding of Redis.

  9. Briefly talk about the implementation principle of Redis.

  10. What is Thymeleaf?

06、Spring Cloud

As the most popular module in Spring, Spring Cloud includes service gateway, Ribbon, Feign, Hystrix, Spring Cloud Config, etc. It focuses on skills commonly used in actual development, and has the ability to use Spring Cloud to build a microservice architecture.

  1. What is Spring Cloud?

  2. What is the relationship between Spring Cloud and Spring?

  3. What is the principle of Spring Cloud to implement service registration and discovery?

  4. What is the difference between Ribbon and Feign?

  5. Why use Spring Cloud fuse and what is its function?

  6. What is Hystrix?

  7. What is the difference between Eureka and ZooKeeper?

  8. Why use load balancing?

  9. What is the specific process for Spring Cloud to implement service registration and discovery?

  10. Why use Spring Cloud and what are its advantages?

07. Practical related to microservice projects

Problems with Spring microservice projects in actual work.

  1. Talk about your understanding of microservices.

  2. What are the advantages and disadvantages of microservices? What are the advantages and disadvantages of the service?

  3. Talk about how to achieve communication between microservices.

  4. How does Spring Boot integrate MyBatis?

  5. What are the differences between Spring Boot and Spring Cloud?

  6. How should the back-end entity class be defined when using the data table component of layui to display business data?

  7. Are JPA and Spring Data JPA the same thing?

  8. If you want to add a rights management system to the project, what are the general requirements?

  9. What are the principles for the split of microservice architecture?

  10. What is the difference between Feign and Ribbon+RestTemplate?

Spring Knowledge Brain Map

Insert picture description here
The above is the whole content of this article, I hope it will be helpful to your study

Guess you like

Origin blog.csdn.net/a646705816/article/details/108740946