Overview of the Spring Framework – Spring Modules

Core Container:

The Core Container consists of the Core, Beans, Context, and Expression Language modules.

Core and Beans modules provide the basic feature of spring like IoC and Dependency Injection. BeanFactory which is the core interface and implementation of the factory pattern. It decouple the configuration and specification of dependencies from your actual program logic.

The Context module builds on top of core and beans, used to access beans in a manner like JNDI registry. It provides support for internationalization (using, for example, resource bundles), event-propagation, resource-loading, and the transparent creation of contexts etc than beans.
ApplicationContext interface is the main point of Context module.

The Expression Language module provides a expression language for querying and manipulating an object graph at runtime. It is an extension of the (EL) expression language used in JSP. It supports setting and getting property values, method invocation etc.

Data Access/Integration:

The Data Access/Integration layer consists of the JDBC, ORM, OXM, JMS and Transaction modules.

The JDBC module provides a JDBC-abstraction layer that removes the need to do tedious JDBC related coding.

The ORM module provides integration layers for popular object-relational mapping APIs, including JPA, JDO, Hibernate, and iBatis.

The OXM module provides an abstraction layer that supports Object/XML mapping implementations for JAXB, Castor, XMLBeans, JiBX and XStream.

The Java Messaging Service JMS module contains features for producing and consuming messages.

The Transaction module supports programmatic and declarative transaction management for classes.


The Web layer consists of the Web, Web-Servlet, Web-Struts, and Web-Portlet modules.

The Web module provides basic web-oriented integration features such as multipart file-upload functionality and the initialization of the IoC container using servlet listeners and a web-oriented application context.

The Web-Servlet module contains Spring’s model-view-controller (MVC) implementation for web applications.

The Web-Struts module contains the support classes for integrating a classic Struts web tier within a Spring application.

The Web-Portlet module provides the MVC implementation to be used in a portlet environment and mirrors the functionality of Web-Servlet module.


Spring’s AOP module provides an AOP Alliance-compliant aspect-oriented programming implementation allowing you to define, for example, method-interceptors and pointcuts to cleanly decouple code that implements functionality that should be separated.


The Test module supports the testing of Spring components with JUnit or TestNG. It provides consistent loading of Spring ApplicationContexts and caching of those contexts. It also provides mock objects that you can use to test your code in isolation.

Gopal Das
Follow me

Gopal Das

Founder at GopalDas.Org
He is a technology evangelist, Salesforce trainer, blogger, and working as a Salesforce Technical Lead. After working in Java based project implementation, he jumped to the Salesforce system on a whim and never looked back. He fell in love with Salesforce’s flexibility, scalability, and power. He expanded his knowledge of the platform and became a Certified App Builder, Administrator, Platform Developer I, SalesCloud Consultant while leading the Salesforce implementation and technology needs. He has worked in a wide variety of applications/services like desktop, web and mobile applications.
Gopal Das
Follow me

Leave a Reply

Your email address will not be published. Required fields are marked *