Introduction to Spring Boot 2 and Spring Framework 5
Rating: 4.3 out of 5(1,526 ratings)
38,335 students

What you'll learn

  • Learn How to Create A Spring Boot Web Application
  • Create a new Spring Boot Project
  • Store and Retrieve Data with Spring Data JPA
  • Use Thymeleaf to Display Data from a Database to a Web Page

Course content

1 section • 15 lectures • 2h 17m total length
  • Introduction3:14
  • Setting up your Development Environment8:14
  • Spring Initializer15:25
  • Open Project in IntelliJ8:52
  • Assignment - Create New Spring Boot Project
  • GitHub Workflow12:20
  • JPA Entities13:01
  • Equality in Hibernate5:07
  • Spring Data Repositories4:56
  • Initializing Data with Spring8:31
  • Add Publisher Entity
  • Publisher Relationships8:35
  • H2 Database Console5:09
  • Introduction to Spring MVC5:11

    Learn the Spring MVC pattern where the dispatcher servlet routes requests to a controller, fetches a POJO model via a service, and renders HTML or JSON with a templating engine.

  • Configuring Spring MVC Controllers6:14
  • Thymeleaf Templates11:10

    Learn Thymeleaf, a natural Java template engine, and set up the Spring Boot starter to render a books list using Thymeleaf iterators for id, title, and publisher name.

  • Display List of Authors
  • Conclusion0:32

Requirements

  • Basic Java knowledge is required

Description

This course a free introduction to Spring Boot 2 and Spring Framework 5.

Inside the course you will learn how easy it is to build a web application using Spring Boot 2.

You will learn how to create the initial Spring Boot project using the Spring Initializer.

Next is creating JPA Entities for persistence to a database using Hibernate.

Spring Boot will auto configure an in-memory H2 database, and you will see how to use Spring Boot with Spring Data JPA to initialize data into the database.

Finally, you are shown how to display data from the database on a web page with Spring MVC and Thymeleaf templates.

If you are new to Spring Boot, this is the perfect course to get you started!

Who this course is for:

  • Java Developers
  • Anyone wishing to get started with Spring!