Complete overview of Java spring framework

Page 1

Java Spring Framework


Overview  The spring framework is powerful java platform that provides inclusive infrastructure support for creating java apps. Also spring framework is an open source java platform.  Spring framework is first time introduce in June 2003.


Spring Framework Architecture Data Access JDBC OXM

Web

ORM JMS

Transactions

AOP

Aspects

Web Socket

Servlet

Web

Portal

Instrumentations

Messaging

Core Container

Beans

Core

Context Run & Test

SpEL


Benefit of using spring platform  You can method execute without having any deal.  In project number of classes and packages are important, you can worry about only essential component and other component to ignore it.  You can build enterprise applications using "plain old Java objects" (POJOs).  Easy to implement message handler into your web applications.  It becomes simpler to operate dependency injection for injecting test data  Spring provides a useful API to translate technology-specific exceptions like as Hibernate, JDBC and JDO.


Spring support AOP Framework One of the import components of spring is the AOP (Aspect oriented programming) framework. Here to explain some key example security, transactions, declarative and caching etc. Define

Aspects Insert Additional Components

Starting Output


Version History Spring 1st version release in March 2004 Spring 1.2.6 version release in 2006 Spring 2.0 version release in Oct 2006 Spring 2.5 version release in Nov 2007 Spring 3 version release in Dec 2007 Spring 3.1 version release in Dec 2011 Spring 3.2.5 version release in Nov 2013 Spring framework 4 version release in Dec 2013 Spring framework 4.2.0 version release in July 2015 Spring framework 4.2.1 version release in Sept 2015


Dependency Injection  Generally include objects that merge to from the application proper. Include objects in an application or programs have dependencies on each other.  The spring framework systemize formalized design model as 1st class objects that you can combine your own apps.  Number of IT firm and other organizations use the spring framework in proper manner to engineer robust and manage applications.


Data Access Framework Spring data access framework addresses ordinary issue programmers face when working with database applications. Some list of data access frameworks in java platform: Hibernate, JDO, Oracle, Apache OJB, Apache Cayenne and JDBC.

Apache OJB JDBC


MVC (Model-View-Controller) Framework Java spring developers using MVC (model view controller) framework and ready elements that can be used to build simple and flexible connected web applications. Model

View

Controller


Spring - Bean Life Cycle Instantiate Populate properties BeanNameAware’s setBeanName() BeanFactoryAware’s setBeanFactory() Application Content Aware’ssetApplicationContent()

Preinitialization BeanPostProcessors

Bean is Ready to use Container is shut down

InitializingBeans afterPropertiesSet()

Call custom init-Method Postinitialization Beanpostprocessors

Display beans destroy()

Call Custom destroy-method()


Contact Us Corporate Office "Royal Square" 1st Floor, Off No. 110, Nr. Shilp Tower, Tagore Road, Rajkot - 360 001 Gujarat - India

Global Operation Development Centre

“Titanium Square” 3rd Floor, Office No. B-302, S.G. Highway, Beside Parsoli Motors. Nr. Thaltej Crossing, Ahmedabad – 380 054 Gujarat – India

• • • • • •

USA Canada Europe UK Singapore Hong Kong

• • • • •

Japan UAE Australia New Zeeland Saudi Arabia


Thank You

Q Technoligent

A


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.