Behavioral Design Patterns
These design patterns are specifically concerned with communication between objects. List of Behavioral Design Patterns : Observer Pattern Chain Of Responsibility Pattern Command Pattern Iterator Pattern …
Structural Design Patterns
These design patterns concern class and object composition. Concept of inheritance is used to compose interfaces and define ways to compose objects to obtain new functionalities. …
Creational Design Patterns
These design patterns provide a way to create objects while hiding the creation logic, rather than instantiating objects directly using new operator. This gives program more …
Builder Pattern
Builder Pattern is a creational pattern that builds a complex object using step by step approach. The builder class itself is independent of other objects. Builder …
Double colon (::) operator in Java
The double colon (::) operator, also known as method reference operator in Java, is used to call a method by referring to it with the help …
Abstract Factory Pattern
Abstract factory Pattern is a creational pattern that works around a super factory which creates other factories. It is also called as factory of factories. In …
Adapter Pattern
Adapter Pattern works as a bridge between two incompatible interfaces. This is a structural pattern that combines the capability of two different interfaces. Adapter Pattern involves …
Bridge Pattern
Bridge Pattern is a structural pattern that is used when there is a need to decouple an abstraction from its implementation so that they can vary …
Factory Pattern
Factory Pattern is a creational pattern as it is used for creating an object. This pattern allows to create an object without exposing the creation logic …
Spring Boot and H2 in memory database – why, what and how ?
What is an in memory database ? In memory database is created when an application starts up and destroyed when the application is stopped. In memory …