Core Java
-

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 » -

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 » -

Reading JVM Safepoint Logs Without Going Mad: A Practical Stop-the-World Diagnosis Guide
JFR and async-profiler guides are everywhere. Safepoint logs — the raw output that tells you exactly why your JVM froze — are…
Read More » -

Dependency Confusion Attacks in Maven: How They Work and Why Your settings.xml Makes You Vulnerable
In 2021, a security researcher breached Apple, Microsoft, PayPal, and 32 other organisations without writing a single exploit. He just…
Read More » -

Mutation Testing With PIT in Java: The Coverage Metric You’re Ignoring That Actually Measures Test Quality
Line coverage tells you which code ran. Mutation testing tells you whether your tests would actually catch a bug. Here…
Read More »

