Thursday, February 7, 2013

An Overview of SPRING Framework


The Spring Framework is an open source application framework for the Java platform. The first official release of spring was version 1.0 released in year 2004. Current version is 2.5.6 released in January 2009. Spring provides a light weight container and framework.


Core: is the most fundamental part which provides the Dependency Injection container DAO: provides a abstraction of the JDBC layer which removes the to do tedious JDBC coding ORM: provides integration layers for popular object relational mapping APis. 

AOP: provides an AOP Alliance-compliant aspect-oriented programming implementation. 
MVC: provides a Model-View-Controller (MVC) implementation for web applications 

In spring, those objects that form the backbone of your application and that are managed by the Spring IoC container are referred to as beans. A bean is simply an object that is instantiated, assembled and otherwise managed by a Spring IoC container. 

Spring framework contains several modules that provides variety of services Inversion of Control container: Provides a convenient way for managing and configuring JAVA objects using callbacks. 

Aspect-oriented programming: enables implementation of cross-cutting routines. AOP is configured at run time. This removes the need for a compilation step or load-time weaving. 

Other than these Data access, Transaction management, Model-view-controller, Remote Access framework, Convention-over-configuration and Batch processing components are available as well. 

Spring includes classes that support remoting using various technologies. Spring has four classes that supports remoting: 

Remote Method Invocation (RMI) 

Spring's HTTP invoker 

By using Spring's HessianProxyFactoryBean and the HessianServiceExporterSpring Burlap. Burlap is Caucho's XML-based alternative to Hessian. Spring provides support classes such as BurlapProxyFactoryBean and BurlapServiceExporter.

No comments:
Write comments
Recommended Posts × +