// Posts (Page 9)

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

Explore JUnit 5 Jupiter features: master test lifecycle annotations, organize tests with @Nested, and parameterize tests with @CsvSource and @MethodSource.

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.