This document provides an introduction to Spring Web MVC and Spring with Big Data. It outlines the objectives of learning about the Spring framework, Spring MVC, and demo projects. It also includes sections on Java frameworks, the need for Spring, key Spring components like dependency injection and AOP, and labs on setting up Spring MVC and Hadoop. Contact information is provided for queries.
WordPress Websites for Engineers: Elevate Your Brand
Introduction to Spring Web MVC & Spring with Big Data
1. Introduction to Spring Web MVC
&
Spring with Big Data
View Spring Framework course details at www.edureka.co/spring-framework
For Queries:
Post on Twitter @edurekaIN: #askEdureka
Post on Facebook /edurekaIN
For more details please contact us:
US : 1800 275 9730 (toll free)
INDIA : +91 88808 62004
Email Us : sales@edureka.co
2. Objectives
At the end of this module, you will be able to:
Understand
» The need for Spring Framework
» Roles of Spring Framework in enterprise applications
» The overview of Spring Modules
Springify a simple Web Application
» Demo project on Spring Web MVC
» Course Calendar Application for an Online Education
» Demo On Spring Big Data
Slide 2 www.edureka.co/spring-framework
3. Java Frameworks!!!
In Java technology there are many frameworks that helps the programmers to easily build complex applications
You can choose these frameworks for building your applications
Example:
» Hibernate Database access mechanism
» Struts Web Layer
» EJBs Services like transactions, security & messaging
» Log4J Logging
Slide 3 www.edureka.co/spring-framework
4. Java Frameworks!!!
Problem:
» Applications that use the varied frameworks and services are difficult to maintain as they grow
Need:
» Applications that use a number of frameworks and services have to remain maintainable
» Codes should be loosely coupled with the frameworks so that testing and reusability becomes easy
Slide 4 www.edureka.co/spring-framework
5. Spring Framework!!!
Spring Framework provides a light-weight solution to develop maintainable and reusable enterprise applications
It provides very simple and rich facilities to integrate various frameworks, technologies and services in the
application
Slide 5 www.edureka.co/spring-framework
6. Annie’s Question
What you mean by a Light-weight Container?
Slide 6 www.edureka.co/spring-framework
7. Annie’s Answer
Spring Framework can be described as a light-weight container, as it
does not involve installation, configuration, start and stop activities
associated with a container.
Slide 7 www.edureka.co/spring-framework
8. Spring Framework Runtime
Spring Architecture
Data Access/Integration WEB (MVC/Remoting)
JDBC ORM
OXM JMS
Transactions
Web Servlet
Portlet Struts
AOP Aspects Instrumentation
Core Container
Beans Core Context
Test
Expression
Language
Slide 8 www.edureka.co/spring-framework
9. Key Components of Spring Framework
Dependency Injection
Aspect Oriented Programming
Slide 9 www.edureka.co/spring-framework
10. Inversion of Control Container (Dependency Injection)
Bean Factory
Spring
Bean
Spring XML
Object
Spring
Bean
Slide 10 www.edureka.co/spring-framework
11. AOP
»In software development, functions that span multiple points of an application are called cross-cutting concerns
»They are conceptually separate from the application’s business logic but often embedded directly within
X Y Z
Logging
Transaction
Security
Cross-cutting concerns
Separating these cross-cutting concerns from the business logic is where aspect- oriented programming (AOP) goes to
work
Slide 11 www.edureka.co/spring-framework
12. AOP
With AOP, you still define the common functionality in one place, but you can declaratively define how and where
this functionality is applied without the necessity to modify the class to which you’re applying the new feature
X Y Z
Logging
Transaction
Security
Core Functionality Common Functionality
Slide 12 www.edureka.co/spring-framework
13. MVC
UI Logic Business Logic
View Model
Controller
Request & Relay Data
Slide 13 www.edureka.co/spring-framework
15. LAB
Setting Up Spring MVC
Slide 15 www.edureka.co/spring-framework
16. Application Features
Spring MVC
Spring Aspect Oriented Programming (AOP) features
Spring NamedParameterJdbcTemplate
Spring Autowiring features
Spring Security features
Spring Exception Handling features
Spring Email Support classes
Other Libraries Used in the project
» Mail API - javax.mail
» Google Charts API - charts4j
» JFreeChart API – jfreechart
» Logging API – log4j
Slide 16 www.edureka.co/spring-framework
18. What is Hadoop?
Technology that lets you to do this:
Store Vast Business
data
Customer click and/or buying patterns
Buying recommendations
Ad Targeting/Re-Targeting
Fraud Detection
……….
Compile & Analyse
HDFS MapReduce
Slide 18 www.edureka.co/spring-framework
20. Spring - Job Trends
Slide 20 www.edureka.co/spring-framework
21. How it Works?
LIVE Online Class
Class Recording in LMS
24/7 Post Class Support
Module Wise Quiz
Project Work
Verifiable Certificate
Slide 21 www.edureka.co/spring-framework
22. Course Topics
Module 1
» Introduction to Spring
Module 2
» Spring Configurations
Module 3
» Aspect Oriented Programming and DAO
Module 4
» Data Access
Module 5
» Spring Web
Module 6
» Integrating Struts 2, JSF with Spring, Spring
Web Flow
Module 7
» Spring Security
Module 8
» Spring Integration
Slide 22 www.edureka.co/spring-framework