Dynamic Projections with Spring Data JPA

Freelance software consultant Maciej Walkowiak (of Just and Spring Cloud AWS fame) has recently published this interesting article on dynamic projections with Spring Data JPA. Dynamic projections allow you to determine the type returned by JPA query methods at invocation time, which comes in handy in case you want to return different attribute subsets from your data model for various use cases without having to incur the maintenance cost of creating a new query method for each such projection. Read more

The “Spring Way” of Doing Things by Lee Sheinberg

Lee Sheinberg of Digma (providers of a continuous feedback tool for Java development) recently published this article on The “Spring Way” of Doing Things, which covers quite a few useful suggestions on how to improve the way you write Spring Boot applications by applying common best practices such as keeping your controllers lean or handling exceptions globally. Read more

Java Digest by Catherine Edelveis: March 2024 Edition

Java developer and prolific writer Catherine Edelveis has this wonderful - and quite useful - idea of publishing a monthly digest of relevant news, releases, and events in the Java world. You can read the March 2024 edition here. Read more

Developer Experience with Spring Boot on Kubernetes by Thomas Vitale @ Spring I/O 2023

Read more

The Unknowns of JUnit 5 by Mike Kowalski @ Devoxx France 2022

Read more

Performance-Oriented Spring Data JPA & Hibernate by Maciej Walkowiak @ Voxxed Days Zürich 2024

Read more

Spring Calendar – Release Schedule for Spring Projects

Spring - and Spring Boot in particular - are my main go-to frameworks when it comes to implementing applications and automating processes for both my clients and myself. Additionally, I give courses on Spring Boot and various other Spring-related subjects and I also run "Stratospheric - From Zero to Production with Spring Boot and AWS" (ebook and companion online course). Hence, it's fair to say I'm quite committed to Spring and the Spring community, which is why knowing in advance when a ... Read more

Everything You Need to Know About Spring AI (as of now, that is …)

Recently, Gaurav Sharma of Unlogged posted this useful article on "All You Need to Know About Spring AI". Spring AI is a project within the Spring Framework that "aims to streamline the development of applications that incorporate artificial intelligence functionality without unnecessary complexity". Read more

Migrating to Java 21 and Spring Boot 3.2

Last year in December, Pratik Dwivedi of Unlogged posted an informative article on migrating from Java 8/11 to Java 21, and Spring Boot 2 to the latest Spring Boot 3.2, which covers everything from the benefits of that transition (e.g., being able to use GraalVM, Virtual Threads and CRaC and the Spring Framework's new RestClient and observability features) to a checklist and best practices for carrying out such a migration for your applications. Read more

Spring Tip: WebUtils

Once again, Martin Hock recently published a useful Spring tip; this time about WebUtils, a utility class for working with web-related tasks (e.g., extracting request parameters or retrieving cookies): 🚀 Spring Tip🚀WebUtilsA utility class for working with web-related tasks, such as extracting request parameters, handling multipart requests, and managing cookies. 🔥https://t.co/xmTxOhEYdP#Spring #Java— Martin Hock (@mnhocktweets) February 8, 2024 Read more
Next Page »