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

Swagger – Spring Doc

Hello Everyone, This article is for college students who want to know about swagger (open-api). Swagger is a library that sets a standard way to write documentation. It’s a common way of writing REST API documentation, so every new or existing developer, tester, and product manager can understand API’s workings…

Continue reading

Singleton Design Pattern

What is Singleton’s design pattern?Singleton design pattern is a part of the creational design pattern which is used to implement the creation of a single instance in an application (per JVM). This pattern is responsible to restricts the instantiation of a class to one object only. In JDK, java.lang.Runtime is…

Continue reading