Turn from:
https://www.ibm.com/developerworks/cn/java/j-lo-spring-principle/
Spring's design philosophy
The three core components of spring are described earlier, and if the core is selected in three of them, then the non-Beans component is not the same, why is it that spring is a bean-oriented programming (Bop,bean oriented Programming), the Bean in S Pring is the real protagonist.
The bean works in spring just as the object does for OOP, and without the concept of an object is like no object-oriented programming, there is no Bean in spring that does not have the meaning of spring. It's like a performance stage is ready but there is no actor. Why should bean this role bean, or why it is so important in spring, is determined by the spring framework's design goals, why spring is so popular, why we use spring, think you will find that spring solves a very critical problem he can make You switch the dependencies between objects into a configuration file, which is his dependency injection mechanism. And this injection relationship is managed in a container called IOC, and what is in the IOC container is the object that the Bean is wrapped in. Spring is the purpose of managing these objects and some additional columns by wrapping them in the Bean.
This design strategy is completely similar to the Java implementation of OOP design concept, of course, Java itself is more complex than the design of Spring, but it is to build a data structure, and then according to the data structure to design his living environment, and let it in this environment in accordance with a certain pattern of constant movement, In their nonstop movement design a series of information exchange with the environment or with other individuals. In this way, I think that the other frameworks we use are similar design concepts.
Design concept and design pattern analysis of Spring frame