Spring Boot is heavily promoted as the best way to write REST API’s in Java, but it can also be used as a very good alternative to Laravel/PHP, Rails/Ruby, or Django/Python to write server-side rendered HTML for Java developers.
When combining the ease of use of Spring Boot with the power of Java and the easy templating of Thymeleaf, you have a very powerful combination that makes Java developers extremely productive to write web applications.
The book Taming Thymeleaf teaches you step-by-step how to get started with those technologies and build a fully fledged web application including security, validation, internationalization, testing and more.
You will also learn how to integrate libraries like Tailwind CSS that need some npm based processing. The book also shows a nice live-reload setup for maximum productivity during the development of your application.
The book is available as e-book or in paperback format. See https://www.wimdeblauwe.com/books/taming-thymeleaf/ for more information and some screenshots of the application you will build during the course of the book.