Spring Hierarchy Chart
Description
1.STRUS2 acts as a web layer, takes over the Jsp/action form, mainly embodies the data input, data processing, data separation display of MVC.
2. The model in peacetime is a large concept that will include the business layer, the DAO layer, and the persistence layer. But in a project does not necessarily have three layers, you can choose according to the actual situation.
3.hibernate oop mainly solves the impedance between the relational model and the object model.
4.Spring Framework, which manages the web layer, DAO layer, business layer, and persistence layer, spring can configure Bean components (beans) for each layer and maintain relationships between the individual beans.
Spring's two features IOC and AOP
Ioc:inverse of control is the transfer of the right to create objects and maintain relationships between beans and beans from the program to the spring container. DI (Dependency injection) and IOC are talking about a meaning.
AOP: Aspect-oriented programming, refers to the unified and business logic-independent functions out, unified implementation, the underlying implementation mechanism is the Java dynamic Agent.
2015-07-24
Spring Hierarchy Chart