My Writing
Blog
Articles on Java internals, software engineering, learning in public, and things I figured out the hard way.
Securing APIs at Scale: Implementing Annotation-Based Authorization
How I built a global interceptor mechanism using a @SecuredAccess annotation to protect API endpoints without duplicating authentication logic.
Why I Build Frameworks Before Using Them
Before using Spring Boot, I built a servlet framework. Before using Hibernate, I built an ORM. This is why I think every engineer should build the tools they rely on, at least once.
Building a Custom Data Binder: From HTTP Requests to Java POJOs
How I built a mechanism to automatically parse HTTP request parameters and JSON payloads into complex Java objects using Reflection.
Understanding Dependency Injection by Building a Custom IoC Container
How I implemented my own @AutoWired annotation and Inversion of Control container to manage object lifecycles without Spring.
Why I Built My Own Java Web Framework Instead of Using Spring Boot
Frameworks like Spring Boot are powerful, but they often feel like magic. I decided to build my own MVC web framework from scratch to understand exactly how the magic works.
Demystifying Framework Magic: Building a Front Controller with Java Reflection
How I used Java Reflection and custom annotations to eliminate web.xml boilerplate and build my own mini Spring-like routing engine.
Bridging the Gap: Generating Frontend JavaScript Clients from Backend Java using Reflection
How I built a mechanism to automatically generate typed JavaScript functions for AJAX calls by introspecting backend Java methods at runtime.