SlideShare a Scribd company logo
Getting Started with Spring Framework
What will you learn today?
 Introduction to Spring Framework
 Dependency Injection
 Spring MVC Architecture
 Spring with Big Data
 Build a Web Application using Spring (Demo)
www.edureka.co/spring-framework
Java Frameworks
 In Java technology there are frameworks that helps the programmers to build distributed applications easily.
 Example:
» Hibernate  Object Relationship Mapping Framework
» Struts  Web UI Framework
» Enterprise Java Beans  Oracle’s specification for server side components for persistence & messaging
» Log4J  Apache’s Framework for logging
www.edureka.co/spring-framework
Java Frameworks
www.edureka.co/spring-framework
 Problem:
» Applications that use the varied frameworks and services face scalability issues
» A lot of plumbing code needs to be written
 Need:
» Applications that use a number of frameworks and services have to remain maintainable
» Code should be loosely coupled with the frameworks so that testing and reusability becomes easy
Spring time...
 Open source (http://projects.spring.io/spring-framework/)
 Rod Johnson started SpringSource company and developed
Spring framework for Apache 2.0 in June 2003.
www.edureka.co/spring-framework
Spring Framework
www.edureka.co/spring-framework
 Spring Framework provides a light-weight solution to develop maintainable and reusable enterprise applications
 It provides simple and rich facilities to integrate various frameworks, technologies and services in the
application
Spring Architecture
www.edureka.co/spring-framework
AOP Aspects Instrumentation
Test
JDBC ORM
OXM JMS
Transactions
Web Servlet
Portlet Struts
Beans Core Context
Expression
Language
Core Container
WEB (MVC/Remoting)Data Access/Integration
Spring Framework Runtime
Dependency Injection
www.edureka.co/spring-framework
 Central to the Spring Framework is Inversion of Control (IoC)
 Provides consistent means of configuring and managing
business objects
 Objects created by the container are also called managed
objects or beans
 The container can be configured by XML or Java Annotations
Model-View-Controller (MVC) Architecture
www.edureka.co/spring-framework
Model-View-Controller (MVC) Architecture
 Model-View-Controller architecture is used for interactive web-applications. This model minimizes the coupling between
business logic and data presentation to web user. This model divides the web based application into three layers:
» Model: Model domain contains the business logics and functions that manipulate the business data. It provides
updated information to view domain and also gives response to a query. And the controller can access the
functionality which is encapsulated in the model
» View: View is responsible for presentation aspect of application according to the model data and also responsible
to forward query response to the controller
» Controller: Controller accepts and intercepts user requests and controls the business objects to fulfil these
requests. An application has one controller for related functionality. Controller can also be depends on the type of
clients
www.edureka.co/spring-framework
Aspect Oriented Programming Support
www.edureka.co/spring-framework
 AOP address cross cutting concerns
 A typical use cases of AOP is generating logs
Big Data Extensions
 Spring XD (Xtreme Data) (http://projects.spring.io/spring-xd/) is a unified platform for
» Data ingestion,
» Real time analytics,
» Batch processing, and
» Data export.
www.edureka.co/spring-framework
Courtesy: http://projects.spring.io/spring-xd/
Big Data Extensions
 Spring Data projects (http://projects.spring.io/spring-data/) provides consistent approach to access big data stores.
www.edureka.co/spring-framework
Commons JPA MongoDB Redis
Solr KeyValue Hadoop
Cassandra Elasticsearch Neo4j
Main Modules
Community Modules
REST
Spring - Job Trends
www.edureka.co/spring-framework
Demo: Spring based Web Application
www.edureka.co/spring-framework
Course Details
Become an Expert in Spring Framework by Edureka
Go to www.edureka.co/spring-framework
Edureka's Spring Framework course:
• This course covers all the concepts that made Spring probably the most popular Java application framework. Starting from
Dependency Injection to how to create first spring application, integrating maven, Aspect Oriented Programming (AOP),
integrating Hibernate with Spring, Building application using Spring MVC, Using Apache tiles and JSF for making user view,
Making your spring application secure, Using Log4j as logger and writing test cases with Junit.
• At the end of the course, we will also create a web application using Spring Framework.
• Online Live Courses: 24 hours
• Assignments: 25 hours
• Project: 20 hours
• Lifetime Access + 24 X 7 Support
www.edureka.co/spring-framework
Thank You
Questions/Queries/Feedback
Recording and presentation will be made available to you within 24 hours

More Related Content

PDF
Spring Framework Tutorial | Spring Tutorial For Beginners With Examples | Jav...
PPT
Spring Framework
PDF
Spring MVC Framework
PDF
Spring framework Introduction
PPTX
Spring Framework
PPTX
Java Spring Framework
PDF
Spring Framework
PPTX
Spring MVC framework
Spring Framework Tutorial | Spring Tutorial For Beginners With Examples | Jav...
Spring Framework
Spring MVC Framework
Spring framework Introduction
Spring Framework
Java Spring Framework
Spring Framework
Spring MVC framework

What's hot (19)

PPTX
Introduction to Ibatis by Rohit
PDF
Building Web Application Using Spring Framework
PPTX
Spring Framework Rohit
PPTX
Spring framework-tutorial
PPTX
Building web applications with Java & Spring
PDF
Java spring framework
PDF
Spring framework core
ODP
Spring User Guide
PDF
Spring framework
PPTX
Introduction to Spring Framework
PPTX
Introduction to Spring Framework
PDF
Spring Framework Tutorial | VirtualNuggets
PDF
Spring mvc
PPTX
Java Spring
PDF
Reactjs Basics
PPTX
Java spring ppt
PDF
Spring boot jpa
PDF
Introduction to Spring Framework
PDF
Spring Framework - Core
Introduction to Ibatis by Rohit
Building Web Application Using Spring Framework
Spring Framework Rohit
Spring framework-tutorial
Building web applications with Java & Spring
Java spring framework
Spring framework core
Spring User Guide
Spring framework
Introduction to Spring Framework
Introduction to Spring Framework
Spring Framework Tutorial | VirtualNuggets
Spring mvc
Java Spring
Reactjs Basics
Java spring ppt
Spring boot jpa
Introduction to Spring Framework
Spring Framework - Core
Ad

Similar to Getting Started with Spring Framework (20)

PPTX
Spring tutorials
PPTX
Webinar: Spring Framework - Introduction to Spring WebMVC & Spring with BigData
PPTX
spring framework ppt by Rohit malav
PPT
Spring ppt
PPTX
Introduction to Spring Framework
 
PPT
Spring - a framework written by developers
PPTX
Introduction to Spring Framework
PPTX
Spring framework
PPTX
Spring framework Introduction
PDF
Integration of Struts & Spring & Hibernate for Enterprise Applications
PDF
Spring tutorial
PPTX
Introduction to j2 ee frameworks
DOCX
Spring notes
PPTX
Introduction to Spring sec1.pptx
PDF
Spring 2
PDF
Spring in Action - Sixth Edition (MEAP V04) Craig Walls
ODP
Introduction to Spring Framework and Spring IoC
PPTX
Struts & spring framework issues
PPT
Spring introduction
PDF
Overview chap1
Spring tutorials
Webinar: Spring Framework - Introduction to Spring WebMVC & Spring with BigData
spring framework ppt by Rohit malav
Spring ppt
Introduction to Spring Framework
 
Spring - a framework written by developers
Introduction to Spring Framework
Spring framework
Spring framework Introduction
Integration of Struts & Spring & Hibernate for Enterprise Applications
Spring tutorial
Introduction to j2 ee frameworks
Spring notes
Introduction to Spring sec1.pptx
Spring 2
Spring in Action - Sixth Edition (MEAP V04) Craig Walls
Introduction to Spring Framework and Spring IoC
Struts & spring framework issues
Spring introduction
Overview chap1
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)

PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
Spectroscopy.pptx food analysis technology
PPTX
sap open course for s4hana steps from ECC to s4
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
Big Data Technologies - Introduction.pptx
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
cuic standard and advanced reporting.pdf
PPTX
Cloud computing and distributed systems.
PDF
Electronic commerce courselecture one. Pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
MYSQL Presentation for SQL database connectivity
Building Integrated photovoltaic BIPV_UPV.pdf
Spectral efficient network and resource selection model in 5G networks
Reach Out and Touch Someone: Haptics and Empathic Computing
Spectroscopy.pptx food analysis technology
sap open course for s4hana steps from ECC to s4
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Programs and apps: productivity, graphics, security and other tools
Big Data Technologies - Introduction.pptx
20250228 LYD VKU AI Blended-Learning.pptx
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Understanding_Digital_Forensics_Presentation.pptx
cuic standard and advanced reporting.pdf
Cloud computing and distributed systems.
Electronic commerce courselecture one. Pdf
Unlocking AI with Model Context Protocol (MCP)
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
MYSQL Presentation for SQL database connectivity

Getting Started with Spring Framework

  • 1. Getting Started with Spring Framework
  • 2. What will you learn today?  Introduction to Spring Framework  Dependency Injection  Spring MVC Architecture  Spring with Big Data  Build a Web Application using Spring (Demo) www.edureka.co/spring-framework
  • 3. Java Frameworks  In Java technology there are frameworks that helps the programmers to build distributed applications easily.  Example: » Hibernate  Object Relationship Mapping Framework » Struts  Web UI Framework » Enterprise Java Beans  Oracle’s specification for server side components for persistence & messaging » Log4J  Apache’s Framework for logging www.edureka.co/spring-framework
  • 4. Java Frameworks www.edureka.co/spring-framework  Problem: » Applications that use the varied frameworks and services face scalability issues » A lot of plumbing code needs to be written  Need: » Applications that use a number of frameworks and services have to remain maintainable » Code should be loosely coupled with the frameworks so that testing and reusability becomes easy
  • 5. Spring time...  Open source (http://projects.spring.io/spring-framework/)  Rod Johnson started SpringSource company and developed Spring framework for Apache 2.0 in June 2003. www.edureka.co/spring-framework
  • 6. Spring Framework www.edureka.co/spring-framework  Spring Framework provides a light-weight solution to develop maintainable and reusable enterprise applications  It provides simple and rich facilities to integrate various frameworks, technologies and services in the application
  • 7. Spring Architecture www.edureka.co/spring-framework AOP Aspects Instrumentation Test JDBC ORM OXM JMS Transactions Web Servlet Portlet Struts Beans Core Context Expression Language Core Container WEB (MVC/Remoting)Data Access/Integration Spring Framework Runtime
  • 8. Dependency Injection www.edureka.co/spring-framework  Central to the Spring Framework is Inversion of Control (IoC)  Provides consistent means of configuring and managing business objects  Objects created by the container are also called managed objects or beans  The container can be configured by XML or Java Annotations
  • 10. Model-View-Controller (MVC) Architecture  Model-View-Controller architecture is used for interactive web-applications. This model minimizes the coupling between business logic and data presentation to web user. This model divides the web based application into three layers: » Model: Model domain contains the business logics and functions that manipulate the business data. It provides updated information to view domain and also gives response to a query. And the controller can access the functionality which is encapsulated in the model » View: View is responsible for presentation aspect of application according to the model data and also responsible to forward query response to the controller » Controller: Controller accepts and intercepts user requests and controls the business objects to fulfil these requests. An application has one controller for related functionality. Controller can also be depends on the type of clients www.edureka.co/spring-framework
  • 11. Aspect Oriented Programming Support www.edureka.co/spring-framework  AOP address cross cutting concerns  A typical use cases of AOP is generating logs
  • 12. Big Data Extensions  Spring XD (Xtreme Data) (http://projects.spring.io/spring-xd/) is a unified platform for » Data ingestion, » Real time analytics, » Batch processing, and » Data export. www.edureka.co/spring-framework Courtesy: http://projects.spring.io/spring-xd/
  • 13. Big Data Extensions  Spring Data projects (http://projects.spring.io/spring-data/) provides consistent approach to access big data stores. www.edureka.co/spring-framework Commons JPA MongoDB Redis Solr KeyValue Hadoop Cassandra Elasticsearch Neo4j Main Modules Community Modules REST
  • 14. Spring - Job Trends www.edureka.co/spring-framework
  • 15. Demo: Spring based Web Application www.edureka.co/spring-framework
  • 16. Course Details Become an Expert in Spring Framework by Edureka Go to www.edureka.co/spring-framework Edureka's Spring Framework course: • This course covers all the concepts that made Spring probably the most popular Java application framework. Starting from Dependency Injection to how to create first spring application, integrating maven, Aspect Oriented Programming (AOP), integrating Hibernate with Spring, Building application using Spring MVC, Using Apache tiles and JSF for making user view, Making your spring application secure, Using Log4j as logger and writing test cases with Junit. • At the end of the course, we will also create a web application using Spring Framework. • Online Live Courses: 24 hours • Assignments: 25 hours • Project: 20 hours • Lifetime Access + 24 X 7 Support www.edureka.co/spring-framework
  • 17. Thank You Questions/Queries/Feedback Recording and presentation will be made available to you within 24 hours