How to create a URL shortener in Spring Boot

By | June 18, 2025

Spring Boot Project Ideas- URL Shortner A URL shortener is a service that takes a long URL and generates its short version, which contains a sequence of characters that points to the original URL. The primary purpose of this service is to create more user-friendly and manageable links that are easy to share, especially while… Read More »

Share this article

Immutable object in Java- How to create immutable object in Java?

By | June 18, 2025

In Java, immutable objects are objects whose state cannot be changed once they are created; they will remain constant throughout the lifecycle of the object. It helps in terms of simplicity, thread-safety and security. For example, string objects, In Java, string objects are immutable. i.e., once they are initialized, they cannot be changed. To learn… Read More »

Share this article

What is Sonarlint? How to add Sonarlint in Eclipse?

By | November 3, 2024

Sonarlint by Sonar is a free extension for our development environments that covers all the most popular programming languages. Like spell checker, Sonarlint squiggles coding issues and performs on-the-fly analysis to detect common mistakes, tricky bugs, and security vulnerabilities. Along with this, it also teaches us clean coding practices. This way, it helps us spend… Read More »

Share this article

What is Swagger in Spring Boot | How to add Swagger in Spring Boot?

By | June 18, 2025

What is Swagger? Swagger, now known as OpenAPI Specification, is a tool that provides a set of rules and conventions for building, interacting with, and documenting APIs (application-programmable interfaces). It provides a standard to describe the robust APIs, which makes it easier for developers to understand the capabilities of a service without accessing its source… Read More »

Share this article

How to inject Collection name in @Document from properties file in Spring Boot?

By | June 17, 2025

Sometimes in enterprise applications, we are required to configure the collection name from the properties file to our entity (model) class instead of hardcoding the collection name. In this tutorial, we will learn to inject Collection name in @Document from properties file. Steps to inject Collection name in @Document from properties file We are using… Read More »

Share this article

How to Dockerize Spring Boot application with MySQL

By | June 26, 2025

The term Dockerize refers to the process of packaging an application and its dependencies into containers using Docker. Docker is an open-source platform that helps developers automate the deployment of applications into lightweight and portable containers that contain everything needed to run the application, including the source code, libraries, and system tools. In this tutorial,… Read More »

Share this article

How to convert Java Object to YAML file?

By | December 20, 2023

YAML stands for YAML Ain’t Markup Language is also known as Yet Another Markup Language. It is generally used for configuration files and the data exchange between languages with different data structures. Given below is an example of a YAML file representing information about a website: Java Object to YAML file In this tutorial, we are… Read More »

Share this article

How to Dockerize Spring Boot application with MongoDB?

By | June 17, 2025

Docker is a platform that is used for developing, shipping and running applications inside containers. The containers are lightweight and portable units that package the application and its dependencies, enabling them to run consistently across different environments (DEV, SIT, and PROD) as well as on different systems. In this tutorial, we will learn how to… Read More »

Share this article