`
https://www.edureka.co/spring-frameworkEDUREKA SPRING FRAMEWORK CERTIFICATION TRAINING
`
https://www.edureka.co/spring-frameworkEDUREKA SPRING FRAMEWORK CERTIFICATION TRAINING
Agenda For Today
Modules
Spring Framework
Why Spring Framework?
Java Frameworks
Spring Features
Architecture
`
https://www.edureka.co/spring-frameworkEDUREKA SPRING FRAMEWORK CERTIFICATION TRAINING
Java Frameworks
`
https://www.edureka.co/spring-frameworkEDUREKA SPRING FRAMEWORK CERTIFICATION TRAINING
Java Frameworks
So much of code !!!!
`
https://www.edureka.co/spring-frameworkEDUREKA SPRING FRAMEWORK CERTIFICATION TRAINING
Java Frameworks
Need something that
is fast and efficient
`
https://www.edureka.co/spring-frameworkEDUREKA SPRING FRAMEWORK CERTIFICATION TRAINING
Java Frameworks
Ohh! I can use Java
Framework!
`
https://www.edureka.co/spring-frameworkEDUREKA SPRING FRAMEWORK CERTIFICATION TRAINING
Java Frameworks
This fits with my
code too !
`
https://www.edureka.co/spring-frameworkEDUREKA SPRING FRAMEWORK CERTIFICATION TRAINING
Java Frameworks
Problem Solved !!
`
https://www.edureka.co/spring-frameworkEDUREKA SPRING FRAMEWORK CERTIFICATION TRAINING
Java Frameworks
Applications speed
and efficiency
increased
`
https://www.edureka.co/spring-frameworkEDUREKA SPRING FRAMEWORK CERTIFICATION TRAINING
Java Framework Principle
Abides the Hollywood Principle that is “Don’t call us, we’ll call you”.
Also called Inversion of flow or Inversion of Control
Class A
Class A
Class C
Class B
Class B
Class C
Injection
Dependency
`
https://www.edureka.co/spring-frameworkEDUREKA SPRING FRAMEWORK CERTIFICATION TRAINING
Different Java Frameworks
`
https://www.edureka.co/spring-frameworkEDUREKA SPRING FRAMEWORK CERTIFICATION TRAINING
Different Java Frameworks
Spring Framework
`
https://www.edureka.co/spring-frameworkEDUREKA SPRING FRAMEWORK CERTIFICATION TRAINING
Spring Origin
First version of Spring was first released on
February 2003, By Rod Johnson.
Spring has been hosted on SourceForge since
January 2003.
`
https://www.edureka.co/spring-frameworkEDUREKA SPRING FRAMEWORK CERTIFICATION TRAINING
Spring History
YEAR
2003 2007 2009 2011 2013 20152004 2006 2016
0.9
2.5
2.0
1.0
3.1
4.0
4.2.0
4.3
3.0
`
https://www.edureka.co/spring-frameworkEDUREKA SPRING FRAMEWORK CERTIFICATION TRAINING
Definition
Spring is a complete and a modular framework
for developing enterprise applications in java.
spring framework can be
used for all layer
implementations for
a real time application
spring can be used for
the development of
particular layer of a
real time application
`
https://www.edureka.co/spring-frameworkEDUREKA SPRING FRAMEWORK CERTIFICATION TRAINING
Features Of Spring
Open Source Comprehensive
Tool
Light Weight Solves Problems Framework of
Frameworks
Avails array of
resources
Why Spring Framework ?
`
https://www.edureka.co/spring-frameworkEDUREKA SPRING FRAMEWORK CERTIFICATION TRAINING
Uses Of Spring Over Other Frameworks
`
https://www.edureka.co/spring-frameworkEDUREKA SPRING FRAMEWORK CERTIFICATION TRAINING
Why Spring Is So Popular ?
S I M P L I C I T Y
T E S TA B L I T Y
L O O S E C O U P L I N G
These 3 are basically the main reasons for its popularity.
Lets now understand how they are exactly making it so
`
https://www.edureka.co/spring-frameworkEDUREKA SPRING FRAMEWORK CERTIFICATION TRAINING
T E S TA B L I T Y
L O O S E C O U P L I N G
Simplicity
Spring framework is simple because as it is non-invasive.
It uses POJO and POJI
If a java class is not coupled with any technology (or) any
framework then that java class is called “POJO” (plain old
java class)
public class MyClass
{ …
…
…
}
S I M P L I C I T Y
`
https://www.edureka.co/spring-frameworkEDUREKA SPRING FRAMEWORK CERTIFICATION TRAINING
T E S TA B L I T Y
L O O S E C O U P L I N G
Simplicity
If a java interface is not coupled with any technology (or)
any frame work then such java interface is called “POJI”
(plain old java interface)
public interface MyInterface
{ …
…
…
}
S I M P L I C I T Y
`
https://www.edureka.co/spring-frameworkEDUREKA SPRING FRAMEWORK CERTIFICATION TRAINING
S I M P L I C I T Y
L O O S E C O U P L I N G
Actually for writing the spring application, server
[Container] is not mandatory because it has it own
container to run the applications
Spring Container
Final Result
Java POJO Classes
Ready To Use
Application
MetaData
Testablity
T E S TA B L I T Y
`
https://www.edureka.co/spring-frameworkEDUREKA SPRING FRAMEWORK CERTIFICATION TRAINING
S I M P L I C I T Y
T E S TA B L I T Y
Spring objects are loosely coupled, this is
the core concept of spring framework
class Rider
{
Bike b;
public void setBike(Bike b)
{
this.b = b;
}
void ride()
{
b.start();
}
}
Interface Bike
{
void start();
}
BajajHonda Yamaha
Classes
Spring container will inject either Honda object or Bajaj object
or Yamaha object into the Rider class by calling setter method
Loose Coupling
L O O S E C O U P L I N G
`
https://www.edureka.co/spring-frameworkEDUREKA SPRING FRAMEWORK CERTIFICATION TRAINING
Spring Framework Ecosystem
Architecture
`
https://www.edureka.co/spring-frameworkEDUREKA SPRING FRAMEWORK CERTIFICATION TRAINING
Spring Architecture
Modules
`
https://www.edureka.co/spring-frameworkEDUREKA SPRING FRAMEWORK CERTIFICATION TRAINING
Core Container
Data Access/Integration
Web
AOP (Aspect Oriented Programming)
Instrumentation
Test
o The Spring Framework contains a lot of features, which are well-organized in about twenty
modules.
o These modules can be grouped together based on their primary features into following:
Spring Modules
`
https://www.edureka.co/spring-frameworkEDUREKA SPRING FRAMEWORK CERTIFICATION TRAINING
CoreContainer
Provide the
fundamental parts
of the framework
Provides
BeanFactory
Supports
internationalizatio
n (I18N), EJB, JMS,
Basic Remoting
Provides a
powerful
expression
language
Core
ContextSpEL
Beans
Modules-Core Container
`
https://www.edureka.co/spring-frameworkEDUREKA SPRING FRAMEWORK CERTIFICATION TRAINING
DataAccess
Provides a JDBC-
abstraction layer
Provides
integration layers
Provides an
abstraction
Supports
programmatic and
declarative
transaction
management
JDBC
OXMTransaction
ORM
Contains features
for producing and
consuming
messages
JMS
Modules-Data Access
`
https://www.edureka.co/spring-frameworkEDUREKA SPRING FRAMEWORK CERTIFICATION TRAINING
Web
Provides basic
web-oriented
integration
features
Contains Spring's
Model-View-
Controller (MVC)
implementation
Provides support
for WebSocket-
based, two-way
communication
Provides the MVC
implementation
used in a portlet
environment
Web
Web SocketWeb Portlet
Web MVC
Modules-Web
`
https://www.edureka.co/spring-frameworkEDUREKA SPRING FRAMEWORK CERTIFICATION TRAINING
Miscellaneous
Provides an
aspect-oriented
programming
implementation
Provides
integration with
AspectJ
Provides class
instrumentation
support and class
loader
implementations
Supports the
testing of Spring
components with
JUnit or TestNG
frameworks
AOP Instrumenting
Test Aspects
Provides support
for STOMP as the
WebSocket sub-
protocol to use in
applications
Messaging
Modules-Miscellaneous
IoC
Dependency
Injection
AOP
MVC
`
https://www.edureka.co/spring-frameworkEDUREKA SPRING FRAMEWORK CERTIFICATION TRAINING
IoC Container Features
Creating The Object
Configuring Them
Managing Their Complete Life Cycle
Wiring Them Together
`
https://www.edureka.co/spring-frameworkEDUREKA SPRING FRAMEWORK CERTIFICATION TRAINING
IoC Container
The Spring IoC container by using Java POJO
classes and configuration metadata produces a
fully configured and executable system or
application.
Spring Container
Final Result
Java POJO Classes
Ready To Use
Application
MetaData
`
https://www.edureka.co/spring-frameworkEDUREKA SPRING FRAMEWORK CERTIFICATION TRAINING
IoC Container
Configured by loading the XML files or by detecting specific Java
annotations on configuration classes.
Two types of IoC containers :
BeanFactory
ApplicationContext
Dependency
Injection
AOPIoC
MVC
`
https://www.edureka.co/spring-frameworkEDUREKA SPRING FRAMEWORK CERTIFICATION TRAINING
Dependency Injection
Removes the dependency from the programming code
Makes the Application easy to manage and test
Makes our programming code loosely coupled
`
https://www.edureka.co/spring-frameworkEDUREKA SPRING FRAMEWORK CERTIFICATION TRAINING
Types Of Dependency Injection
Spring framework avails two ways to inject dependency :
By Constructor
By Setter method
1
2 The <property> subelement of <bean>
is used for setter injection
The <constructor-arg> subelement of
<bean> is used for constructor injection
AOP
Dependency
Injection
IoC
MVC
`
https://www.edureka.co/spring-frameworkEDUREKA SPRING FRAMEWORK CERTIFICATION TRAINING
Aspect Oriented Programming
Providing modularity with aspect rather than class.1
AOP breaks the program logic into distinct parts called concerns2
A cross-cutting concern is a concern which can affect the entire application4
Increases modularity by cross-cutting concerns3
`
https://www.edureka.co/spring-frameworkEDUREKA SPRING FRAMEWORK CERTIFICATION TRAINING
Aspect Oriented Programming
Module 2
Application
Module 3
Crosscutting concern is applicable throughout the application and it affects the entire application modules
Module 1
Cross
cutting
concern
MVC
AOPIoC
Dependency
Injection
`
https://www.edureka.co/spring-frameworkEDUREKA SPRING FRAMEWORK CERTIFICATION TRAINING
Model View Controller
User input is interpreted by the controller and are transformed into a model which is represented to the
user by the view.
Controller
View
Model
Request
Response
User
Browser
`
https://www.edureka.co/spring-frameworkEDUREKA SPRING FRAMEWORK CERTIFICATION TRAINING
Summary
Java Frameworks Why Spring Frameworks ?Spring Framework
Architecture Spring FeaturesModules
Thank You …
Questions/Queries/Feedback

More Related Content

PDF
Spring Framework Tutorial | Spring Tutorial For Beginners With Examples | Jav...
PDF
Spring Boot Tutorial | Microservices Spring Boot | Microservices Architecture...
PPTX
Spring Framework
PPT
Spring introduction
PDF
Spring mvc
PPTX
Spring boot
PDF
Introduction to Spring Framework
PDF
Introduction to Spring's Dependency Injection
Spring Framework Tutorial | Spring Tutorial For Beginners With Examples | Jav...
Spring Boot Tutorial | Microservices Spring Boot | Microservices Architecture...
Spring Framework
Spring introduction
Spring mvc
Spring boot
Introduction to Spring Framework
Introduction to Spring's Dependency Injection

What's hot (20)

PDF
Declarative Clients in Spring
PPTX
Spring boot Introduction
PDF
Spring Interview Questions and Answers | Spring Tutorial | Spring Framework T...
PPTX
Spring boot
PPTX
Log4j slideshare
PDF
Spring Boot
PPTX
Spring andspringboot training
PDF
Introduction to Spring Boot!
PPTX
Java (Part 2) unit 1
PPT
Spring Framework
PDF
Spring Boot
PDF
Building RESTful applications using Spring MVC
PPTX
Introduction to Spring Framework
PDF
Spring framework Introduction
PDF
Spring boot introduction
ODP
Xke spring boot
PDF
Spring Boot Interview Questions | Edureka
PDF
Java spring framework
PPTX
Spring MVC
PPTX
Features of java 02
Declarative Clients in Spring
Spring boot Introduction
Spring Interview Questions and Answers | Spring Tutorial | Spring Framework T...
Spring boot
Log4j slideshare
Spring Boot
Spring andspringboot training
Introduction to Spring Boot!
Java (Part 2) unit 1
Spring Framework
Spring Boot
Building RESTful applications using Spring MVC
Introduction to Spring Framework
Spring framework Introduction
Spring boot introduction
Xke spring boot
Spring Boot Interview Questions | Edureka
Java spring framework
Spring MVC
Features of java 02
Ad

Similar to What Is Spring Framework In Java | Spring Framework Tutorial For Beginners With Examples | Edureka (20)

PDF
Building Web Application Using Spring Framework
PDF
Getting Started with Spring Framework
PPTX
Webinar: Spring Framework - Introduction to Spring WebMVC & Spring with BigData
PPTX
Spring frame work by rohit malav(detailed)
PPTX
Introduction to Spring Framework
PDF
Spring tutorial
PDF
Spring framework
PDF
Mastering Dependency Injection with Spring Framework
PPTX
Spring Framework Rohit
PPTX
Introduction to Spring Framework
 
PDF
An introduction to the Spring Framework
PPTX
Spring Framework Presantation Part 1-Core
PPTX
Introduction to Spring sec1.pptx
PPT
IEEE Day 2013 Baku - Spring Framework overview and Spring MVC
PPT
Spring ppt
ODP
Introduction to Spring Framework and Spring IoC
PDF
Spring Framework Tutorial | VirtualNuggets
PPTX
Spring Test Framework
PDF
PDF Spring in Action - Sixth Edition (MEAP V04) Craig Walls download
Building Web Application Using Spring Framework
Getting Started with Spring Framework
Webinar: Spring Framework - Introduction to Spring WebMVC & Spring with BigData
Spring frame work by rohit malav(detailed)
Introduction to Spring Framework
Spring tutorial
Spring framework
Mastering Dependency Injection with Spring Framework
Spring Framework Rohit
Introduction to Spring Framework
 
An introduction to the Spring Framework
Spring Framework Presantation Part 1-Core
Introduction to Spring sec1.pptx
IEEE Day 2013 Baku - Spring Framework overview and Spring MVC
Spring ppt
Introduction to Spring Framework and Spring IoC
Spring Framework Tutorial | VirtualNuggets
Spring Test Framework
PDF Spring in Action - Sixth Edition (MEAP V04) Craig Walls download
Ad

More from Edureka! (20)

PDF
What to learn during the 21 days Lockdown | Edureka
PDF
Top 10 Dying Programming Languages in 2020 | Edureka
PDF
Top 5 Trending Business Intelligence Tools | Edureka
PDF
Tableau Tutorial for Data Science | Edureka
PDF
Python Programming Tutorial | Edureka
PDF
Top 5 PMP Certifications | Edureka
PDF
Top Maven Interview Questions in 2020 | Edureka
PDF
Linux Mint Tutorial | Edureka
PDF
How to Deploy Java Web App in AWS| Edureka
PDF
Importance of Digital Marketing | Edureka
PDF
RPA in 2020 | Edureka
PDF
Email Notifications in Jenkins | Edureka
PDF
EA Algorithm in Machine Learning | Edureka
PDF
Cognitive AI Tutorial | Edureka
PDF
AWS Cloud Practitioner Tutorial | Edureka
PDF
Blue Prism Top Interview Questions | Edureka
PDF
Big Data on AWS Tutorial | Edureka
PDF
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
PDF
Kubernetes Installation on Ubuntu | Edureka
PDF
Introduction to DevOps | Edureka
What to learn during the 21 days Lockdown | Edureka
Top 10 Dying Programming Languages in 2020 | Edureka
Top 5 Trending Business Intelligence Tools | Edureka
Tableau Tutorial for Data Science | Edureka
Python Programming Tutorial | Edureka
Top 5 PMP Certifications | Edureka
Top Maven Interview Questions in 2020 | Edureka
Linux Mint Tutorial | Edureka
How to Deploy Java Web App in AWS| Edureka
Importance of Digital Marketing | Edureka
RPA in 2020 | Edureka
Email Notifications in Jenkins | Edureka
EA Algorithm in Machine Learning | Edureka
Cognitive AI Tutorial | Edureka
AWS Cloud Practitioner Tutorial | Edureka
Blue Prism Top Interview Questions | Edureka
Big Data on AWS Tutorial | Edureka
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
Kubernetes Installation on Ubuntu | Edureka
Introduction to DevOps | Edureka

Recently uploaded (20)

PPTX
AI IN MARKETING- PRESENTED BY ANWAR KABIR 1st June 2025.pptx
PDF
STKI Israel Market Study 2025 version august
PDF
“A New Era of 3D Sensing: Transforming Industries and Creating Opportunities,...
PDF
UiPath Agentic Automation session 1: RPA to Agents
PDF
NewMind AI Weekly Chronicles – August ’25 Week III
PDF
Taming the Chaos: How to Turn Unstructured Data into Decisions
PDF
Getting started with AI Agents and Multi-Agent Systems
PPTX
2018-HIPAA-Renewal-Training for executives
PDF
Hybrid horned lizard optimization algorithm-aquila optimizer for DC motor
PPTX
Configure Apache Mutual Authentication
PPTX
TEXTILE technology diploma scope and career opportunities
PPT
What is a Computer? Input Devices /output devices
PPTX
Benefits of Physical activity for teenagers.pptx
PPTX
Microsoft Excel 365/2024 Beginner's training
PPT
Module 1.ppt Iot fundamentals and Architecture
PDF
Consumable AI The What, Why & How for Small Teams.pdf
PDF
Architecture types and enterprise applications.pdf
PDF
Enhancing plagiarism detection using data pre-processing and machine learning...
PPT
Geologic Time for studying geology for geologist
PDF
1 - Historical Antecedents, Social Consideration.pdf
AI IN MARKETING- PRESENTED BY ANWAR KABIR 1st June 2025.pptx
STKI Israel Market Study 2025 version august
“A New Era of 3D Sensing: Transforming Industries and Creating Opportunities,...
UiPath Agentic Automation session 1: RPA to Agents
NewMind AI Weekly Chronicles – August ’25 Week III
Taming the Chaos: How to Turn Unstructured Data into Decisions
Getting started with AI Agents and Multi-Agent Systems
2018-HIPAA-Renewal-Training for executives
Hybrid horned lizard optimization algorithm-aquila optimizer for DC motor
Configure Apache Mutual Authentication
TEXTILE technology diploma scope and career opportunities
What is a Computer? Input Devices /output devices
Benefits of Physical activity for teenagers.pptx
Microsoft Excel 365/2024 Beginner's training
Module 1.ppt Iot fundamentals and Architecture
Consumable AI The What, Why & How for Small Teams.pdf
Architecture types and enterprise applications.pdf
Enhancing plagiarism detection using data pre-processing and machine learning...
Geologic Time for studying geology for geologist
1 - Historical Antecedents, Social Consideration.pdf

What Is Spring Framework In Java | Spring Framework Tutorial For Beginners With Examples | Edureka