Develop your first web application with Spring Boot Magic
Switch branches/tags
Nothing to show
Clone or download
in28minutes Merge pull request #1 from sanhphanvan96/patch-1
Update Step18.md: The "commandName" property has been deprecated since 4.3
Latest commit 036d494 Jun 17, 2018
Permalink
Failed to load latest commit information.
src Step25 Jan 24, 2017
.gitignore I'm too lazy to put in a comment Oct 30, 2017
README.md I'm too lazy to put in a comment Dec 15, 2017
Step01.md updating git headings May 3, 2017
Step02.md updating git headings May 3, 2017
Step03.md updating git headings May 3, 2017
Step04.md updating git headings May 3, 2017
Step05.md updating git headings May 3, 2017
Step06.md updating git headings May 3, 2017
Step07.md updating git headings May 3, 2017
Step07.zip Code Zip files Jan 24, 2017
Step08.md updating git headings May 3, 2017
Step08.zip Code Zip files Jan 24, 2017
Step09.md updating git headings May 3, 2017
Step10.md updating git headings May 3, 2017
Step11.md updating git headings May 3, 2017
Step12.md updating git headings May 3, 2017
Step12.zip Code Zip files Jan 24, 2017
Step13.md updating git headings May 3, 2017
Step13.zip Code Zip files Jan 24, 2017
Step14.md updating git headings May 3, 2017
Step15.md updating git headings May 3, 2017
Step15.zip Code Zip files Jan 24, 2017
Step16.md updating git headings May 3, 2017
Step16.zip Code Zip files Jan 24, 2017
Step17.md updating git headings May 3, 2017
Step18.md Update Step18.md Jun 15, 2018
Step18.zip Code Zip files Jan 24, 2017
Step19.md updating git headings May 3, 2017
Step19.zip Code Zip files Jan 24, 2017
Step20.md updating git headings May 3, 2017
Step20.zip Code Zip files Jan 24, 2017
Step21.md updating git headings May 3, 2017
Step21.zip Code Zip files Jan 24, 2017
Step22.md updating git headings May 3, 2017
Step22.zip Code Zip files Jan 24, 2017
Step23.md updating git headings May 3, 2017
Step23.zip Code Zip files Jan 24, 2017
Step24.md updating git headings May 3, 2017
Step25.md updating git headings May 3, 2017
Step25.zip Code Zip files Jan 24, 2017
Step26.md updating git headings May 3, 2017
Step27.md updating git headings May 3, 2017
Step27.zip FirstCommit-Willmostofthefiles-WhataSurprise? Jan 5, 2017
StepReference.md updating git headings May 3, 2017
pom.xml Step25 Jan 24, 2017

README.md

Your First Web Application with Spring Boot

Develop your first web application with Spring Boot in more than 25 steps

Installing Tools

Course Overview

Introduction

Developing your first Spring Boot Web Application is fun.

Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications that you can “just run”. We take an opinionated view of the Spring platform and third-party libraries so you can get started with minimum fuss. Most Spring Boot applications need very little Spring configuration.

In this course, you will learn the basics developing a Basic Todo Management Application using Spring Boot 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 Boot, Spring Security (Authentication and Authorization), BootStrap (Styling Pages), Maven (dependencies management), Eclipse (IDE) and Tomcat Embedded Web Server. We will help you set up each one of these.

You will learn about

  • Basics of Spring Boot
  • Basics of Autoconfiguration and Spring Boot Magic
  • DispatcherServlet
  • Basic Todo Management Application with Login/Logout
  • Model, Controllers, ViewResolver and Filters
  • Forms - DataBinding, Validation
  • Annotation based approach - @RequestParam, @ModelAttribute, @SessionAttributes etc
  • Bootstrap to style the page
  • Spring Security
  • Exception Handling

Step Wise Details

  • Step 01: Basic Spring Boot Web Application Setup
  • Step 02: First Spring MVC Controller, @ResponseBody, @Controller
  • Step 03: Demystifying some of the Spring Boot magic
  • Step 04: Redirect to Login JSP - LoginController, @ResponseBody and View Resolver
  • Step 05: Show userid and password on the welcome page - ModelMap and @RequestParam
  • Step 06: DispatcherServlet and Spring MVC Flow
  • Step 07: Your First HTML form
  • Step 08: Add hard-coded validation of userid and password
  • Step 09: Magic of Spring
  • Step 10: Create TodoController and list-todos view. Make TodoService a @Service and inject it.
  • Step 11: Architecture of Web Applications
  • Step 12: Session vs Model vs Request - @SessionAttributes
  • Step 13: Add new todo
  • Step 14: Display Todos in a table using JSTL Tags
  • Step 15: Bootstrap for Page Formatting using webjars
  • Step 16: Let's delete a Todo
  • Step 17: Format Add Todo Page and Adding Basic HTML5 form validation
  • Step 18: Introduce JSR 349 Validations using Hibernate Validator - First Command Bean.
  • Step 19: Updating a todo
  • Step 20: Let's add a Target Date for Todo - Use initBinder to Handle Date Fields
  • Step 21: JSP Fragments and Navigation Bar
  • Step 22: Preparing for Spring Security
  • Step 23: Initial Spring Security Setup
  • Step 24: Refactor and add Logout Functionality using Spring Security
  • Step 25: Exception Handling

  • We do NOT interact with a Database in this Beginner’s Course.
  • We will be building a traditional JSP based web application in this course.

Expectations

  • You should know Java. You should understand usage of Annotations.
  • You should understand the basics of Spring framework.
  • You are NOT expected to have any experience with Eclipse or Maven.
  • We will help you install Eclipse and get up and running with Maven.

Let's have some fun

  • What are we waiting for?
  • Let's have some fun building a web application Spring Boot in 25 Steps.
  • I had fun creating this course and hope you would too.
  • Thanks for your interest in Our Course
    • I hope you’re as excited as I am!
    • If you’re ready to learn more and sign up for the course,
    • go ahead and hit that Enroll button,
    • or take a test drive by using the Free Preview feature.
  • See you in the course!

Getting Started

About in28Minutes

  • At in28Minutes, we ask ourselves one question everyday. How do we help you learn effectively - that is more quickly and retain more of what you have learnt?
  • We use Problem-Solution based Step-By-Step Hands-on Approach With Practical, Real World Application Examples.
  • Our success on Udemy and Youtube (2 Million Views & 12K Subscribers) speaks volumes about the success of our approach.
  • While our primary expertise is on Development, Design & Architecture Java & Related Frameworks (Spring, Struts, Hibernate) we are expanding into the front-end world (Bootstrap, JQuery, Angular JS).

Our Beliefs

  • Best Courses are interactive and fun.
  • Foundations for building high quality applications are best laid down while learning.

Our Approach

  • Problem Solution based Step by Step Hands-on Learning
  • Practical, Real World Application Examples.
  • We use 80-20 Rule. We discuss 20% things used 80% of time in depth. We touch upon other things briefly equipping you with enough knowledge to find out more on your own.
  • We will be developing a demo application in the course, which could be reused in your projects, saving hours of your effort.
  • We love open source and therefore, All our code is open source too and available on Github.

Other Courses

Useful Links