Video description
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.
What You Will Learn
- Build a basic Todo management application piece-by-piece in 25 Steps
- Understand the Spring MVC architecture
- Understand and use the basics of Spring MVC - DispatcherServlet, Controllers, ModelMap, ModelAndView, Views (JSP), JSTL, @RequestParam, and @SessionAttributes
- Implement form binding and validation using Spring MVC
- Use Spring Security for authentication and authorization
- Build two basic Spring REST web services
- Implement exception handling using @ControllerAdvice and @ExceptionHandler
- Implement internationalization
- Understand the basics of using Maven, Tomcat, and Eclipse
- Use Maven for basic dependency management
Audience
You are expected to be familiar with Java.
You are not expected to have any experience with Eclipse, Spring, Maven, or Tomcat.
We will help you to install Eclipse and get up and running with Maven and Tomcat.
About The Author
In28Minutes Official: Ranga Karanam is a seasoned technologist and architect with over two decades of expertise in programming, design, and architecture. He founded in28Minutes with the goal of helping students master cutting-edge cloud-native technologies such as AWS, Azure, Google Cloud, Docker, and Kubernetes. With 15 years of experience in Java programming and design, Ranga has collaborated with top banking clients worldwide.
His passion for creating hands-on courses with real-world projects motivated him to develop the Step-By-Step series of courses that follow a problem-solution-based approach, with practical and real-world application examples.
Ranga and his team at in28Minutes specialize in Java and related frameworks such as Spring, Spring Boot, Spring MVC, Struts, and Hibernate. They are committed to equipping learners with the skills and knowledge necessary to succeed in today’s rapidly evolving technology landscape.
Table of contents
- Chapter 1 : Introduction to the Course
-
Chapter 2 : Part 1: Basic Java Web Application with JSP and Servlets
- Step 01: Setting up Your First Java Web Application
- Step 01: Theory 1 - Maven and Magic
- Step 01: Theory 2 - What is a Servlet?
- Step 01: Theory 3 - Web Application Request Flow
- Step 01: Theory 4 - Understand Your First Servlet – LoginServlet
- Step 02: Create LoginServlet from Scratch Again and your First View
- Step 02: Theory - Play Time - Let's Try Breaking Things
- step 03: Passing Request Parameters using Get Method
- step 03: Theory - Introduction and End to Scriptlets
- Step 04: Disadvantages of Get Parameters
- Step 05: Your First Post Request
- Step 06: Your First Servlet doPost Method
- Step 07: Let's Add a Password Field
-
Chapter 3 : Part 2: Spring MVC
- Step 10: Setting up Maven,Tomcat and Simple JEE Application
- Step 11: Setting up Spring MVC with 4 mini steps
- Step 12: Your First Spring MVC Controller
- Step 13: Part 1 - Your First Spring MVC View: ViewResolver
- Step 13: Part 2 - Theory Break - Spring MVC Architecture
- Part 3 - Play Break - Try Breaking Things
- Step 14: Add Logging Framework Log4j
- Step 15: Redirect to Welcome Page: ModelMap and @RequestParam
- Step 16: Use LoginService to Authenticate
- Step 17: Spring Autowiring and Dependency Injection
- Step 18: Display list of Todo's using TodoService
- Step 19: Java Web Application Architecture: Model 1, Model 2 and MVC
- Step 20: Spring Modules
- Step 21: @SessionAttributes: Session vs Request
- Step 22: Add a new Todo: redirect
- Step 23: JSTL forEach Tag
- Step 24: Bootstrap to Style Our Views
- Step 25: Delete Todo Functionality
- Step 26: HTML5 Validations and Formatting Todo Form
- Step 27: Part 1 - Adding Todo Command Bean
- Step 27: Part 2 - Validation using Hibernate Validator
- Step 28: Update Todo Functionality
- Step 29: Add Target Date Field: initBinder
- Step 30: JSP Fragments and Adding a Navigation Bar
- Step 31: Preparing for Spring Security
- Step 32: Setting up Spring Security
- Step 33: Implement Logout Functionality
- Part 1 - Theory behind Exception Handing
- Part 2 - Implementing Exception Handing
- Step 35: Internationalization with Spring MVC
- Step 36: Basics of Spring Rest Web Services
- Step 37: Spring Rest Web Services: @PathParam
- Chapter 4 : Congratulations
Product information
- Title: Spring MVC For Beginners
- Author(s):
- Release date: April 2018
- Publisher(s): Packt Publishing
- ISBN: 9781789139341
You might also like
video
Spring MVC for Java Developers
This screencast is designed to teach novice-level Java developers how to efficiently build well structured Java …
video
Modern Java Web Applications with Spring Boot 2.x
Building web application has been a challenge for many Java developers because of the complexities of …
video
Spring Framework Essentials
This video's accompanying source code can be found in the eGitHub repository https://github.com/kousen/Spring-Framework-Essentials. Anyone who writes …
video
Spring Data for Java Developers
In this Spring Data for Java Developers training course, expert author Kevin Bowersox will teach users …