Understand and love the power of Spring Boot - All its features are illustrated developing a web application managing todos and a basic API for survey questionn
Understand and love the power of Spring Boot - All its features are illustrated developing a web application managing todos and a basic API for survey questionn
Spring Boot Master Class
Understand and love the power of Spring Boot - All its features are illustrated developing a web application managing todos and a basic API for survey questionnaire. Also covers unit testing, mocking and integration testing.
Installing Tools
Our Recommendations
Use latest version of Java
Use latest version of "Eclipse IDE for Enterprise Java Developers" or Intellij Community Edition
Remember: Spring Boot 3+ or 4+ works only with Java 17+
Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications that you can “just run”. Most Spring Boot applications need very little Spring configuration.
In this course, you will learn the cool things about Spring Boot and Spring Boot Starter Projects. We will develop
A web application to manage your todos
A basic REST Service to manage questions of a survey
You will learn about Spring Boot step by step - in more than 90 steps. This course would be a perfect first step as an introduction to Spring Boot.
Here is a quick overview of different sections of the course:
Introduction to Spring in 10 Steps
Introduction to the power of Spring Boot in 10 Steps
Develop a Todo Management Web Application in 30 Steps
Introduction to Unit Testing with JUnit in 5 Steps
Introduction to Mocking with Mockito in 5 Steps
Advanced Features of Spring Boot in 25 Steps - We learn these developing a simple API for managing survey questionnaire.
Introduction to JPA in 10 Steps
Connecting our Todo Management Web Application to JPA
You will be using REST Services, 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 Auto Configuration and Spring Boot Magic
Spring Boot Starter Projects
Spring Initializr
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
Basic REST Services using Spring Boot Starter Web
REST Service Content Negotiation with JSON and XML
Embedded servlet containers : Tomcat, Jetty and Undertow
Writing Unit and Integration tests using Spring Boot Starter Test
Profiles and Dynamic Configuration with Spring Boot
Spring Boot Data JPA
Spring Boot Actuator
Spring Security
Spring Boot Developer Tools and LiveReload
Goals
Provide quick start for projects with Spring.
Be opinionated but provide options.
Provide a range of non-functional features that are common to large classes of projects (e.g. embedded servers, security, metrics, health checks, externalized configuration).
Absolutely no code generation and no requirement for XML configuration.
org.springframework.security
spring-security-test
test
@RunWith(SpringRunner.class)
@WebMvcTest(value = SurveyController.class)
@WithMockUser
public class SurveyControllerTest {
Old Code
@RunWith(SpringRunner.class)
@WebMvcTest(value = SurveyController.class, secure = false)
public class SurveyControllerTest {
in28Minutes is creating amazing solutions for you to learn Spring Boot, Full Stack and the Cloud - Docker, Kubernetes, AWS, React, Angular etc. - Check out all our courses here