Core Java
-

The Expression Problem: Why Java’s Sealed Interfaces Are One Answer, Not The Answer
Adding a new type is trivial in object-oriented code. Adding a new operation is trivial in functional code. Nobody has…
Read More » -

Sealed Interfaces and Exhaustive Switch: Making Illegal States Unrepresentable
A compact, runnable example showing how sealed hierarchies plus pattern-matching switches turn a whole category of bugs into compile errors.…
Read More » -

Virtual Thread Pinning: The Synchronized Block Trap Nobody Warned You About
Virtual threads are supposed to make blocking cheap. That is the whole promise of Project Loom: keep the simple thread-per-request…
Read More » -

Java 26: New Features Overview
Java continues its evolution with another major release. Java 26 introduces important improvements across language features, runtime performance, garbage collection,…
Read More » -

OpenTelemetry Java Auto-Instrumentation: Traces Without Touching Your Code
How the OTel Java agent attaches at JVM startup, what it captures automatically across JDBC, Spring MVC, and Kafka, and…
Read More » -

Hibernate @EmbeddedTable Explained
Hibernate has traditionally supported embedded objects through the @Embeddable and @Embedded annotations, allowing developers to model reusable value objects without…
Read More » -

A Simple Java Image Viewer
This is my second post in the GIS series—a simple Java Swing Image Viewer that explores the math behind image…
Read More » -

Records and Compact Constructors: Where Validation Logic Actually Belongs
Records hand you equals, hashCode, and toString for free. They don’t hand you immutability for free the moment an array…
Read More » -

Implementing Authorization Using jCasbin
Modern applications require a robust security mechanism to ensure that users can access only the resources they are authorized to…
Read More »


