This note collects Spring Boot resources. The main series is Nhật ký Spring Boot by Vu Tong on Viblo, published on 22 January 2021. He wrote it after a full six months on a Java Spring Boot project, as notes to review and to share. The series starts with where to begin and how to create a first project.
Later posts cover the request flow, dependency injection, beans and ApplicationContext, bean lifecycle, bean types, and component scan. He also mentions Javatpoint, Logicbig, and the Spring Boot homepage, plus a Vietnamese zero to hero series.
Resources
- https://viblo.asia/s/nhat-ky-spring-boot-Je5EjWx0KnL
- Dockerize: https://viblo.asia/p/dockerize-project-java-spring-boot-mysql-redis-MkNLrbRaLgA
Auth
Authorize
- Spring Authorization Server
Libraries
- MapStruct - DTO mapper: https://github.com/mapstruct/mapstruct
- https://www.baeldung.com/mapstruct
Further posts cover project structure, entity versus domain model versus DTO, ModelMapper, controller requests, exceptions, and validation. One post covers bad practices. Another covers a proxy entity so a JPA insert can avoid a select. A post also covers optimized Docker images for Spring Boot. The note also lists Spring Authorization Server and a Baeldung page on MapStruct.
See also: Java Microservices · Dagger Koin