Spring AOP (Aspect Oriented Programming)

Problem: The problem is the tight coupling of different concerns (aspects) with the main business application code. Non-business features that are expected to be implemented or common business features that are scattered across multiple places in the application are called cross-cutting concerns (aspects). Tight coupling of code is hard to…

Continue reading

Builder Design Pattern

Problem: Whenever the creation of a complex object requires a large number of attributes, calling a parameterized constructor or having several constructors with different combinations is cumbersome. It is hard to manage so many constructors. In Java, constructors are used to construct objects and constructors can take parameters to initialize the…

Continue reading