Disclaimer: This presentation is prepared by trainees of
baabtra as a part of mentoring program. This is not official
document of baabtra –Mentoring Partner
Baabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt .
Ltd
Spring Framework
Abhishek H Menon
abhishekmenon@gmail.com
www.facebook.com/abhishe
kmenon5
twitter.com/abhishekmenon
121989
in.linkedin.com/in/Abhishek
H Menon
9496519895
Spring Framework
• Provides a comprehensive programming and
configuration model for modern java-based
enterprise application on any kind of
deployment platform.
• Open source framework.
• Founded by Rod Johnson in 2002.
Why Spring?
• Although we have other frameworks, then
why Spring?
• Spring is unique for several reasons
– It addresses several important areas, that many
other popular frameworks cannot.
– Both comprehensive and modular.
– Is designed from the ground up to help you write
code that is easy to test.
– Increasingly important integration technology.
Architecture
Test
AOP InstrumentationAspects
Data integration Access Web (MVC / Remoting)
Transactions
JDBC
OXM JMS
ORM
Web
Porlet Struts
Servlet
Core Container
Beans Core Context
Expression
Language
Core container
• Core module provides the fundamental parts of the
framework including the IoC and dependency injection
features.
• Bean module provides BeanFactory which is a sophisticated of
the factory pattern.
• Context module builds on the solid base provided by the Core
and Beans modules and it is a medium to access any objects
defined and configured.
• Expression language module provides a powerful expression
language for querying and manipulating an object graph at
runtime.
Data/Access integration
• JDBC module provides a JDBC-abstraction layer that removes the need to
do tedious JDBC related coding.
• ORM module provides integration layers for popular object-relational
mapping APIs, including JPA, JDO, Hibernate and iBatis.
• OXM provides an abstraction layer that supports Object/XML mapping
implementations for JAXB, Castor, XMLBeans, JiBX, and XStream.
• Transaction module supports programmatic and declarative transaction
management for classes that implement special interfaces and for all
your POJOs.
• JMS (Java Messaging Service) contains features for producing and
consuming messages.
Web
• Web module provides basic web-oriented-integration features
such as multi-part file upload functionality and the
initialisation of the IoC container using servlet listeners and a
web oriented application context.
• Web-Servlet module contains Spring MVC(Model View
Controller) for web applications.
• Web-Struts module contains the support classes for
integrating a classic struts web tier within a Spring application.
• Web-Portlet provides the MVC implementation to be used in
a portlet environment and mirrors the Web-Servlet module.
Other compartments
• AOP provides aspect-oriented-programming implementation
allowing you to define method interceptors and point-cuts to
cleanly decouple that implements functionality that should be
separated.
• Aspects module provides integration with AspectJ which is
again a powerful and mature aspect oriented programming
(AOP) framework.
• Instrumentation module provides class instrumentation
support and class loader implementations to be used in
certain application servers.
• Test module supports testing of Spring components with
Junits or Testing frameworks.
If this presentation helped you, please visit our
page facebook.com/baabtra and like it.
Thanks in advance.
www.baabtra.com | www.massbaab.com |www.baabte.com
Contact Us
Emerald Mall (Big Bazar Building)
Mavoor Road, Kozhikode,
Kerala, India.
Ph: + 91 – 495 40 25 550
NC Complex, Near Bus Stand
Mukkam, Kozhikode,
Kerala, India.
Ph: + 91 – 495 40 25 550
Start up Village
Ernakulam,
Kerala, India.
Email: info@baabtra.com

Spring framework

  • 2.
    Disclaimer: This presentationis prepared by trainees of baabtra as a part of mentoring program. This is not official document of baabtra –Mentoring Partner Baabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt . Ltd
  • 3.
    Spring Framework Abhishek HMenon abhishekmenon@gmail.com www.facebook.com/abhishe kmenon5 twitter.com/abhishekmenon 121989 in.linkedin.com/in/Abhishek H Menon 9496519895
  • 4.
    Spring Framework • Providesa comprehensive programming and configuration model for modern java-based enterprise application on any kind of deployment platform. • Open source framework. • Founded by Rod Johnson in 2002.
  • 5.
    Why Spring? • Althoughwe have other frameworks, then why Spring? • Spring is unique for several reasons – It addresses several important areas, that many other popular frameworks cannot. – Both comprehensive and modular. – Is designed from the ground up to help you write code that is easy to test. – Increasingly important integration technology.
  • 6.
    Architecture Test AOP InstrumentationAspects Data integrationAccess Web (MVC / Remoting) Transactions JDBC OXM JMS ORM Web Porlet Struts Servlet Core Container Beans Core Context Expression Language
  • 7.
    Core container • Coremodule provides the fundamental parts of the framework including the IoC and dependency injection features. • Bean module provides BeanFactory which is a sophisticated of the factory pattern. • Context module builds on the solid base provided by the Core and Beans modules and it is a medium to access any objects defined and configured. • Expression language module provides a powerful expression language for querying and manipulating an object graph at runtime.
  • 8.
    Data/Access integration • JDBCmodule provides a JDBC-abstraction layer that removes the need to do tedious JDBC related coding. • ORM module provides integration layers for popular object-relational mapping APIs, including JPA, JDO, Hibernate and iBatis. • OXM provides an abstraction layer that supports Object/XML mapping implementations for JAXB, Castor, XMLBeans, JiBX, and XStream. • Transaction module supports programmatic and declarative transaction management for classes that implement special interfaces and for all your POJOs. • JMS (Java Messaging Service) contains features for producing and consuming messages.
  • 9.
    Web • Web moduleprovides basic web-oriented-integration features such as multi-part file upload functionality and the initialisation of the IoC container using servlet listeners and a web oriented application context. • Web-Servlet module contains Spring MVC(Model View Controller) for web applications. • Web-Struts module contains the support classes for integrating a classic struts web tier within a Spring application. • Web-Portlet provides the MVC implementation to be used in a portlet environment and mirrors the Web-Servlet module.
  • 10.
    Other compartments • AOPprovides aspect-oriented-programming implementation allowing you to define method interceptors and point-cuts to cleanly decouple that implements functionality that should be separated. • Aspects module provides integration with AspectJ which is again a powerful and mature aspect oriented programming (AOP) framework. • Instrumentation module provides class instrumentation support and class loader implementations to be used in certain application servers. • Test module supports testing of Spring components with Junits or Testing frameworks.
  • 11.
    If this presentationhelped you, please visit our page facebook.com/baabtra and like it. Thanks in advance. www.baabtra.com | www.massbaab.com |www.baabte.com
  • 12.
    Contact Us Emerald Mall(Big Bazar Building) Mavoor Road, Kozhikode, Kerala, India. Ph: + 91 – 495 40 25 550 NC Complex, Near Bus Stand Mukkam, Kozhikode, Kerala, India. Ph: + 91 – 495 40 25 550 Start up Village Ernakulam, Kerala, India. Email: info@baabtra.com