Spring framework is a layered architecture where Spring 2.x is divided into 6 modules. So here i am going to explain all 6 modules one by one.


Spring Core Module: It provide the fundamental part of spring Framework like DI(dependency injection) and IOC(inversion of control). This Module contains the bean factory which is the implementation of factory pattern. Using these core functionality an interface ApplicationContext is developed using which we can able to access the beans.
 

AOP Module : Using Spring AOP(aspect oriented programming) you can add the cross cutting functionality on your service layer at run time. I will separate the reusable code and can be applied as a service on different points.

ORM Module : Spring does not provide it's own ORM implementations but it supports the integration with populer ORM(object relational mapping) tools like Hibernate, JDO,iBatis toplink etc.

DAO Module : Spring DAO(Data Access Object) It provides an abstraction for low level implementations. Rather than throwing a complicated specific database vendor errors it also maintain a hierarchy of exceptions.It uses either programmatic and declarative transactions.

JEE Module : It provides the support for EJB, JCA, and JMS etc. where JMS is used for asynchronous communication. JCA is use to establish the connection to the legacy systems.

Web Module : It comes with Spring MVC web framework. It also integrate the popular MVC framework like struts, JSF, WICKET etc.

Related Posts:

  • Cyclic Dependency Cyclic dependency is the one of the major limitation of the Injection process in Spring. Constructor Injection has chance of having Cyclic Dependency, while the same is not possible in case of Setter Injection. When both… Read More
  • Annotation Based Autowiring in Spring IoC Auto-wiring in spring can also be achieved through Annotation. Annotation is the simplest way to achieve wiring in Spring as it doesn't involve any extra code in XML file. It can be parsed by the Spring container at the ti… Read More
  • Spring Wiring Process In Spring wiring means configuration the bean dependency if any. It may be done explicitly by hard-coding the code in XMl file or implicitly by mentioning the required type of autowiring process in the XML file. Autowiring… Read More
  • Spring AutoWiring : constructor In this type of implicit wiring, container detect the bean instance and matches by its type with the type of the bean in the XML and then identifies the matching constructor to inject the bean dependencies. Here the autowir… Read More
  • Spring AutoWiring: Autodetect It is a type of auto-wiring in which the injection procedure may be constructor or setter injection , depends on the argumented constructor is there in the bean. Container gives priority for the constructor injection and se… Read More

1 comment:

Blog Archive

Ads 468x60px

.

Ads

.

Featured Posts

Popular Posts

Like Us On FaceBook

Total Pageviews

201976

Online Members

Live Traffic