Collection of spring framework interview Zhenti --springmvc, springcloud, springboot

Preface:

Should first look at the demand of the interview 1. Before the interview, watch each other's jobs which focuses specifically on the technical aspects of the work, then focused review.
2. I java, and each interview when they are first read this book java interview data, there are a lot of knowledge base, we must remember that, you know. Basically each interview are asked. You can own Baidu to this data.
3. Be sure to ask the interview salaries, benefits, how long more money, especially the performance is how to do. The performance of large pit, before the performance because his salary is just leave. Many times to talk about the performance of a pit wages, at least to less than 1,000 in wages.


1.Spring

Spring Framework Java backend framework is now inside the most powerful family, which has two IOC and AOP tool, which greatly simplifies the development of complex software. And, Spring can now integrate with all major development framework, can be described as a universal framework, Spring make JAVA development becomes more simple.
Interview Zhenti:
(1) What is Inversion of Control (IOC)? What is dependency injection?
(2) Please explain in Spring IOC?
(3) the Spring configuration to your application there are several ways?
(4) how to use annotations arranged Spring?
(5) Description Spring Bean's life cycle?
(6) describe the scope of the various Spring Bean's?
(7) What is the Spring of embedded beans?
Whether (8) Spring Framework singleton bean thread safe?
(9) Give an example of how to inject a set of Java classes with Spring?
(10) Please provide examples of how to inject a java.util.Properties in a Spring Bean in?
(11) Please explain Spring's Bean automatic generation principle?
(12) Please Analysis module automatically generates the difference between the Bean?
(13) How to turn on automatic annotation-based write-based?
(14) Please provide examples of @Required comment?
(15) Please provide examples of @Autowired comment?
(16) Please provide examples of @Qualifier comment?
(17) Please explain the difference between a constructor injection and setter injection?
(18) Spring Framework in different types of event What is the difference?
(19) FileSystemResource and ClassPathResource What's the difference?
(20) Please list the Spring Framework with what design patterns?

2.Spring MVC

Spring MVC is an MVC open source framework used instead Struts. It is an important part of the Spring project inside, closely integrated with the Spring IOC container, and have loosely coupled, easy configuration, separation of code and other characteristics, so JAVA WEB programmers to develop projects much easier.
Interview Zhenti:
(1) the Spring MVC and Struts2 similarities and differences?
(2) Spring MVC exception handling?
Interceptor problem (3) SpringMVC in?
(4) How to solve the Spring MVC Chinese garbage problem?
How (5) system hierarchy?
How (6) Spring MVC pass a value to the page?
How (7) SpringMVC read request parameter values?
(8) Spring MVC annotation-based application programming step
(9) Spring MVC's advantages:
(10) SpringMVC how the redirect and forward?
(11) SpringMvc controller is not a singleton, and if so, what is the problem, how to solve the
annotation controller (12) SpingMvc in general with that, there is no other alternative to notes
(13) @RequestMapping notes with What is the role in the class above
(14) how to map the request to a specific method of the above
(15) intercepts the request if I want to intercept method get so delivered, how the configuration
(16) if the intercepted request, I would like to submit to intercept parameter contains the "type = test" string, how configuration
(17) I'd like to get from the front desk argument passed inside intercept method, how to get
(18) if there are many parameters into the foreground, and these parameters are a target, then how quickly get the object
(19) in which the method how to obtain Request, or the Session
(20 is) of the return value of a function SpringMvc what it is.

3.Spring Boot

Spring Boot is a sub-project of the Spring open source community, Spring is also a one-stop solution components, mainly to simplify the difficulty of using the Spring framework, burdensome configuration profile Province. Spring Boot provides various components starter (starters), so long as the developer can configure the corresponding component parameters, Spring Boot automatically configured, so that developers can quickly build Java project depends on Spring components.
Interview Zhenti:
(1) the Spring the Boot also offers other which Starter Project Options?
(2) Why use Spring Boot?
(3) Spring Boot core configuration files and which of? What is the difference between them?
(4) Spring Boot configuration file, which has several formats? What's the difference?
(5) Spring Boot which is the core of notes? It mainly consists of several notes which composed?
(6) open Spring Boot characteristics, which has several ways?
(7) Spring Boot requires a separate container to run it?
(8) running Spring Boot What are the different ways?
(9) What Spring Boot automatically configure principle?
The directory structure (10) Spring Boot is like?
(11) How do you understand Spring Boot in Starters?
(12) How to run some specific code when Spring Boot start?
(13) Spring Boot There are several ways to read the configuration of what?
(14) which logging framework Spring Boot support? The default logging framework and recommend which?
(15) SpringBoot achieve hot deployment, which has several ways?
(16) How do you understand Spring Boot Configuration load order?
How (17) Spring Boot define different sets of environment configuration?
(18) Spring Boot compatible with the old Spring projects do, how to do?
(19) What are some ways to protect Spring Boot application?
What's new (20) Spring Boot 2.X there? And 1.X What is the difference?

4.Spring Cloud

Spring Cloud is an ordered collection of a series of frames, is the hottest choice for micro-services framework that leverages facilitate the development of Spring Boot cleverly simplify the development of distributed systems infrastructure, such as service discovery registration, distribution center, news bus, load balancing, circuit breakers, monitoring and other data, can be done with a key to start the development and deployment of Spring boot style.
Interview Zhenti:
(1) Select SpringCloud as the reason for micro Services Architecture
(2) SpringBoot and SpirngCloud, you talk about their understanding of
(3) What is the service fuse? What is service degradation?
(4) What are the advantages and disadvantages of micro-services?
(5) You know what micro-services technology stack?
Effect (6) springcloud circuit breaker
(7) What is micro-services
(8) How to achieve springcloud registration and discovery services
(9) ribbon and feign difference
effect (10) springcloud breaker
under (11) said that you developed in the project encountered in the pit
(12) micro-services technology stack What?
interview information:


需要面试资料和学习资料(加群:219571750   免费获取)
附加java开发的资料(面试资源与经验总结,Dubbo、Redis、设计模式、Netty、zookeeper、Spring cloud、分布式、高并发等架构技术视频教程资料,架构思维导图,以及面试资料,了解最新的学习动态;了解最新的阿里、京东招聘资讯)

Guess you like

Origin www.cnblogs.com/zxm-123/p/11164695.html