Spring Web MVC 6
5h 7mIntermediate2023-10-10
Authors

Ketkee Aryamane
Software Professional
Course details
Spring is one of the most popular frameworks to build applications, catering to a varied number of requirements such as web services, web applications, microservices, and more.Spring MVC helps developers build modular web applications in Java or Kotlin with a clean separation of business and presentation logic and works with a variety of UI technologies, making it easy to plug in any UI framework. In this course, instructor Ketkee Aryamane guides you through the fundamental aspects of Spring MVC, taking a deep dive into the framework that helps build robust web applications and integrates well with a variety of UI frameworks such as React and Angular. It provides foundational modular components that allows developers to focus on the business logic rather than the administrative tasks in application development.
Skills covered
SpringBack-End Web DevelopmentFull-Stack Web DevelopmentFront-End Web DevelopmentWeb DevelopmentOpen SourceDeep Dive (X:Y)
Concepts
0. Introduction
- 01 - Effortless development with Spring Web MVC 6
- 02 - Introduction to Spring Framework
- 03 - Spring 6.0 features
- 04 - Changes for MVC in Spring 6.0
- 05 - What you should know
- 06 - Exercise files and database setup
1. Getting Started and Project Set Up
- 07 - Overview of Spring MVC
- 08 - Why use Spring MVC
- 09 - Spring MVC request processing flow
- 10 - Project development overview
- 11 - Use Spring Boot to create an MVC application
- 12 - Overview of Thymeleaf
- 13 - Set up the Collectibles app
- 14 - Set up the home page flow
- 15 - Fragment the home page into modular components
- 16 - Link HTML pages from the home page
- 17 - ViewResolvers
2. Implementing Controller Flows
- 18 - MVC controller annotations
- 19 - Create a Controller and Java bean for the search function
- 20 - Add a repository API to retrieve data from DB
- 21 - Connect UI, controller, and data access code
- 22 - Access model attributes on Thymeleaf UI
- 23 - Add a search string on the UI
3. Validation, Data Binding, and Localization
- 24 - Understand validation and data binding
- 25 - Understand the user registration flow
- 26 - Add a Controller to display the HTML form
- 27 - Create a user bean and add validation constraints
- 28 - Add a Controller method to submit the form
- 29 - Bind properties and error messages on HTML
- 30 - Test the bean validation flow
- 31 - Add a custom validator
- 32 - Add InitBinder to register a custom validator
- 33 - Understand l10n and i18n
- 34 - Add LocaleConfiguration and ResourceBundle file
- 35 - Add a save user code
- 36 - Link the about template
4. Async Request Processing
- 37 - Conventional HTTP request processing
- 38 - Spring MVC async processing under the hood
- 39 - Async configuration
- 40 - Add Controller methods for async processing
- 41 - Connect a Controller with a repository
5. Interceptors
- 42 - Introduction to interceptors
- 43 - Add to cart use case overview
- 44 - Add and register an interceptor class
- 45 - Add repository and Controller methods
- 46 - Map attributes on the product details page
- 47 - Add a session in the interceptor
- 48 - Implement add to cart in Controller
- 49 - Display the number of items in the cart
- 50 - Error mapping pages
- 51 - Add a custom error handler
6. Spring MVC REST Controllers
- 52 - RESTful services recap
- 53 - Use @RestController and @PathVariable
- 54 - Use @ExceptionHandler
- 55 - Use @RequestBody
- 56 - Use @ResponseEntity
- 57 - Challenge
- 58 - Solution
Conclusion
- 59 - Next steps
Related courses
Related learn paths
- Become a Spring Developer
- Getting Started In Spring Development
- Getting Started as an ASP.NET Core Developer
- Prepare for the Google Associate Android Developer Certification
- Getting Started as a Java Developer
- Java Foundations Professional Certificate by JetBrains
- Advance Your Spring Development Skills
- Building Your Skills in Spring Development