Java & Spring

Complete Guide to Logging in Java

Logging is an essential part of software development, enabling developers to monitor, debug, and analyze their applications. Whether you’re building a small utility or a complex enterprise application, effective logging can save hours of troubleshooting and improve the maintainability of your code. What is Logging, and Why is it Important? At its core, logging is […]

Securing REST API with Spring Security, OAuth2, JWT & Keycloak

Securing APIs is a critical part of building resilient microservice architectures. In service‑to‑service scenarios, using user-based authentication falls short. Instead, service accounts and OAuth2 client credentials provide a cleaner, more scalable alternative without hardcoding secrets or credentials. In this article, we’ll explore: You can find the full reference implementation in the secure-rest-api module of my

Scroll to Top