Home > Spring > Spring Boot

Spring Boot

Spring Boot with Qdrant for vector database

In recent years, the rise of machine learning and deep learning has made vector databases increasingly important for managing high-dimensional data... Read More »

Spring Boot with Weaviate for vector search

The world of search is evolving. Traditional keyword-based search systems are giving way to vector search, which utilizes machine learning and sema... Read More »

Building microservices with Spring Boot and Kubernetes

# Building Microservices with Spring Boot and Kubernetes Microservices architecture has become a standard approach for building scalable, distributed systems. This architecture breaks down applications into smaller, independent services that can be developed, deployed, and scaled independently. Spring Boot, combined with Kubernetes, provides powerful tools for creating and managing microservices effectively. In this article, we will explore how to build ... Read More »

How to check if the process is running on Linux in Java

spring

In this article, we will learn how to check whether a specific process is running on Linux in Java. There is a case where we have to check before executing the tasks whether a specific process is currently running or not. Read More »

Spring Boot – Pagination, Sorting operations

spring

While developing any spring boot API, We create many rest endpoints for the CRUD operation on data, which deals with large volume of data. Because of the large volume, fetching of records from database takes more time. To overcome this types of cases we have some options in hand. Set limit for every request. Use pagination in fetching the records ... Read More »

Set globally multiple header parameters in Swagger

swagger

In this article, we will learn how to set multiple header parameters globally in a Spring Boot application. Why do we need it? There are cases where we want the client to send multiple header parameters along with the one auth token, these parameters may be useful to validate the token or may be required along with the token to ... Read More »

CVE-2021-44228 Spring Boot and Log4j2 Vulnerability

spring

What is CVE-2021-44228? CVE-2021-44228 is a vulnerability impacting all the applications written in Java and using the component Apache Log4j2 for logging. This vulnerability allows the unauthenticated remote code execution using the JNDI Lookup. Log4j2 is widely used directly or through dependencies in almost every Java application. These application includes almost all the enterprise level application and almost all the ... Read More »

Enable the access logs in Spring Boot for embedded tomcat server

spring

Access logs contains the information about the request received and response sent to the client. It contains all the important data which are required to analyze the type of request coming to the application. Below are the steps which is required to configure the tomcat access logs for the Spring Boot application. Settings in application.properties file These are the common ... Read More »

Create a custom favicon in Spring Boot application

spring

In this article, we will learn how to configure custom favicon in the spring boot application. Favicon is the iconic representation of any website. It is placed in the address bar of any web browser. Spring boot provides option to create custom favicon for your website. First create a favicon for your website, place it in the resources directory of ... Read More »

Configure Logback in Spring-Boot Application for Logging

spring

In this article, we will learn how to configure logback in the spring boot application for logging and how to configure Logback with specifications including console and file output separately, and here we will also learn to use the rolling file policy to avoid generating large size log files and after a certain threshold size limit it will be back ... Read More »