Articles

Click on an article tag to display only related articles.
Getting started with Spring AI

Getting started with Spring AI

Get started with Spring AI and Ollama: ask questions, process documents, use structured output, measure token usage and more.
Published 21 Sep 2025 - 6 min read
Correctly using utility classes in multithreaded Java applications

Correctly using utility classes in multithreaded Java applications

A comparison of thread-safe and non-thread-safe utility classes and how to correctly use them in multithreaded Java applications.
Published 2 Sep 2025 - 5 min read
Trace SQL queries back to the code

Trace SQL queries back to the code

Learn how to quickly find the line of code in your Hibernate application that causes a given SQL query.
Published 27 Jul 2025 - 3 min read
Simple but useful JPQL practices

Simple but useful JPQL practices

A selection of short and practical best practices for JPQL.
Published 4 Jun 2025 - 4 min read
JUnit extensions for Spring tests

JUnit extensions for Spring tests

Custom JUnit 5 extensions that can improve the performance and reliability of your Spring integration tests.
Published 20 Apr 2025 - 5 min read
Faster JPA relations loading

Faster JPA relations loading

Improve your JPA performances with fetch or entity graph to reduce the number of queries used to load multiple related entities.
Published 17 Feb 2025 - 4 min read
Java-Kotlin-TypeScript cheat sheet

Java-Kotlin-TypeScript cheat sheet

A simple cheat sheet with Java, Kotlin and TypeScript code samples.
Published 25 Nov 2024 - 30 min read
Spring tips, part 2

Spring tips, part 2

A selection of short and practical tips for Spring Boot applications.
Published 13 Oct 2024 - 5 min read
Spring tips, part 1

Spring tips, part 1

A selection of short and practical tips for Spring Boot applications.
Published 16 Sep 2024 - 4 min read
Java oddities

Java oddities

A selection of fun or interesting Java oddities.
Published 27 Jun 2024 - 4 min read
Getting started with Spring tests

Getting started with Spring tests

Improve Spring Boot integration tests coverage, reliability and performances using opinionated practices and tips.
Published 9 Apr 2024 - 5 min read
Switching between H2 and Testcontainers in Spring tests

Switching between H2 and Testcontainers in Spring tests

Why choose between H2 and Testcontainers for the database of your Spring Boot tests when you can have both?
Published 10 Mar 2024 - 3 min read
Spring Boot access log filter

Spring Boot access log filter

Improve the auditability of your Spring Boot backend by logging web request summaries with a simple custom access log filter.
Published 15 Jan 2024 - 4 min read
Security annotations in Spring tests

Security annotations in Spring tests

Simplify user authentication in Spring tests with standard security annotations or even your own.
Published 8 Dec 2023 - 5 min read
Improve your Envers revision info table

Improve your Envers revision info table

Improve your Hibernate Envers revision info table with custom attributes, better date and increased performance.
Published 31 Aug 2023 - 4 min read
Hibernate logging and monitoring guide

Hibernate logging and monitoring guide

Optimize and troubleshoot your persistence layer with Hibernate logs and metrics.
Published 11 Jan 2023 - 6 min read
Spring Data MongoDB reactive performance tip

Spring Data MongoDB reactive performance tip

Improve the insert performance of Spring Data MongoDB reactive repositories with a simple tip.
Published 9 Oct 2022 - 4 min read

© 2007-2025 Florian Beaufumé