Learning Objectives: In this Java Spring Boot training module, you will learn about the use of Lombok annotations, @AllArgs constructor, and @NoArgs constructor. You will implement the constructor injection pattern with @AllArgs Constructor and @NoArgs constructor annotations.
You will be introduced to the telescoping constructor design pattern, followed by its implementation. Then, you will understand when to use the telescoping constructor design pattern. You will also learn about the best alternative to telescoping constructor design pattern, that is the builder pattern and how to implement the builder pattern by leveraging the Lombok annotation at the rate builder.
You will learn about complex object creation with the builder design pattern. You will understand complex objects and learn about the difference between simple and complex objects. Also, you will understand and implement complex object creation with builder design pattern, and finally test the application code with the help of CommandLineRunner.