Some netizens said: 2020 Spring abandon Java still do not understand it?

Foreword

The word for Spring developers must not unfamiliar, maybe you are using Spring day, enjoying the Spring of ecological services provided, of course, with the SpringIOC and SpringAOP to your boss to achieve functional, well it is used in this way ( Bean class declaration for the component, and then injected), the owner's right to complete the task, no problems. If you question what is Spring, Spring core functionality do what you think: This is too simple, Spring is the framework Well, Spring is the core function of IOC and AOP, So Easy! But do you really know Spring?

Spring is an open source framework was first created by Rod Johnson, in order to address the complexity of enterprise application development is created. Many frameworks have declared in some ways made for a simplified Java development, but Spring's goal is committed to simplifying all aspects of Java development, which is the fundamental mission of Spring "simplify Java development."

Spring's knowledge about sums up a mind map for everyone to share

Some people say: spring 2020 still do not know to give up Java, right? The whole network hottest 119 spring issue, how much would you? Let's look at these questions!

Spring interview questions (a)

1, the general problem

1.1 What are the main functions of the different versions of the Spring Framework have?
1.2 What is Spring Framework?
1.3, the advantages include the Spring Framework.
1.4 What are the different functions of Spring Framework have?
1.5, Spring Framework in the number of modules, what they are?
1.6 What is the Spring configuration file?
1.7 What are the different components of Spring applications have?
1.8, there are ways in which to use Spring?

2, dependency injection (Ioc,)

2.1 What is Spring IOC container?
2.2 What is dependency injection?
2.3 How many different ways can complete dependency injection? ..
2.4, distinguishing constructor injection and setter injection. .
2.5, how many IOC container spring there?
2.6, and distinguish BeanFactory ApplicationContext.
2.7, listed some of the benefits of IoC.
2.8, Spring IoC implementation mechanism.

3、Beans

3.1 What is a spring bean?
3.2, spring is provided which configuration?
3.3, spring supports centralized bean scope?
3.4, the life cycle of spring bean container is what?
3.5 What is the internal spring bean?
3.6 What is the spring assembly
3.7, automatic assembly what way?
3.8, automatic assembly have any limitations?

4, comment

4.1 What is annotation-based configuration container
4.2, how to start assembling notes in the spring?
4.3 What is the difference @ Component, @Controller, @Repository, @Service?
4.4, @ Required annotation what's the use?
4.5, @ Autowired annotation what's the use?
4.6, @ Qualifier annotation what's the use?
4.7, @ RequestMapping annotation what's the use?

5, Data Access

5.1, spring DAO what's the use?
5.2, citing Spring DAO thrown.
5.3 What type spring JDBC API exist?
5.4, ​​using Hibernate Spring access methods What?
5.5, citing spring support transaction management type
5.6, spring which ORM framework support

6、AOP

6.1 What is AOP?
6.2 What is the Aspect?
6.3, what is the point of tangency (JoinPoint)
6.4 What is notification (Advice)?
6.5 What types of notifications (Advice) have?
6.6 points out differences between the spring aop and the concern of cross-cutting concern.
6.7, AOP implementations of what?
6.8, Spring AOP and AspectJ AOP What is the difference?
6.9, how to understand the Spring proxy?
6.10, what is the weave (Weaving)?

7、MVC

7.1, Spring MVC framework what's the use?
7.2, describe DispatcherServlet workflow
7.3, introduce WebApplicationContext.

Spring interview questions (b)

General Issues

1. What is spring?
2. What are the benefits of using Spring framework is?
3, Spring of which modules?
4, core container (application context) module.
5, BeanFactory - BeanFactory implemented examples.
6、XMLBeanFactory
7, explanation AOP module
8, and explanation DAO JDBC abstraction module.
9, explanation object / relational mapping integration module.
10, explanation WEB module.
12, Spring configuration file
13. What is the Spring IOC container?
14. What are the advantages IOC is?
15, what is usually ApplicationContext implementation is?
16, Bean factories and Application contexts What is the difference?
17, a Spring application of what looks like?

Dependency Injection

18. What is Spring's dependency injection?
19. What are the different types of IOC (dependency injection) way?
20, which recommended that you use dependency injection, constructor injection, or Setter Method Injection?

Spring Beans

21. What is the Spring beans?
22, a Spring Bean definition of what is included?
23, how to provide metadata to configure the Spring container?
24, how to define the scope of your class?
25, Spring supports the interpretation of several bean scope.
26, singleton bean Spring Framework is thread safe?
27, explained the Spring Framework bean life cycle.
28, which is an important bean life cycle approach? You can reload them?
29, what is the Spring of internal bean?
30, in Spring how to inject a collection of java?
31, what is the bean assembly?
32, what is the bean automatic assembly?
33, to explain the automatic assembly of different ways.
34. What are the limitations of automatic assembly?
35, you can inject a null and an empty string do in Spring?

Spring Annotations

36. What is a Java-based Spring configuration annotations? Give some examples of annotations
37, what is the configuration Annotation-based container?
38, how to open the annotation assembly?
39, @ Required annotation
40, @ Autowired comment
41, @ Qualifier annotation

Spring Data Access

42. how to more effectively use the Spring JDBC framework?
43 JdbcTemplate
44, Spring's support for DAO
45, Spring accessed using Hibernate by what means?
46, Spring's ORM support
47. How HibernateDaoSupport the Spring and Hibernate combined?
48, Spring's transaction management type support
49, transaction management Spring Framework What are the advantages?
50, you are more inclined to use the kind of transaction management type?

Spring Aspect Oriented Programming (AOP)

51, explained AOP
52, Aspect section
52, In Spring AOP, the difference concerns and crosscutting concerns what?
54, the point of attachment
55, notification
56, tangent point
57. What is the introduction?
58, what is the target audience?
59. What is a proxy?
60, there are several different types of automatic proxy?
61, what is woven into. What is the difference woven into the application?
62, explained based on XML Schema way aspect implementation.
63, explained based annotation aspect implementation

Spring 的 MVC

64, what is the Spring MVC framework?
65、DispatcherServlet
66、WebApplicationContext
67, what is the controller of Spring MVC framework?
68, @ Controller annotation
69, @ RequestMapping comment


Above these questions just to give you a reference function, the most important is to give themselves a reserve of knowledge, be prepared.

On this 119 whole network hottest spring issue, summed up the 40-page pdf document, public concern number: Programmer Herd, reply 0109 can get.
I want to help you to review before the interview and find a good job, but also saves you the time to search for information online learning.

to sum up

According to the latest official statement Spring, Spring is the origin of modern Java.
Admittedly, Spring both in the Java ecosystem, or in the job market, is the absolute king. Interview appearance rate high, the production of wide scale, second to none. As technology advances, Spring IoC framework from the past, has developed into Cloud Native infrastructure, derived from a large number of Spring technology stack, such as the well-known Spring Boot, Spring Cloud Spring Security and so on. Therefore, Spring ecosystem are becoming huge, such as Apache Dubbo integration of the Spring Framework, various types of middleware Spring Boot Starter, and a variety of Spring Cloud implementations.

At last

Welcome to share with everyone, like I remember the article I focus a point like yo, thanks for the support!


Guess you like

Origin juejin.im/post/5e16cc17f265da1fbb7137b2