Springs - SPLessons

Chapter 3

Spring Architecture

Spring Architecture

As all know that Spring Architecture framework is an arranged layered architecture which consists of modules, all modules will have its own functionality that utilized to build an application. Here developer may choose to require module, following is the Spring Architecture figure which describes every module.

Spring Architecture

AOP:AOP language is the powerful tool. AOP allows developers to add enterprise functionality to the application such as transaction, security. AOP allows to write less code. AOP separates the code logic as various parts sales as concerns. AOP uses crosscutting concerns.

Aspects:Aspect module provides support to integrate with AspectJ.AspectJ is an extension of AOP.

Instrumentation:Instrumentation provides support to class instrumentation and class loader presentation.

Messaging:Messaging provides STOMP protocol support to utilize in applications, STOMP stands for Simple Text Oriented Message Protocol.

Data Access

JDBC

Following is the link to know how JDBC with Spring.

Spring JDBC

ORM

ORM stands for Object Relational Mapping to convert the data between in incompatible systems, generally in Hibernate ORM plays a major role.

OXM

OXM stands for Object XML Mappers that utilized to mapping between objects and XML documents, it can be integrated with various frameworks such as Castor, XmlBeans.

JMS

JMS stands for Java Message Service that consist of features for consuming messages.

Transaction

Following is the link for Transaction in Spring. Spring Transaction Management

Web

Web

This component embraces of web, web-struts, web-servlet, web-portlet and supports to develop scalable and loosely coupled web applications.

Web-Socket

The functionality of web-socket is to provide two way communication between client and server.

Web-Portlet[/title
Portlet is used to develop JSR-286 applications that can be deployed to any portal servers, it uses MVC implementation.

Spring Core

Beans & Core

It gives inversion of control, DI(Dependency Injection) features.

Context

Context supports EJB, JMS and basic remoting.

Expression Language

It is an extension to the JSP EL. It provides supports to getting and setting property values, method invocation, indexers, named variables, retrieval of objects by name. Follow the link Expression Language .

Expression Language

Summary

  • Spring Architecture – Web-MVC framework provides flexible and loosely coupled web applications.