About JavaEE learning module in the Spring!

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: built Core the capsule base  Context encapsulated packet, there is provided a method for accessing an object type frame, a bit 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. DAO the Spring:   DAO  (the 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.

The ORM 4.Spring:  the ORM  package provides a common "object / relational" mapping the integration layer APIs. Including the JPA , the JDO , the Hibernate  and  iBatis  . Using the ORM package, 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 an AOP Alliance-compliant aspect-oriented programming is so 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 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/wtayits/p/12549050.html