Posts in technical

OpenAPI and Machine-Readable API Specifications

Learn how OpenAPI turns API behavior into a reviewable contract, supports tooling, and helps teams catch breaking changes before clients encounter them.

Synchronous Calls, Asynchronous Messaging, and Webhooks

Choose between synchronous APIs, queued messages, and webhooks by matching delivery behavior to latency needs, failure handling, and ownership boundaries.

Embedded Web Servers in Spring Boot: Tomcat, Jetty, Undertow

Configure embedded servers in Spring Boot: compare Tomcat, Jetty, and Undertow, tune thread pools, enable access logs, and switch implementations.

JUnit 5 & Jupiter: Lifecycle, Nested & Parameterized Tests

Learn JUnit Jupiter 5.14.4 lifecycle rules, nested tests, and parameterized inputs, with runnable setup order and practical isolation guidance.

Mockito: Mocking, Stubbing, Verifications, Spy vs Mock

Learn Mockito fundamentals: create mocks and spies, stub behavior with when().thenReturn(), verify interactions, and choose between Spy vs Mock wisely.

Spring Boot Actuator: Health Checks, Metrics, Info Endpoints, Custom Indicators

Monitor Spring Boot apps with Actuator: built-in health checks, metrics, info endpoints, and how to build custom health indicators.

Spring Boot Actuator Deep Dive: Custom Metrics and Health Indicators

Deep dive into Spring Boot Actuator: expose custom metrics with Micrometer, create custom HealthIndicators, and secure actuator endpoints properly.

Spring Boot Application Structure: Layout and Component Scanning

Explore Spring Boot project structure conventions, the role of @SpringBootApplication, and how component scanning discovers beans.

Spring Boot Caching: @Cacheable, @CacheEvict, and Redis

Implement Spring Boot caching with @Cacheable, @CacheEvict, and Redis: reduce database load, handle cache hits, misses, and invalidation properly.