How to make YAML to Java object

By | June 17, 2025

YAML stands for YAML Ain’t Markup Language also know as Yet Another Markup Language, It is a popular configuration format used to define application properties and settings in a more human-readable manner. It is an alternative to the traditional properties file format (.properties), commonly used in Java applications. In this tutorial, we will learn to… Read More »

Share this article

How to import project in Eclipse?

By | June 18, 2025

Importing a project in Eclipse means importing it from some other workspace and adding it to the current workspace. i.e., to load a project from a local directory or remote server into the Eclipse workspace. In this tutorial, we learn about how we can import project in Eclipse. It is very often that we have… Read More »

Share this article

How to break Singleton pattern in Java – 3 ways

By | June 18, 2025

The singleton design pattern restricts a class to having only one instance and provides a global point of access to that single instance. To learn more about the singleton pattern, please refer to Singleton design pattern and Singleton class in Java. In this tutorial, we are going to learn how we can break Singleton pattern in… Read More »

Share this article

How to make Singleton design pattern in Java?

By | June 22, 2025

The singleton design pattern restricts a class to having only one single instance and provides a global point of access to that single instance. In other words, A singleton class must return the same instance no matter how many times an application requests it. i.e., the same single instance should be used by all the… Read More »

Share this article

How to configure multiple database in Spring Boot

By | June 18, 2025

In Enterprise applications, we may be required to have multiple databases for storing different kinds of information. For example, in an e-commerce application, it may be required to keep the user’s information in a different database, product-related information in a different database, and payment-related information in a separate database. In this tutorial, we will configure… Read More »

Share this article

Spring Profile – How to configure different environments in Spring Boot?

By | November 5, 2024

Spring Boot Profile Spring profile is a feature of the Spring framework that allows us to map a part of our application or the complete application to different profiles. i.e., environments (dev, uat or prod). Any @Component or the @Configurations of an application can be marked with the @Profile annotation to limit its scope to… Read More »

Share this article

Jenkins – What & How to build Jenkins pipeline?

By | October 17, 2024

In Jenkins, a pipeline is a workflow with a group of events or jobs that are linked to each other in a sequence. The Jenkins pipeline is a process of continuous delivery automation using Jenkins jobs (items). In the Jenkins pipeline, each job contains some processing inlets and outlets. For example, Build->Deploy->Test->Release are the different… Read More »

Share this article

How to package Spring Boot application to JAR

By | June 8, 2023

JAR stands for Java ARchive. The jar file represents a group of .class files. It is a file format that is based on the ZIP format. It is used to archive .class files, audio files, image files, and directories into a single jar file, which is further used to distribute the application or libraries over… Read More »

Share this article

Why use the char[] array for storing passwords over strings in Java?

By | June 18, 2025

A string is an object in Java that represents a sequence of character values. Strings are immutable, which means once they are created, we cannot change their value. It is recommended to use the char[] array for storing passwords over strings in Java because of following reasons: 1. Strings are immutable In Java, the memory… Read More »

Share this article

Notepad++ Format JSON (2024)

By | June 18, 2025

JSON stands for JavaScript Object Notation; it is a lightweight, open standard for data interchange over the internet. It uses Key-Value pairs along with objects and arrays and is language-independent, which means we can have two different applications written in different languages exchange data with the help of JSON. In this tutorial, we are going… Read More »

Share this article