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

Learn Spring MVC by building a Todo Management Application step by step. Ideal for beginners looking to grasp Java web development basics.

  • Overview
  • Curriculum
  • Instructor
  • Review

Brief Summary

This course takes you through building a Todo Management Application using Spring MVC. You’ll get hands-on experience with login features, dependency management, and styling with Bootstrap—all in a fun and engaging way!

Key Points

  • Learn the basics of Spring MVC
  • Build a Todo Management Application step by step
  • Implement login and logout functionalities
  • Understand dependency management and Spring Security
  • Use Bootstrap for styling pages

Learning Outcomes

  • Master the fundamentals of Spring MVC
  • Create a functional web app from scratch
  • Gain insights on Spring Security for user management
  • Understand form binding and validation
  • Explore basic REST services and internationalization

About This Course

Learn Spring MVC Framework with a Hands-on Step by Step Approach building a Todo Management Application!

Developing your first Spring MVC Web Application is fun. In this course, you will learn the basics of Spring MVC developing a Basic Todo Management Application with Login and Logout functionalities.


WHAT OUR LEARNERS ARE SAYING:

★★★★★ "Great course to get basic knowledge of Spring MVC. Instructor is great, explanations are clear and simple. I recommend it to everyone interested in basics of java web. Thanks!"

★★★★★ "The author explain everyting nicely. App build from scratch All the spring magic and feature explained."

★★★★★ "Speechless! Finally something of quality that's worth buying. Please release more on Spring like Rest, Hadoop etc. Also don't forget Play framework."

★★★★★ "A very good introduction to Spring MVC. I especially like the way Ranga encouraged the student to play around with the framework and try "to break it." This gives great insight into what annotations and tags do what."


COURSE OVERVIEW:

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

We do NOT interact with a Database in this Beginner’s Course.


  • You will Build a Todo Management Application STEP BY STEP in 25 Steps using Spring MVC, Bootstrap, Maven and Eclipse

  • You will Understand the FUNDAMENTALS of Spring MVC - DispatcherServlet, Controllers, ModelMap, ModelAndView, Views (JSP), JSTL, @RequestParam and @SessionAttributes.

  • You will Learn to Implement Form Binding and Validation using Spring MVC

Course Curriculum

33 Lectures

Instructor

Profile photo of in28Minutes Official
in28Minutes Official

Ranga Karanam, the founder of in28minutes, has 2 decades of experience with technology - architecture, design, and programming.  We are helping learners take their first steps into modern cloud native technology and gain expertise on AWS, Azure, Google Cloud, Docker, Kubernetes amongst others.Our happiest moments are when learners tag us on LinkedIn or reach out to us with their stories...

Review
4.9 course rating
4K ratings
ui-avatar of Radha Krishna Pirla
Radha K. P.
5.0
7 months ago

Looks it covers each topic clearly.

  • Helpful
  • Not helpful
ui-avatar of Fabio Jesus
Fabio J.
5.0
7 months ago

I really enjoyed the course, as I am just starting out in this area and learning a little about Spring MVC will help me a lot in the work I will do with SAP Commerce Cloud - Hybris.

  • Helpful
  • Not helpful
ui-avatar of TRA gov
Tra G.
4.0
8 months ago

Great thing to have this course.

  • Helpful
  • Not helpful
ui-avatar of S Tarini
S T.
4.5
8 months ago

good

  • Helpful
  • Not helpful
ui-avatar of Tudorel Alexandru Blidea
Tudorel A. B.
5.0
8 months ago

Pretty good explain, I suggest to every spring developer to do it, even it looks like legacy, it is actually simple to use and you must know the basics of jsp.

  • Helpful
  • Not helpful
ui-avatar of Midhun Parimi
Midhun P.
5.0
9 months ago

good

  • Helpful
  • Not helpful
ui-avatar of Harikrishna Gangadi
Harikrishna G.
3.5
10 months ago

Most of the things done by copy paste

  • Helpful
  • Not helpful
ui-avatar of SHAFIN KADHIR BADHUSHA
Shafin K. B.
5.0
10 months ago

The course explains everything in lay man terms for a beginner and it would be really helpful in starting with a web application developer using java. Thanks team for this wonderful kickstarter for my Spring journey. Keep it up!!

  • Helpful
  • Not helpful
ui-avatar of Ankit Chourasia
Ankit C.
5.0
11 months ago

Excellent

  • Helpful
  • Not helpful
ui-avatar of Somangari Hazarathaiah
Somangari H.
4.5
11 months ago

great

  • Helpful
  • Not helpful
Leave A Reply

Your email address will not be published. Required fields are marked *

Ratings

Courses You May Like

Lorem ipsum dolor sit amet elit
Show More Courses