© 2026 Hashnode
Source: Methods to Move Cross-Cutting Logic Out of Controllers Without Building a Mystery Box You know the scene: three controllers, ten endpoints, and every method has repeated snippets for authentication checks, request validation, timing, metric...

Source: Reasons Your Unique Constraint Is Not a Complete Concurrency Strategy You shipped a system where a unique index guards a business invariant. For a while everything looked fine: a unique constraint rejected duplicates, your logs showed an oc...

Source: Series of Interview Questions for Backend Developers Part 4 1. Question 1: What types of Java class loaders exist and how do they work? At a high level, a class loader is just a piece of Java code whose job is to take a .class file (or...

Source: Reasons Your API Returns 403 With a Valid Token — and How to Fix Missing Role Mapping 1. What “Valid Token but 403” Actually Means When Spring Security (or any resource server) returns 403 with a verified token, it’s saying: “I believe...

Source: Techniques to Configure server.servlet.context-path and Log 404 Errors Separately in Spring Boot 1. Understanding server/servlet/context-path 1.1 What is a Context Path? In Spring Boot, the context path defines the base URI under ...
