O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

Video Description

Spring MVC tutorial for beginners with a hands-on, step-by-step approach in 25 steps

About This Video

  • Dispatcher, Servlet
  • Basic Todo management application with Login/Logout model, controllers, view resolver and filters
  • Forms for data, Binding and validation
  • Annotation based approach @RequestParam, @PathVariable, @ModelAttribute, @SessionAttributes etc
  • Bootstrap to style the page, Spring Security, Internationalization, Exception Handling
  • Basic REST services

In Detail

Developing your first Spring MVC web application is fun. In this course, you will learn the basics of developing a basic Todo management application using Spring MVC with login and logout functionalities. You will build the website step by step in 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 (dependency management), Eclipse (IDE), and Tomcat web server. We will help you set up each one of these.

Table of Contents

  1. Chapter 1 : Introduction to the Course
    1. Introduction to the Course 00:02:22
    2. Overview of the Course 00:05:41
  2. Chapter 2 : Part 1: Basic Java Web Application with JSP and Servlets
    1. Step 01: Setting up Your First Java Web Application 00:09:31
    2. Step 01: Theory 1 - Maven and Magic 00:06:17
    3. Step 01: Theory 2 - What is a Servlet? 00:02:13
    4. Step 01: Theory 3 - Web Application Request Flow 00:07:33
    5. Step 01: Theory 4 - Understand Your First Servlet – LoginServlet 00:06:37
    6. Step 02: Create LoginServlet from Scratch Again and your First View 00:12:37
    7. Step 02: Theory - Play Time - Let's Try Breaking Things 00:03:57
    8. step 03: Passing Request Parameters using Get Method 00:09:12
    9. step 03: Theory - Introduction and End to Scriptlets 00:05:14
    10. Step 04: Disadvantages of Get Parameters 00:04:05
    11. Step 05: Your First Post Request 00:06:53
    12. Step 06: Your First Servlet doPost Method 00:05:10
    13. Step 07: Let's Add a Password Field 00:09:10
  3. Chapter 3 : Part 2: Spring MVC
    1. Step 10: Setting up Maven,Tomcat and Simple JEE Application 00:07:29
    2. Step 11: Setting up Spring MVC with 4 mini steps 00:17:10
    3. Step 12: Your First Spring MVC Controller 00:10:22
    4. Step 13: Part 1 - Your First Spring MVC View: ViewResolver 00:11:11
    5. Step 13: Part 2 - Theory Break - Spring MVC Architecture 00:02:29
    6. Part 3 - Play Break - Try Breaking Things 00:03:59
    7. Step 14: Add Logging Framework Log4j 00:07:56
    8. Step 15: Redirect to Welcome Page: ModelMap and @RequestParam 00:13:51
    9. Step 16: Use LoginService to Authenticate 00:08:51
    10. Step 17: Spring Autowiring and Dependency Injection 00:06:15
    11. Step 18: Display list of Todo's using TodoService 00:14:17
    12. Step 19: Java Web Application Architecture: Model 1, Model 2 and MVC 00:10:10
    13. Step 20: Spring Modules 00:05:30
    14. Step 21: @SessionAttributes: Session vs Request 00:12:56
    15. Step 22: Add a new Todo: redirect 00:12:15
    16. Step 23: JSTL forEach Tag 00:09:42
    17. Step 24: Bootstrap to Style Our Views 00:12:13
    18. Step 25: Delete Todo Functionality 00:07:07
    19. Step 26: HTML5 Validations and Formatting Todo Form 00:08:15
    20. Step 27: Part 1 - Adding Todo Command Bean 00:08:30
    21. Step 27: Part 2 - Validation using Hibernate Validator 00:09:12
    22. Step 28: Update Todo Functionality 00:13:22
    23. Step 29: Add Target Date Field: initBinder 00:06:27
    24. Step 30: JSP Fragments and Adding a Navigation Bar 00:08:05
    25. Step 31: Preparing for Spring Security 00:03:22
    26. Step 32: Setting up Spring Security 00:06:32
    27. Step 33: Implement Logout Functionality 00:07:18
    28. Part 1 - Theory behind Exception Handing 00:05:39
    29. Part 2 - Implementing Exception Handing 00:10:28
    30. Step 35: Internationalization with Spring MVC 00:08:54
    31. Step 36: Basics of Spring Rest Web Services 00:04:22
    32. Step 37: Spring Rest Web Services: @PathParam 00:02:14
  4. Chapter 4 : Congratulations
    1. Next Steps 00:00:59