You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

921 B

Spring 5 course : Udemy - Unit 2

[toc]

Unit 2: Building a Spring Boot Web App

Quick overview of Spring in a very productive way.

Generate html with dynamic content.

Disclaimer: how to use this but not going fully in details in this chapter.

  • Spring Boot
  • Spring MVC
  • Spring Data JPA (Hibernate)
  • H2 database

Spring Initializr

Back in time you needed to create you own project with maven. Spring Initializr does this job for you (maven or gradle).

https://github.com/spring-projects/spring-boot/tree/main/spring-boot-project/spring-boot-starters

Create a simple webapp with: https://start.spring.io/

  • Spring Web (Spring mvc)
  • Spring Data JPA (abstraction for hibernate)
  • H2 Database (our in memory database)

Open the project in IntelliJ

For a maven project: From Existing source > Select the pom.xml file at the root of the project

Session 3 - 28/10/2022 - ended here