Java
-

The Hidden Cost of Records: When Java’s Immutable Data Classes Quietly Hurt Your GC
Records are clean, expressive, and widely adopted — but in tight, allocation-heavy loops, they can pile invisible pressure on the…
Read More » -

Querying Records Between Two Dates Using Hibernate
Querying records between two dates is a common requirement in enterprise applications. Examples include retrieving orders placed within a specific…
Read More » -

Extracting HTTP Basic Authentication from HttpServletRequest
Authentication is a fundamental aspect of securing web applications. One of the simplest and most widely used authentication mechanisms is…
Read More » -

How to Read a Flame Graph: A Practical Profiling Guide for JVM Developers
Stop guessing where your Java app is spending its time. Here is everything you need to go from zero to…
Read More » -

Java Sock Merchant Problem: Solutions with Arrays and HashSets
The Sock Merchant problem is an algorithm challenge that tests our ability to work with arrays, counting, and basic data…
Read More » -

Convert ByteBuffer to Byte Array in Java
Java applications often work with binary data while performing file operations, network communication, serialization, and NIO (New I/O) programming. Two…
Read More » -

Event Sourcing Without a Framework: What You Actually Need, What You Don’t, and the Parts Nobody Warns You About
Most Java tutorials reach for Axon before explaining the moving parts underneath it. This is the framework-agnostic treatment — the…
Read More » -

Database Indexing Mistakes That Senior Java Developers Still Make in 2026: A Deep Dive With PostgreSQL and Hibernate
You’ve shipped dozens of services. You know what a B-tree is. Yet your PostgreSQL queries are still crawling at 3…
Read More » -

How to Read a Flame Graph: A Practical Profiling Guide for JVM Developers
async-profiler demystified — learn to spot the hot frames, understand the stack, and fix what actually matters. Why Flame Graphs…
Read More »


