Blog by Vincenzo Racca

  • Home
  • Java
  • Framework
    • Spring
    • JPA
  • Pattern
  • DevOps
    • Docker
    • Kubernetes
    • Other
  • About Me
  • GitHub

Home

Last published posts

Partitioned Steps with Spring Batch
April 14, 2025

Partitioned Steps with Spring Batch

A complete guide to implementing parallel partitioned batch jobs with Spring Batch.

Read More

How to Use Spring Cloud AWS with LocalStack: Build and Test AWS Applications Locally
January 27, 2025

How to Use Spring Cloud AWS with LocalStack: Build and Test AWS Applications Locally

Learn how to integrate Spring Cloud AWS with LocalStack to emulate AWS services like SQS, DynamoDB, and Parameter Store, enabling fast and cost-effective local development and testing.

Read More

Broker agnostic with Spring Cloud Stream
January 01, 2025

Broker agnostic with Spring Cloud Stream

Example of Kafka producer and consumer (also Reactive) with Spring Cloud Stream. Error handling with retry and DLQ.

Read More

Spring Boot vs Spring Boot with GraalVM: Performance testing and considerations
February 09, 2024

Spring Boot vs Spring Boot with GraalVM: Performance testing and considerations

Migrating a classic Spring Boot app to a GraalVM native image. My experience.

Read More

Virtual Threads vs WebFlux: who wins?
December 26, 2023

Virtual Threads vs WebFlux: who wins?

Let's challenge these two approaches with load tests!

Read More

OpenID Connect, OAuth2 and authorization code with Spring Cloud Gateway and WSO2 Identity Server
December 02, 2023

OpenID Connect, OAuth2 and authorization code with Spring Cloud Gateway and WSO2 Identity Server

Centralized security with Spring, example of OAuth2 Client and Resource Server and session management with Hazelcast.

Read More

Automatic MDC logs in Spring WebFlux with spring-webflux-mdc
September 18, 2023

Automatic MDC logs in Spring WebFlux with spring-webflux-mdc

Automatic Context Propagation with the spring-webflux-mdc library..

Read More

Securing your REST APIs with Spring Security and JWT
May 15, 2023

Securing your REST APIs with Spring Security and JWT

How to integrate JWT access token and refresh token with Spring Security.

Read More

Integration tests for DynamoDB with Spring Boot, Testcontainers, and Localstack
May 14, 2023

Integration tests for DynamoDB with Spring Boot, Testcontainers, and Localstack

Testing DynamoDB with a LocalStack container shared between test classes.

Read More

Retryable RestTemplate with RetryTemplate and centralized retry configuration
January 30, 2023

Retryable RestTemplate with RetryTemplate and centralized retry configuration

Centralized Retry configuration with Policy on HTTP statuses in response.

Read More

Switching from Java 11 to Java 17
December 26, 2022

Switching from Java 11 to Java 17

Which new features to exploit.

Read More

Web Service REST with Spring WebFlux and Reactive Mongo
October 01, 2022

Web Service REST with Spring WebFlux and Reactive Mongo

WebFlux with functional (RouterFunction) and traditional (annotation based) endpoints.

Read More

Kubernetes' Pod object
August 02, 2022

Kubernetes' Pod object

What is a Pod and how to create it.

Read More

Introduction to Kubernetes
July 26, 2022

Introduction to Kubernetes

What is Kubernetes and installing a Cluster via Kind.

Read More

Centralized management of multiple containers with Docker Compose
May 17, 2022

Centralized management of multiple containers with Docker Compose

Docker Compose example for a Java app with Postgres database.

Read More

Integration of WSO2 API Manager with WSO2 Identity Server
March 07, 2022

Integration of WSO2 API Manager with WSO2 Identity Server

WSO2IS as Key Manager in WSO2AM.

Read More

Communication between containers: networking in Docker
January 17, 2022

Communication between containers: networking in Docker

How to expose and isolate containers.

Read More

Persistence in Docker containers: volumes and bind mounts
December 27, 2021

Persistence in Docker containers: volumes and bind mounts

How to make the filesystem of a Docker container persistent.

Read More

Build and export custom images: docker commit, docker build and docker save
October 25, 2021

Build and export custom images: docker commit, docker build and docker save

Example of Dockerfile to create a Docker image of a Java app.

Read More

Get Started with Docker
September 28, 2021

Get Started with Docker

What are containers and basic operations with Docker.

Read More

Introduction to Spring and Dependency Injection
May 14, 2021

Introduction to Spring and Dependency Injection

How to declare a bean, types and DI considerations.

Read More

Singleton Pattern
March 25, 2021

Singleton Pattern

Singleton Pattern, how to make it Thread-safe, how to handle possible subclasses.

Read More

JPA Fetch and N+1 SELECT problem
January 11, 2021

JPA Fetch and N+1 SELECT problem

LAZY Fetch vs EAGER Fetch and possible optimizations.

Read More

EntityManager: Application managed and Container managed
December 14, 2020

EntityManager: Application managed and Container managed

Persistence Context, Persistence Unit, EntityManager from container and from application.

Read More

Introduction to JPA and relationship mapping
December 01, 2020

Introduction to JPA and relationship mapping

OneToMany, OneToOne and ManyToMany in JPA.

Read More

Level 3 REST services and paging with Spring HATEOAS
November 16, 2020

Level 3 REST services and paging with Spring HATEOAS

Let's see how to implement a level 3 Restful Web Service of the Richardson Maturity Model.

Read More

Richardson Maturity Model and REST levels
November 08, 2020

Richardson Maturity Model and REST levels

What is the Richardson Maturity Model and HATEOAS.

Read More

Spring Monitoring with Spring Actuator and Spring Boot Admin
October 17, 2020

Spring Monitoring with Spring Actuator and Spring Boot Admin

Let's see how to monitor a Spring Boot app in a simple way.

Read More

Integration Test with TDD, Spring Boot, JUnit 5 and H2
October 11, 2020

Integration Test with TDD, Spring Boot, JUnit 5 and H2

Example of integration test with Spring Boot, JUnit 5 and H2 as in-memory database.

Read More

TDD and Unit Test with JUnit 5 and Mockito
October 03, 2020

TDD and Unit Test with JUnit 5 and Mockito

Example of unit test with JUnit 5 and Mockito using test drive development.

Read More

Manage multiple instances of Spring Batch with Shedlock
September 26, 2020

Manage multiple instances of Spring Batch with Shedlock

How to manage easily a Spring Batch app on several nodes with the Shedlock library.

Read More

Lesson 3: The selection (if-else)
September 10, 2020

Lesson 3: The selection (if-else)

The selection (if-else).

Read More

Lesson 2: First program in Java
September 03, 2020

Lesson 2: First program in Java

A first simple (procedural) program in Java.

Read More

Lesson 1: Introduction to Java and tools used
August 15, 2020

Lesson 1: Introduction to Java and tools used

Introduction of Java language.

Read More

Lesson 0: Introduction to programming
August 14, 2020

Lesson 0: Introduction to programming

A brief Intro on what programming is.

Read More

REST Web Service + CRUD in 5 minutes with Spring Boot and Spring Data REST
August 09, 2020

REST Web Service + CRUD in 5 minutes with Spring Boot and Spring Data REST

An easy and fast way for develop an entry level backend.

Read More

If you appreciate my articles, you can make me a donation of your choice. Thank you :)

© Stackbit-Libris. All rights reserved.Made with Stackbit

LinkedInGitHubInstagram