CEIT Open Course Content

Persistence with JPA

The above video is the part 3.1 of a video series on building a complete web application that uses Spring Boot, JPA, Thymeleaf and TailwindCSS.

The video shows how to use JPA in a web application.

Corrections:

In the dev profile config file, use of following settings have the below mentioned effects.

  1. spring.web.resources.cache.period=0
     - Prevents browsers and proxies from caching static resources (such as JS, CSS, and images). This is preferred during development.
  2. spring.thymeleaf.cache=false
     - Disables the caching of parsed Thymeleaf HTML templates in the server. This is also preferred during development.

Using H2 database

H2 is an in-memory database that requires zero installation. It is as an ideal tool for rapid prototyping, development testing, and demonstrations.