Author Archives: paulsofts

What is Sonarlint? How to add Sonarlint in Eclipse?

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 »

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

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 »

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

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 »

How to Dockerize Spring Boot application with MySQL

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 »

How to convert Java class file to source code

Java Decompiler A Java decompiler is a reverse engineering tool that can be used to convert Java bytecode back to Java source code. It became useful when we had the compiled Java classes (in the form of bytecode, typically stored in a.class file) but not the original source code. In this tutorial, we will learn… Read More »

How to convert Java Object to YAML file?

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 »

How to Dockerize Spring Boot application with MongoDB?

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 »

How to use Pre-request Script in Postman?

Postman is one of the most popular tools used for testing HTTP requests for web service APIs. It provides a user-friendly graphical interface for making HTTP requests to the API endpoint, inspecting the responses, and organizing the API testing workflow. In this tutorial, we will learn how we can use the pre-request script in Postman… Read More »

Lombok is not generating Getter and Setter?

Lombok is a popular Java library that simplifies Java application development by reducing boilerplate code and making our codebase clean and easy to understand. It is an annotation-based library that provides several annotations to be used in Java classes to automatically generate the biolerplate codes for getters, setters, constructors, etc. These annotations are processed at… Read More »