Looking back, I have been doing development for ten years. In the past ten years, I have gained a lot of technical skills, training, experience in going abroad, large companies, and many good friends. But think about it again, I wasted at least five years in these ten years. These five years are enough to make myself grow into an excellent programmer. Unfortunately, I missed it. I spent these five years in the same way as many programmers. There is no way out in the confusion and confusion!
The road has always been there, we just can't see it!
In the past, I was always led by companies and technologies. It was not that I was choosing the technology myself, but that I was pushed to this position unconsciously. Think about how many people have thought deeply and compared the type of career and technology they want to pursue in the future? After I jumped out of coding, I began to think about programming and programmers' careers, and finally found that it was some of the words we often talked about that led us into today's predicament.
1. The focus of the inspection of BAT and other companies
Different Internet companies have different focus on Spring inspection, some or even no inspection at all. Here, we will talk about the inspection situation of different companies, and you can make targeted actions for different companies.
**Interview frequently asked content roughly includes: **IOC, AOP, AOP principle dynamic proxy and cglib principle and the difference between the two, Bean life cycle, ThreadLocal guarantee thread safety, transaction propagation, Spring MVC, design patterns, In addition to these interview questions that often appear, there is also the need to read some Spring source code interpretation, because some interviewers will ask you if you have read the source code, then it is OK to say what you have read. Let me share some of my interview review materials and study notes while reviewing Spring!
Note: These Spring notes shared above: interview highlights analysis + study notes + study map + Spring source video, which can be obtained at the end of the article!
01. Spring high-frequency interview collection
1. Basic articles (Spring related concept issues)
- Talk about the understanding of Spring IoC?
- Talk about your understanding of Spring DI?
- What is the difference between the BeanFactory interface and the ApplicationContext interface?
- Please introduce the Spring core classes you are familiar with and explain what they do?
- Introduce the understanding of Spring's affairs?
- Introduce Spring's transaction implementation?
- Explain AOP modules
- What are the notification types of Spring, please briefly introduce?
- What are the usage scenarios of Spring advice types?
- Please introduce your understanding of Spring Beans?
- What are the advantages of Spring?
- Method steps to use hibernate in Spring
- Difference between Spring and Struts?
- What parts does the Spring framework consist of?
- Talk about your understanding of BeanFactory, BeanFactory implementation example
- Talk about the understanding of the Web module in Spring
- What is the difference between BeanFactory and Application contexts?
- Talk about your understanding of Spring Dependency Injection?
- What is Bean Assembly?
- What is autowiring of beans?
- Introduce several ways of automatic assembly?
- What is annotation-based container configuration?
- Briefly describe the role of the JdbcTemplate class
- Explain AOP
- Interpret Aspect
- Briefly describe advice in Spring AOP
- How do you understand weaving in Spring AOP?
- Please introduce the process of Spring MVC in detail?
- Spring configuration file?
- What does the @RequestMapping annotation do on a class?
- How to map a request to a specific method
- Talk about Spring's support for DAO
2. Application
3. The underlying source code
- IoC Inversion of Control Design Principle?
- Spring's life cycle?
- How does Spring handle thread concurrency issues?
- Understanding of core container (application context) modules?
- Why is Spring a container?
- Advantages of Spring?
- Are Singleton Beans in Spring Framework thread-safe?
- What are the different types of events in the Spring framework?
- What are the advantages of IoC?
- Explain the life cycle of beans in the Spring framework
- What are Spring's internal beans?
- What are the limitations of autowiring?
- What are the advantages of Spring Framework's transaction management?
- In Spring AOP, what is the difference between concerns and crosscutting concerns?
- Talk about the underlying implementation principle of Spring AOP?
- How to provide configuration metadata to the Spring container?
- What are the important Bean lifecycle methods? Can you overload them?
- Talk about the execution process of Spring MVC
- Is the controller of Spring MVC a singleton pattern, and if so, what is the problem and how to solve it?
- The way of circular injection in Spring?
- Spring MVC vs Struts2
02. My Spring study notes
(1) Spring core notes finishing
- Spring Features
- Spring core components
- Spring common modules
- Spring main package
- Spring common annotations
- Spring third-party integration
- Spring 10C. Principles
- Spring APO principle
- Spring MVC principle
- Spring Boot project management
- JPA principle
- Mybatis cache
- Tomcat Architecture
(2) In-depth analysis of Spring source code
The first part of the core implementation
- Chapter 1 Spring Overall Architecture and Environment Construction
- Chapter 2 Basic Implementation of Containers
- Chapter 3 Parsing Default Labels
- Chapter 4 Analysis of Custom Tags
- Chapter 5 Bean Loading
- Chapter 6 Functional Extension of Containers
- Chapter 7 AOP
Part II Enterprise Applications
- Chapter 8 Database Connectivity JDBC
- Chapter 9 Integrating MyBatis
- Chapter 10 Transactions
- Chapter 11 Spring MVC
- Chapter 12 Remote Services
- Chapter 13 Spring Messaging
In-depth analysis of spring source code
(3) Spring combat
The first part of the core of Spring
- Chapter 1 The Spring Journey
- Chapter 2 Assembling Beans
- Chapter 3 Minimizing Spring XML Configuration
- Chapter 4 Aspect-Oriented Spring
The second part of the core components of a 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
Part 3 Spring Integration
- Chapter 10 Using Remote Services
- Chapter 11 Adding REST Features to Spring
- Chapter 12 Spring Messaging
Spring combat