After a month of hard work, I came up with this "architecture brain map / interview analysis / advanced knowledge" all Spring family bucket

After a month of hard work, I came up with this "architecture brain map / interview analysis / advanced knowledge" all Spring family bucket

Recently I searched some of the mind and brain maps of the Spring Family Bucket series, classic interview questions, and PDF notes for advanced learning (very nice), Spring+SpringCloud+SpringMVC+SpringBoot, none of them are left! Let's witness it together! You will know how valuable it is after reading it!

The first crit: Spring

Last Spring's hand-drawn mind map (like a knowledge outline summary), preview the knowledge points of Spring, there is a spectrum in my heart. But here I use the screenshot method, in order to cut out all the content, so the whole is relatively small, which may not be very clear. But it doesn't matter, you can share the original file directly- Click Here !

Spring interview questions (seven modules: general questions + IOC + Beans + annotations + data access + AOP + MVC)

  • General question

1. What are the main functions of different versions of Spring Framework?

2. What is Spring Framework?

3. List the advantages of Spring Framework

4. What are the different functions of Spring Framework?

5. How many modules are there in Spring Framework and what are they?

6. What is a Spring configuration file?

7. What are the different components of a Spring application?

8. What are the ways to use Spring?

  • IOC

9. What is the Spring IOC container?

10. What is dependency injection?

11. How many ways can dependency injection be done?

12. Distinguish between constructor injection and setter injection.

13. How many kinds of IOC containers are there in spring?

14. Distinguish BeanFactory and ApplicationContext.

15. List some of the benefits of IoC.

16. Implementation mechanism of Spring IoC.

  • Beans

17. What is a spring bean?

18. What configuration methods does spring provide?

19. Does spring support centralized bean scope?

20. What is the life cycle of a spring bean container?

21. What is the inner bean of spring?

22. What is spring assembly?

23. What are the methods of automatic assembly?

24. What are the limitations of automatic assembly?

  • annotation

25. What is the annotation-based container configuration?

26. How to start annotation assembly in spring?

27. What is the difference between @Component, @Controller, @Repository, @Service?

28. What is the use of @Required annotation?

29. What is the use of @Autowired annotation?

30. What is the use of @Qualifier annotation?

31. What is the use of @RequestMapping annotation?

  • data access

32. What is the use of spring DAO?

33. List the exceptions thrown by Spring DAO.

34. What classes exist in the spring JDBC API?

35. What are the ways to access Hibernate using Spring?

36. List the transaction management types supported by spring

37. Which ORM frameworks does Spring support?

  • AOP

38. What is AOP?

39. What is Aspect?

40. What is the point of contact (JoinPoint)

41. What is an Advice?

42. What types of notices (Advice) are there?

43. Point out the difference between concern and cross-cutting concern in spring aop

44. What are the implementation methods of AOP

45. What is the difference between Spring AOP and AspectJ AOP?

46. ​​How to understand the proxy in Spring?

47. What is Weaving?

  • MVC

48. What is the use of Spring MVC framework?

49. Describe the workflow of DispatcherServlet

50. Introduce WebApplicationContext

The complete answer is parsed as follows (18 pages in total)

Spring advanced study notes

  • Spring advanced source notes

  • Spring combat (3rd edition)

The second crit: SpringCloud

Mind and brain map--SpringCloud microservice actual combat mind map (xmind)

SpringCloud interview questions

Question 1: What is Spring Cloud?

Question 2: What are the advantages of using Spring Cloud?

Question 3: What does service registration and discovery mean? How to achieve Spring Cloud?

Question 4: What is the significance of load balancing?

Question 5: What is Hystrix? How does it achieve fault tolerance?

Question 6: What is a Hystrix circuit breaker? Do we need it?

Question 7: What is Spring Cloud Bus? Do we need it?

Question 8: What is Netflix Feign? What are its advantages?

The complete answer is parsed as follows (6 pages in total)

SpringCloud advanced learning

  • SpringCloud Alibaba microservice notes

  • SpringCloud Reference Guide

The third crit: SpringBoot

Mind and Brain Map--SpringBoot Mind and Brain Map (xmind)

SpringBoot interview questions

Question 1: What is the difference between Spring Boot, Spring MVC and Spring?

Question 2: What is automatic configuration?

Question 3: What is Spring Boot Stater?

Question 4: Can you give an example to explain more of the contents of Statusers?

Question 5: What other Starter Project Options does Spring Boot provide?

Question 6: How does Spring quickly create product-ready applications?

Question 7: What is the easiest way to create a Spring Boot Project?

Question 8: Is Spring Initializr the only way to create Spring Boot Projects?

Question 9: Why do we need spring-boot-maven-plugin? Question 10: How to use SpringBoot to automatically reinstall my application?

Question 11: What is an embedded server? Why should we use embedded servers?

Question 12: How to add general JS code in Spring Boot?

Question 13: What is Spring Data?

Question 14: What is Spring Data REST?

Question 15: How to use path=”users”, collectionResourceRel=”users” with Spring Data Rest?

Question 16: What happens in the background when a Spring Boot application runs as a Java application?

Question 17: Can we use jetty instead of tomcat in spring-boot-starter-web?

Question 18: How to use Spring Boot to generate a WAR file?

Question 19: How to deploy to different servers using Spring Boot?

Question 20: What is the difference between RequestMapping and GetMapping?

Question 21: Why do we not recommend using Spring Data Rest in actual applications?

Question 22: How to change the package name of a project in Spring Initializer?

Question 23: Where can I find the complete list of properties that can be configured for application.propertierde?

Question 24: What are the differences between JPA and Hibernate?

Question 25: At which level should the business boundary start?

Question 26: What dependencies are needed to start a JPA application connected to the in-memory database H2 using Spring Boot?

Question 27: How to choose Hibernate as the default implementation of JPA without any configuration?

Question 28: Where is the specified database connection information? How does it know to automatically connect to H2?

Question 29: How do we connect to an external database like MySQL or Orcale?

Question 30: What is the name of the default H2 database configured by Spring Boot? Why is the default database name testdb?

Question 31: If H2 is not in the classpath, will the above situation occur?

Question 32: Can you give an example of using ReadOnly as transaction management?

Question 33: What is the best way to publish custom configurations for Spring Boot user applications?

Question 34: What are the requirements for the configuration file?

Question 35: How to configure the configuration of a specific environment through Spring Boot using a configuration file?

The answer is as follows (page 21)

SpringBoot advanced learning

  • Learn SpringBoot in a simple way

  • Spring Boot tutorial

The last one: SpringMVC

Mind Map--SpringMVC Mind Map

SpringMVC interview questions

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 is the problem and how to solve it?

6. If you have also used struts2, what are the differences between springMVC and struts2?

7. Which annotations of the controller in SpingMvc generally use? Are there other annotations that can be substituted?

8. What is the effect of @RequestMapping annotation on classes?

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?

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 do I 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 combines 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 flow of SpringMvc

The answer is as follows (4 pages)

SpringMVC advanced learning

  • See through Spring MVC source code analysis and practice

to sum up

The whole network exclusive Spring/Cloud/MVC/Boot, mind map + interview + advanced, just ask you to accept it? ?

Whether it’s Spring, SpringMVC, SpringCloud, SpringBoot’s mind-brain maps, actual interview questions or advanced learning notes PDF, the whole family is here, sum up all at once, just ask you to accept it?

The original xmind of the mind map + the answers to the real interview questions + the original PDFs of the major notes for advanced learning are available for free for everyone to learn and use — Click Here ! !

Guess you like

Origin blog.csdn.net/weixin_47082274/article/details/109386106