3. Spring architecture
There are around 20 modules in spring
architecture.
These modules are grouped into:-
Core container
Data access-integration
Aspects oriented programming(AOP)
Instrumentation
test
5. Modules
Core container
The important modules of core container are:
1. Core module: This is fundamental part of spring
framework . This module consists of dependency
injection features.
2. Bean module: This module consists of bean
Factory class.
6. Continued !!!!!
3. Context module: This module is based on core
and bean modules. The application context
interface is an important point in this module.
4. Expression language module: This module
provide powerful expression language for
manipulating an object graph at runtime.
7. Data access-integration
The important modules are as follows:
1. JDBC: when we use JDBC programming we have
to write lots of code . This complexity is removed
by providing JDBC abstraction layer.
2. ORM: This module provides consistency to your
code regardless of data access technologies.
8. Continued!!!!!
3. OXM: It is used to convert object into XML
format and vice versa.
4. Transaction: it support programmatic and
declarative transaction management for plain
old java object classes.
9. web
It consists of following modules
1. Web : It provide the functionalities related to
web. It support features such as file upload
functionality.
2. Web –Servlet: This module contain the module
view container based implementation for web
application.
10. Continued
3. Web –Socket: It provide support for web
socket based, two-way communication between
client and server in web application.
4. Web-portlet: It provides the MVC implementation
to be used in a portlet environment
11. Aspect oriented
programming(AOP)
It provide support for aspect oriented
programming implementation.
It allows you to introduce new
functionality into existing code without
modifying it.
12. Aspects
It is separate module which provide
integration with aspectJ.
Instrumentation
It provides class instrumentation support
and class loader implementation to be
used in certain application servers.
Test
It support the testing of spring components.
13. Last Update: 5/15/06 13
Spring Benefits
Not a J2EE container. Doesn’t compete with
J2EE app servers. Simply provides
alternatives.
POJO-based, non-invasive framework which
allows a la carte usage of its components.
Promotes decoupling and reusability
14. Reduces coding effort and enforces design
discipline by providing out-of-box implicit
pattern implementations such as singleton,
factory, service locator etc.
Removes common code issues like leaking
connections and more
Support for declarative transaction
management
Easy integration with third party tools and
technologies.