Describe different modules of Spring Framework
Describe layered architecture of Spring Framework ?
Answer : Spring comprises of the following modules.
Core container : Basic functionality of Spring is provided by the core container. BeanFactory is the primary component of core container, an implementation of the Factory design pattern. The BeanFactory applies the Inversion of Control (IOC) pattern so that application’s configuration and dependency specification can be separated from the actual application code.
Core container : Basic functionality of Spring is provided by the core container. BeanFactory is the primary component of core container, an implementation of the Factory design pattern. The BeanFactory applies the Inversion of Control (IOC) pattern so that application’s configuration and dependency specification can be separated from the actual application code.
Spring context : Context module is built on the base core container. The Context module inherits features of Beans module. It has support for internationalization , event-propagation, resource-loading. It also supports Java EE features such as EJB, JMX and basic remoting.
Spring AOP : The Spring AOP module provides aspect-oriented programming functionality into the Spring framework. We can apply AOP to any object managed by the Spring framework. Declarative transaction management can be applied into your application by using Spring AOP.
Spring DAO : The Spring DAO makes it easy to work with different database techniques like JDBC, ORM, OXM etc. It provides meaningful exception hierarchy for managing the exceptions and error messages thrown by vendor specific database.
Spring ORM : The Spring ORM module supports different ORM tools like JPA, JDO, Hibernate, and iBatis. We can use all of these O/R-mapping frameworks in combination with other features offered by Spring.
Spring Web module : Spring’s Web package provides basic web-oriented integration features, such as multipart file-upload functionality, the initialization of the IoC container using servlet listeners and a web-oriented application context. When using Spring together with WebWork or Struts, this is the package to integrate with.
Spring MVC framework : Spring MVC module provides a full-featured MVC implementation for building Web applications.
0 comments:
Post a Comment