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.
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.
Latest posts by Gopal Das (see all)
- Salesforce Certified Platform Developer I – Winter ’18 Release Exam - November 23, 2017
- Salesforce Certified Platform App Builder – Winter ’18 Release Exam - November 22, 2017
- Salesforce Certified Administrator – Winter’ 18 Release Exam - November 21, 2017