Spring

Spring Boot ControllerAdvice: A Complete, Practical Guide

What Is @ControllerAdvice? @ControllerAdvice is Spring’s mechanism for applying cross-cutting concerns to multiple controllers—primarily global exception handling, but also data…
Discover More

The Loneliest Pattern: A Deep Dive into the Singleton

In the world of software engineering, there are times when “the more, the merrier” is exactly the wrong philosophy. Sometimes,…
Discover More

Spring Boot in a Nutshell

Spring Boot builds on Spring to let you create production-grade applications with minimal configuration. Annotations drive most of the functionality…
Discover More

Java: Project Lombok

What it is, why it helps, and how to use its most useful annotations in everyday Java coding. It’s designed…
Discover More

Spring Security: Custom Authencation with OTP based login

We will walk through you on how to setup Spring Security with Custom Authentication handler for OTP based login. We…
Discover More

Spring: Database connection with MySQL

This is a walkthrough for establishing a connection between backend java code and database using spring boot. First you need…
Discover More