SlideShare une entreprise Scribd logo
1  sur  17
Télécharger pour lire hors ligne
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

Contenu connexe

Tendances

Tendances (19)

Introduction to Ibatis by Rohit
Introduction to Ibatis by RohitIntroduction to Ibatis by Rohit
Introduction to Ibatis by Rohit
 
Building Web Application Using Spring Framework
Building Web Application Using Spring FrameworkBuilding Web Application Using Spring Framework
Building Web Application Using Spring Framework
 
Spring Framework Rohit
Spring Framework RohitSpring Framework Rohit
Spring Framework Rohit
 
Spring framework-tutorial
Spring framework-tutorialSpring framework-tutorial
Spring framework-tutorial
 
Building web applications with Java & Spring
Building web applications with Java & SpringBuilding web applications with Java & Spring
Building web applications with Java & Spring
 
Java spring framework
Java spring frameworkJava spring framework
Java spring framework
 
Spring framework core
Spring framework coreSpring framework core
Spring framework core
 
Spring User Guide
Spring User GuideSpring User Guide
Spring User Guide
 
Spring framework
Spring frameworkSpring framework
Spring framework
 
Introduction to Spring Framework
Introduction to Spring FrameworkIntroduction to Spring Framework
Introduction to Spring Framework
 
Introduction to Spring Framework
Introduction to Spring FrameworkIntroduction to Spring Framework
Introduction to Spring Framework
 
Spring Framework Tutorial | VirtualNuggets
Spring Framework Tutorial | VirtualNuggetsSpring Framework Tutorial | VirtualNuggets
Spring Framework Tutorial | VirtualNuggets
 
Spring mvc
Spring mvcSpring mvc
Spring mvc
 
Java Spring
Java SpringJava Spring
Java Spring
 
Reactjs Basics
Reactjs BasicsReactjs Basics
Reactjs Basics
 
Java spring ppt
Java spring pptJava spring ppt
Java spring ppt
 
Spring boot jpa
Spring boot jpaSpring boot jpa
Spring boot jpa
 
Introduction to Spring Framework
Introduction to Spring FrameworkIntroduction to Spring Framework
Introduction to Spring Framework
 
Spring Framework - Core
Spring Framework - CoreSpring Framework - Core
Spring Framework - Core
 

Similaire à Getting Started with Spring Framework

Integration of java ee applications on c – based implementations
Integration of java ee applications on c – based implementationsIntegration of java ee applications on c – based implementations
Integration of java ee applications on c – based implementations
Alexander Decker
 
2014_report
2014_report2014_report
2014_report
K SEZER
 

Similaire à Getting Started with Spring Framework (20)

Spring tutorials
Spring tutorialsSpring tutorials
Spring tutorials
 
Webinar: Spring Framework - Introduction to Spring WebMVC & Spring with BigData
Webinar: Spring Framework - Introduction to Spring WebMVC & Spring with BigData Webinar: Spring Framework - Introduction to Spring WebMVC & Spring with BigData
Webinar: Spring Framework - Introduction to Spring WebMVC & Spring with BigData
 
Programming is Fun with ASP.NET MVC
Programming is Fun with ASP.NET MVCProgramming is Fun with ASP.NET MVC
Programming is Fun with ASP.NET MVC
 
Persentation
PersentationPersentation
Persentation
 
ASP.NET Presentation
ASP.NET PresentationASP.NET Presentation
ASP.NET Presentation
 
IRJET- Lightweight MVC Framework in PHP
IRJET- Lightweight MVC Framework in PHPIRJET- Lightweight MVC Framework in PHP
IRJET- Lightweight MVC Framework in PHP
 
MVC & backbone.js
MVC & backbone.jsMVC & backbone.js
MVC & backbone.js
 
Asp.Net Core MVC with Entity Framework
Asp.Net Core MVC with Entity FrameworkAsp.Net Core MVC with Entity Framework
Asp.Net Core MVC with Entity Framework
 
Spring Basics
Spring BasicsSpring Basics
Spring Basics
 
Angular JS Basics
Angular JS BasicsAngular JS Basics
Angular JS Basics
 
Developing Java Web Applications
Developing Java Web ApplicationsDeveloping Java Web Applications
Developing Java Web Applications
 
Asp 1a-aspnetmvc
Asp 1a-aspnetmvcAsp 1a-aspnetmvc
Asp 1a-aspnetmvc
 
Aspnetmvc 1
Aspnetmvc 1Aspnetmvc 1
Aspnetmvc 1
 
Integration of java ee applications on c – based implementations
Integration of java ee applications on c – based implementationsIntegration of java ee applications on c – based implementations
Integration of java ee applications on c – based implementations
 
Javascript frameworks
Javascript frameworksJavascript frameworks
Javascript frameworks
 
How Spring Framework Really Works?
How Spring Framework Really Works?How Spring Framework Really Works?
How Spring Framework Really Works?
 
Asp.net c# MVC-5 Training-Day-1 of Day-9
Asp.net c# MVC-5 Training-Day-1 of Day-9Asp.net c# MVC-5 Training-Day-1 of Day-9
Asp.net c# MVC-5 Training-Day-1 of Day-9
 
www.webre24h.com - An ajax tool for online modeling
www.webre24h.com - An ajax tool for online modelingwww.webre24h.com - An ajax tool for online modeling
www.webre24h.com - An ajax tool for online modeling
 
2014_report
2014_report2014_report
2014_report
 
Web application framework
Web application frameworkWeb application framework
Web application framework
 

Plus de Edureka!

Plus de Edureka! (20)

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

Dernier

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Dernier (20)

AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 

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