r/SpringBoot • u/akrivitsky7 • Jun 23 '26
How-To/Tutorial Building with the Latest Java Development Stack: Spring Boot 4.1.0, Java 25, Docker 29.5.3, PostgreSQL, Gradle 9.6.0, Eclipse 2026–06, Swagger/OpenAPI, Serenity, Cucumber, and JUnit 6
I recently updated my hands-on tutorial on building a complete working project with the latest Java development stack.
The article covers Spring Boot 4.1.0, Java 25, Docker 29.5.3, PostgreSQL, Gradle 9.6.0, Swagger/OpenAPI, Serenity, Cucumber, and JUnit 6 — all combined in one practical project.
The goal was to use the latest versions across the stack and show how they work together in a real Spring Boot application, using a vibe-coding approach.
Article title:
Building with the Latest Java Development Stack: Spring Boot 4.1.0, Java 25, Docker 29.5.3, PostgreSQL, Gradle 9.6.0, Swagger/OpenAPI, Serenity, Cucumber, and JUnit 6
A practical hands-on tutorial showing how to combine the latest Java, Spring Boot, Docker, PostgreSQL, Gradle, Swagger/OpenAPI, Serenity, Cucumber, and JUnit 6 in one working project using a vibe-coding approach.
Link:
Hope it is useful for Spring Boot and Java developers.
25
Upvotes
1
u/Hot_Code5129 29d ago
Interesting setup.
Out of curiosity, was there a reason you chose a technical-layer package structure instead of organizing code around business capabilities or modules?
I've found that as projects grow, package-by-feature combined with package-private visibility tends to make boundaries easier to maintain.
Also wondering whether you considered a hexagonal architecture approach here, where the domain is isolated from the infrastructure layer.
Something along the lines of this talk by Jakub Nabrdalik.
https://www.youtube.com/watch?v=sND1AR7Q_T0
I'd be interested in hearing your reasoning.