How JPA Became Evil

Remember when you first learned JDBC? Yeah, neither do I. I've blocked it out like a traumatic childhood memory. Then JPA arrived like a hero we deserved. Or did we?

Remember when you first learned JDBC? Yeah, neither do I. I've blocked it out like a traumatic childhood memory. Then JPA arrived like a hero we deserved. Or did we?

Stream Gatherers are basically custom superpowers for your Stream API (they return another Stream and mostly just chill until a terminal operation shows up to actually do the work, basically intermediate operations). This JEP is like giving the Stream API steroids: now you can bend streams to your will in ways that would make previous Java developers weep tears of pure joy.

This tutorial shows how to use P6Spy to inspect generated SQL statements when debugging a Spring Boot application. Because let's face it, squinting at TRACE logs is about as fun as a root canal.

A simple cheat sheet for some of the most common docker run commands. Suitable for development environments, but more tinkering is needed if you want to run production-grade containers.

You probably won't need to sort your list of objects with custom comparison very often. But when you do... well, buckle up boys, because we're going on a wild ride!

Wanna have fun with Spring Boot? Check those tips and tricks out!
For more dedicated coding tips and tricks in general, see this article.

Why do we still cling to the ancient dogma of single Service and single ServiceImpl? What are the pros and cons of this "methodology"?
This will be a very long rant post. I've put some sections into expandable boxes so that you can read them only when you need to.

Here are some non-exhaustive battle-tested tips and tricks for coding with Java (yes, yes, I hear you muttering about Kotlin, Go, or C#, but if Java is currently keeping the lights on and ramen in your bowl, then buckle up and keep reading).

Continuing from part 1, we bask ourselves in some of the "funniest" comments found in various Java libraries.

Java 25 drops on September 25 this year (as of August 18, when I'm writing this). Will enterprises immediately jump on the Java 25 hype train? LOL, nope. They'll probably stick with Java 8 until the heat death of the universe (there are tons of breaking changes from Java 21 to Java 25, so without a solid migration plan, your services will explode spectacularly), but hey, we can still have some fun exploring what's new!