Spring MVC For Beginners : Build Java Web App in 25 Steps

Spring MVC For Beginners : Build Java Web App in 25 Steps

English | MP4 | AVC 1280×720 | AAC 44KHz 2ch | 8 Hours | 1.76 GB

Spring MVC Tutorial for Beginners with a Hands-on Step by Step Approach – 25 Steps

Developing your first Spring MVC Web Application is fun.

In this course, you will learn the basics developing a Basic Todo Management Application using Spring MVC with Login and Logout functionalities.

You will build the website step by step – in more than 25 steps. This course would be a perfect first step as an introduction to Java Web Application Development.

You will be using Spring (Dependency Management), Spring MVC, Spring Security (Authentication and Authorization), BootStrap (Styling Pages), Maven (dependencies management), Eclipse (IDE) and Tomcat Web Server. We will help you set up each one of these.

You will learn about

  • DispatcherServlet
  • Basic Todo Management Application with Login/Logout
  • Model, Controllers, ViewResolver and Filters
  • Forms – DataBinding, Validation
  • Annotation based approach – @RequestParam, @PathVariable, @ModelAttribute, @SessionAttributes etc
  • Bootstrap to style the page
  • Spring Security
  • Internationalization
  • Exception Handling
  • Basic REST Services

Step Wise Details

Step 11 : Configure application to use Spring MVC
Step 12 : First Spring MVC Controller, @ResponseBody, @Controller
Step 13 : Redirect to Login JSP – LoginController, @ResponseBody and View Resolver
Step 14 : DispatcherServlet and Log4j
Step 15 : Show userid and password on the welcome page – ModelMap and @RequestParam
Step 16 : LoginService and Remove all JEE Servlets based code
Step 17 : Spring Auto-wiring and Dependency Management – @Autowired and @Service
Step 18 : Create TodoController and list-todos view. Make TodoService a @Service and inject it.
Step 19 : Web Application Architecture
Step 20 : More about Spring Framework
Step 21 : Session vs Model vs Request – @SessionAttributes
Step 22 : New Todo and redirect to a Controller
Step 23 : JSTL
Step 24 : Bootstrap – using Webjars
Step 25 : Let’s delete a Todo
Step 26 : Use Bootstrap to format and add HTML5 Validations
Step 27 : Introduce JSR 349 Validations using Hibernate Validator – First Command Bean.
Step 28 : Let’s update a Todo
Step 29 : Let’s add a Target Date for Todo – Use initBinder to Handle Date Fields
Step 30 : Navigation bar and JSP Fragments
Step 31 : Let’s prepare for Spring Security
Step 32 : Initial Setup for Spring Security
Step 33 : Refactor and add Logout Functionality using Spring Security
Step 34 : Exception Handling in Spring MVC – @ControllerAdvice, @ExceptionHandler and error-page in web dot xml
Step 35 : Let’s add Internationalization – i18n
Step 36 : Basic Spring Rest Services – @RestController and jackson-databind
Step 37 : More Rest Services – @PathVariable

Table of Contents

Introduction to the Course
1 Introduction to the Course
2 Congratulations
3 Overview of the Course

Part 1 _ Basic Java Web Application With JSP and Servlets
4 Step 01 _ Setting up Your First Java Web Application
5 Step 01 _ Theory 1 – Maven and Magic
6 Step 01 _ Theory 2 – What is a Servlet_
7 Step 01 _ Theory 3 – Web Application Request Flow
8 Step 01 _ Theory 4 – Understand Your First Servlet – LoginServlet
9 Step 02 _ Create LoginServlet From Scratch Again and Your First View
10 Step 02 _ Theory – Play Time – Let’s Try Breaking Things
11 Step 03 _ Passing Request Parameters using Get Method
12 Step 03 _ Theory – Introduction and End to Scriptlets
13 Step 04 _ Disadvantages of Get Parameters
14 Step 05 _ Your First Post Request
15 Step 06 _ Your First Servlet doPost Method
16 Step 07 _ Lets Add a Password Field

Part 2 _ Spring MVC
17 Step 10 _ Setting up Maven_Tomcat and Simple JEE Application
18 Step 11 _ Setting up Spring MVC with 4 mini steps
19 Step 12 _ Your First Spring MVC Controller
20 Step 13 _ Part 1 – Your First Spring MVC View _ ViewResolver
21 Step 13 _ Part 2 – Theory Break – Spring MVC Architecture
22 Step 13 _ Part 3 – Play Break – Try Breaking Things
23 Step 14 _ Add Logging Framework Log4j
24 Step 15 _ Redirect to Welcome Page _ ModelMap and @RequestParam
25 Step 16 _ Use LoginService to Authenticate
26 Step 17 _ Spring Autowiring and Dependency Injection
27 Step 18 _ Display list of Todo’s using TodoService
28 Step 19 _ Java Web Application Architecture _ Model 1_ Model 2 and MVC
29 Step 20 _ Spring Modules
30 Step 21 _ @SessionAttributes _ Session vs Request
31 Step 22 _ Add a new Todo _ redirect
32 Step 23 _ JSTL forEach Tag
33 Step 24 _ Bootstrap to Style Our Views
34 Step 25 _ Delete Todo Functionality
35 Step 26 _ HTML5 Validations and Formatting Todo Form
36 Step 27 _ Part 1 – Adding Todo Command Bean
37 Step 27 _ Part 2 – Validation using Hibernate Validator
38 Step 28 _ Update Todo Functionality
39 Step 29 _ Add Target Date Field _ initBinder
40 Step 30 _ JSP Fragments and Adding a Navigation Bar
41 Step 31 _ Preparing for Spring Security
42 Step 32 _ Setting up Spring Security
43 Step 33 _ Implement Logout Functionality
44 Step 34 _ Part 1 – Theory Behind Exception Handing
45 Step 34 _ Part 2 – Implementing Exception Handing
46 Step 35 _ Internationalization with Spring MVC
47 Step 36 _ Basics of Spring Rest Web Services
48 Step 37 _ Spring Rest Web Services _ @PathParam

Congratulations
49 Our Best Selling Courses _ Bonus Lecture
50 Next Steps