Перейти к содержимому

How to Use Project Lombok Effectively in Spring Boot Applications

Spring Framework Guru

0:00 / 0:00

How to Use Project Lombok Effectively in Spring Boot Applications

1 660 просмотров · 1 год назад
Spring Framework Guru
21,2 тыс. подписчиков
1 660 просмотров · 1 год назад
Project Lombok is a true time saver for Java developers. When working with Spring Boot, there are several best practices you can deploy. These best practices will save you time and make your code easier to maintain. There are also some common gotchas you want to avoid! 00:03 - Introduction 01:20 - Using Project Lombok @SLF4J 02:08 - Using the Project Lombok @Data annotation 03:01 - Using the Project Lombok @Builder annotation 03:50 - Using the Project Lombok @RequiredArgsConstructor 04:30 - Using Project Lombok with Mapstruct for type conversions 05:46 - Example of using the @RequiredargsConstructor 06:50 - Example of using the @SLF4J annotation 07:15 - Traditional Java POJO without Lombok 07:35 - Refactor Traditional Java POJO to use @Data and @Builder 10:24 - Example of using @RequiredArgsConstructor 11:15 - Project Lombok Gotcha's with Bi-directional JPA relationships 12:25 - Project Lombok with MapStruct 13:00 - Maven Compiler Configuration for Project Lombok with MapStruct 13:46 - Review of Mapstruct generated code using Lombok Builders 14:20 - Conclusion Source Code on Github: https://github.com/springframeworkgur... My link tree: https://linktr.ee/spring_guru