Home > Spring

Spring

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-2022-22965 SpringShell Vulnerability

spring

SpringShell is a new Spring Framework Remote Code Execution (RCE), aka CVE-2022-22965, security vulnerability. Essentially all versions of the Spring Framework, including 5.3.0 to 5.3.17, 5.2.0 to 5.2.19, and older, unsupported versions are vulnerable. Check if your Spring application is Vulnerable? If you are using JDK 9 or higher. If you are using Apache Tomcat as the Servlet container. If your ... Read More »

Spring WebFlux & Reactive MongoDB

reactive spring

In this article, I will be providing a step-by-step guide to developing the Spring WebFlux RestFul API using a reactive programming approach along with Reactive MongoDB. Spring WebFlux is the spring framework step towards the reactive programming model. It uses Reactor to support the Reactive Streams API and runs on the netty server. Here we will be using Reactive MongoDB ... Read More »

Spring4Shell Vulnerability – Spring Core RCE Vulnerability

spring

Security researchers have found a new vulnerability around Spring Core, which may cause serious damage to millions of applications over the internet. This vulnerability is been said that exists in Spring core with java version JDK9.0 and above. The bad news is no patch has been released yet by the Spring. But there are some strategies to mitigate the attack. ... Read More »