Category Archives: Spring Boot

How to kill a process running on a Port on Windows?

By | January 5, 2026

When developing Spring Boot applications, one of the most common startup errors developers encounter is: Web server failed to start. Port 8080 was already in use. In this article, we’ll explore why this error occurs, how to identify which process is using the port, and how to resolve it. Whether you’re using Windows, macOS, or… Read More: How to kill a process running on a Port on… »

Monitoring Microservices with Prometheus and Grafana

By | June 29, 2025

Monitoring microservices means tracking the health, performance, and behavior of your services to ensure they run efficiently and reliably. It’s essential for both microservices and standalone applications, because a failure in one service can impact others, and debugging such issues can be time-consuming—ultimately leading to business losses. In this tutorial, you’ll learn how to monitor… Read More: Monitoring Microservices with Prometheus and Grafana »

What is 127.0.0.1 localhost or localhost?

By | December 14, 2025

In order to learn about localhost first, we need to understand how any request gets processed over the internet. Whenever we hit any URL in the browser, say paulsofts.com, the request goes to the DNS (Domain Name System) and the DNS server converts the domain name (here, paulsofts) into an IP address. This IP address… Read More: What is 127.0.0.1 localhost or localhost? »

How to fix | Remove this commented out code in SonarQube

By | June 16, 2025

What is SonarQube? SonarQube is an open-source platform used for static code analysis and checks for the code quality in an software applications. It helps to identify the bugs, code smells, Security vulnerabilities and technical debt in software development lifecycle. It supports multiple programming languages and easily integrates with the CI/CD tools and pipeline and… Read More: How to fix | Remove this commented out code in… »

Spring File Upload | File upload in Spring Boot REST API

By | February 16, 2025

How to store images in database You can store the images or file in database using the following approaches: Store images in database In this approach, you can directly store the images as a binary file in the database, where while storing the image you can compress it and while retrieving it you can decompress… Read More: Spring File Upload | File upload in Spring Boot REST… »

Spring Boot interview questions for 5 years experience

By | November 1, 2024

1. Why Spring Boot over Spring framework? Spring vs Spring Boot The Spring Boot framework is built on top of the Spring framework, and it is used for a rapid production-ready environment that enables the developers to directly focus on the business logic instead of struggling with the configuration and setup; those will be automatically… Read More: Spring Boot interview questions for 5 years experience »

Controller vs RestController in Spring Boot

By | February 16, 2025

The Controller and RestController in the Spring framework are both used to handle the HTTP requests, but they have a difference in their intended use and their behaviour. Difference between Spring Controller vs RestController Controller RestController The controller in Spring typically handles the traditional web requests and produces the HTML views. RestContoller is specifically designed… Read More: Controller vs RestController in Spring Boot »

@Qualifier annotation in Spring

By | September 19, 2024

The @Qualifier annotation in the Spring framework is used along with the @Autowired annotation. When we have two or more beans of the same type, in order to distinguish between them as to which bean should be injected, we use the @Qualifier annotation. @Qualifier annotation in Spring Boot Example Let’s understand this with an example.… Read More: @Qualifier annotation in Spring »

Spring Boot 3 Observability

By | September 3, 2024

What is Observability? Observability is used to observe the internal states of the application through metrics, logs, and traces and gives insight into the functioning of the application. It makes the application more transparent and easier to monitor, troubleshoot, and manage. Steps to implement Observability in Spring Boot 3.0 Spring Boot observability can be easily… Read More: Spring Boot 3 Observability »

What is Circular dependency in Spring Boot?

By | September 6, 2024

What is Dependency? When a class or object depends on another class or object for its functioning, it is called dependency. For example, Say we have two classes: company and employee, and the company class needs employees to work. We can say that company class depends on the employee. What is Circular Dependency? When we… Read More: What is Circular dependency in Spring Boot? »