Author Archives: paulsofts

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 »

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 »

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 »

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 »

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 »

Jenkins – How to configure email notification in Jenkins

By | June 18, 2025

Jenkins is an open-source DevOps tool used for continuous integration and deployment via automation of the build, test, and deployment processes across different environments (DEV, SIT, UAT and PROD). Jenkins comes with a built-in feature to get notified once our CI/CD build gets completed. For this, we need to configure email notification in Jenkins server.… Read More »

Jenkins – How to integrate Jenkins with GitHub

By | October 17, 2024

The integration of Jenkins with GitHub comes with the default plugins that come with the Jenkins installation, namely, the Git plugin and the GitHub plugin. These plugins provide the following features to Jenkins: Step to integrate Jenkins with GitHub for Continuous Integration Step 1- Create a Spring Boot Project First, we will create a simple… Read More »