What is Spring Framework which is divided into seven modules, each module's main role is to function

Seven modules, as follows:

1. Spring Core: Core capsule is the most fundamental part of the framework, to provide IOC and dependency injection characteristics. The basic concept here is the BeanFactory, which provides for the Classical Factory pattern to eliminate the need for programmatic singletons and allows you really separated dependencies and program logic from the configuration.

2.Spring Context: Context built capsule encapsulation packet based on the Core, object access method provides a framework-style, somewhat like a JNDI-registry. Context encapsulated packet characteristics derived from Beans encapsulated packet, and adds support for internationalization (I18N) of (for example resource bundles), event propagation, transparent way to create a resource loading and Context, for example by Servlet container.

3. Spring DAO: DAO (Data Access Object) provides a JDBC-abstraction layer, it can eliminate the error code tedious JDBC coding and parsing of database-vendor specific. And, JDBC package also provides a better package than the programming of declarative transaction management methods, not only to achieve a particular interface, but for all of POJOs (plain old Java objects) are applicable.

4.Spring ORM: ORM package provides a common "object / relational" mapping the integration layer APIs. Including JPA, JDO, Hibernate and iBatis. Using the ORM package, it can be mixed with all the characteristics provided by the Spring "O / R" mapping, simple declarative transaction management feature mentioned previously.

5.Spring AOP: Spring of AOP package provides the AOP Alliance-compliant aspect-oriented programming, so that you can define, for example, a method interceptor (method-interceptors) and the tangential point (pointcuts), logically, whereby functional coupling weakened code, are clearly separated. Moreover, the use of source-level metadata functionality, you can also merge a variety of behavioral information into your code.

6.Spring Web: Spring's Web package provides basic Web development-oriented integration features, such as multi-file uploads, the use of Servlet listeners were ApplicationContext IOC container initialization and for the Web. When used in conjunction with the Spring WebWork or Struts, this is the package may be combined with other Spring frame.

7.Spring Web MVC: Spring in MVC package provides a Web application Model-View-Controller (MVC) implementation. Spring MVC framework provides not only a conventional implementation that provides a clear separation model, in the areas between the model code and Web Form. And, also by means of other features of the Spring Framework.

Guess you like

Origin www.cnblogs.com/vieta/p/11286187.html