I. Working principles and concepts of spring's core (IOC and DI,AOP).
1.IOC Control Inversion
Concept: Control is shifted from the object itself to the container; The container creates an instance from the configuration file and creates a dependency between the individual instances
Core: Bean factory; In spring, the individual instances created by the Bean factory are called beans.
2.Di Dependency Injection
In fact, Di and IOC are the same concept, because in the Applicationcontext.xml configuration file, the bean and bean are dependent on each other when they are maintained by ref, so they are called dependency injection. That is, control reversal.
Because ApplicationContext is very memory-intensive, you must ensure that there is only one ApplicationContext instance in a project.
3. What is Spring
Spring is a container that can take over beans at various levels (Action/domain/pojo/javabean), and can configure the bean-to-bean relationship to use beans in Java code only It is possible to use ApplicationContext's Getbean (The bean ID in the config file) method.
4.AOP Plane-oriented programming
Spring AOP Reference: http://www.cnblogs.com/hongwz/p/5764917.html
Two. What is the principle of MVC and the principle of SPRINGMVC?
Java Interview Summary