In this post, we’ll explore how to implement caching in a Spring Boot 3 application using Redis. · Prerequisites· Overview∘ Why Redis for Caching?∘ Flowchart of the caching mechanism∘ Setting
Tag: java
In this post, we’ll explore how to secure microservices architectures with Spring Cloud Gateway, Resource Servers, and Keycloak. · Prerequisites· Overview∘ How the authentication flow works· Setting up a
This post explores the usage of the Fallback annotation introduced in Spring Framework 6.2. · Prerequisites· Overview· Example∘ @Primary Annotation∘ @Fallback Annotation∘ Fine-tuning Annotation-based Autowiring with Qualifiers· Conclusion· References Prerequisites This is the
In this post, we’ll explain how to integrate the Keycloak Admin Client SDK in a Spring Boot application. · Prerequisites· Overview∘ What is Keycloak Admin Client?∘ When to Use
In the previous post, we had configured a Hashicorp Vault server. In this post, we’ll explain how to manage vault secrets with a Spring Boot application.
In this post, we’ll explore the implementation of the Strategy Design Pattern using Java Enum. · Prerequisites· Overview∘ What is the Strategy Pattern?∘ How is it implemented?· Step-by-Step Implementation∘ Traditional implementation
In this post, we’ll learn how to generate barcodes and QR codes and expose them as an endpoint in the Spring Boot API. · Prerequisites· Overview∘ Barcodes∘ QR Codes· Getting
In this post, we’ll explore using Spring Data JPA with PostgreSQL views in a Spring Boot application. · Prerequisites· Overview∘ Understanding Database Views∘ Key Benefits of Database Views· Database Setup· Let’s
The Collector.teeing feature introduced in Java 12 is a powerful addition to the Collector interface in the Java Stream API. The teeing() method teeing() is a static method of the Collectors class
In this post, we’ll explore how to integrate MinIO with Spring Boot to perform bucket and object operations to any Amazon S3-compatible object storage service.