Job hopping happens all the time, but I suggest you think about why you want to jump ship before you do. Must not follow the trend, see colleagues one by one to go, oneself also blindly start the interview up (during the period was not fully prepared), is it because of technical reasons (affect their own development, offset their own planning track), or less money, not appreciated.

Start topic (interview questions + answer collection method see personal homepage)

Spring interview questions:

1. What is the Spring Framework? What are the main modules of the Spring framework? 2. What are the benefits of using the Spring framework? What is inversion of Control (IOC)? What is dependency injection? 4. Please explain IoC in the Spring framework. What is the difference between BeanFactory and ApplicationContext? How many ways can Spring be configured? 7. How to configure Spring based on XML configuration? 8. How to configure Spring based on Java configuration? Explain the life cycle of Spring beans. What are the differences between Spring Bean scopes? What are Spring inner beans? 13. Are singleton Beans in the Spring framework thread safe? Can you give an example of how to inject a Java Collection into Spring? How do I inject a java.util.properties into a Spring Bean? 16. Explain the autowiring of Spring beans? 17. Please explain the difference between automatic assembly modes. 18. How do I enable annotation-based autowiring? 19. Please give an example to explain the @required annotation? Can you give an example of the @autowired annotation? 21. Can you give an example of @qualifier annotation? What is the difference between constructor injection and set injection? 23. What are the different types of events in the Spring framework? FileSystemResource is different from ClassPathResource. 25. What design patterns are used in the Spring framework?

Spring MVC

1. What is SpringMvc? 3. How does SpringMVC work? 4. SpringMVC process? 5. Is SpringMvc’s controller a singleton? If so, what is the problem and how to solve it? 6. If you have used Struts2, what are the differences between springMVC and Struts2? 7. The controller annotation in SpingMvc usually uses that annotation. Is there any other annotation that can replace it? What does the @requestMapping annotation do for classes? 9. How to map a request to a specific method? 10. What if I want to intercept methods submitted by get in a request interception? How do I get a Request or Session from a method? 12. I want to get the argument from the foreground in the interception method. How do I get it? 13, If the foreground has many parameters, and these parameters are an object, then how to quickly get the object? What is the return value of a SpringMvc function? How does SpringMVC set redirection and forwarding? What object does SpringMvc use to pass data from the background to the front desk? SpringMvc has a class that merges views and data together. What is it called? 18. How to put ModelMap data into Session? How do SpringMvc and AJAX call each other? 20. What happens when a method returns special objects to AJAX, such as Object,List, etc.? What is the implementation process of SpringMvc

MyBatis

1. What is MyBatis? MyBatis: how do I paginate MyBatis? How does paging plug-ins work? 4, briefly describe the operation principle of Mybatis plug-in, and how to write a plug-in? 5, Mybatis dynamic SQL does what? What is the dynamic SQL? Can you briefly explain how dynamic SQL is executed? What is the difference between #{} and ${}? Mybatis is a semi-automatic ORM mapping tool. What’s the difference between it and automatic? Does Mybatis support lazy loading? If so, how does it work? 9. What are the differences between MyBatis and Hibernate? 10. What are the benefits of MyBatis? 11. Describe the mapping relationship between Mybatis Xml mapping file and Mybatis internal data structure. 12, What is the interface binding of MyBatis, what are the benefits? 13. There are several ways to implement interface binding. How are they implemented respectively? 14. When to annotate binding and when to XML binding? 15. How many ways can MyBatis achieve one-to-one? How does it work? 16, Mybatis can execute one-to-one, one-to-many associated query? What are the implementation methods and the differences between them? 17, MyBatis inside the dynamic Sql is how to set? What syntax? How does Mybatis encapsulate SQL execution results as target objects and return them? What are the mappings? 19, the Xml mapping file, in addition to the common select | insert | updae | delete tags, what other tags? 20. If the attribute name in the entity class is different from the field name in the table, what if the result of the query is encapsulated to the specified POJO? 22, usually an Xml mapping file, will write a Dao interface corresponding to it, the working principle of Dao, can overload? In Mybatis, if tag A refers to tag B by include, can tag B be defined after tag A, or must be defined before tag A? 24. In the Xml mapping files of Mybatis, can the IDS of different Xml mapping files be repeated? How to perform batch processing in Mybatis? 26, What Executor executors does Mybatis have? What’s the difference between them? 27, How to specify which Executor to use in Mybatis? Select * from Mybatis; select * from Mybatis; 29, Can Mybatis map Enum classes? How do I get the automatically generated (primary) key? 31. How do I pass multiple parameters in Mapper? 32. What is the difference between resultType and resultMap? 33. What are the requirements when using Mapper interface of MyBatis? 34, What are the major improvements of Mybatis over IBatis? 35, What are IBatis and MyBatis called respectively in the core processing class? 36. What are the differences in details between IBatis and MyBatis?