Posts tagged with #learning-path

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.

Spring Boot Configuration Properties: @ConfigurationProperties and Relaxed Binding

Master Spring Boot external configuration with @ConfigurationProperties, relaxed binding rules, and application.yml/yml setup.

Spring Boot CORS: Cross-Origin Resource Sharing Configuration

Learn how to configure Cross-Origin Resource Sharing in Spring Boot for secure API access, including global config, annotations, and common pitfalls.

Spring Boot DAO Pattern and @Transactional: Propagation, Isolation, Read-Only

Master Spring Boot's @Transactional annotation. Learn propagation levels, isolation modes, read-only transactions, failure scenarios, and best practices.

Spring Boot DataSource: Auto-Configured, Custom, and Multiple Databases

Learn how to configure DataSource in Spring Boot: from auto-configuration and custom sources to multi-database setups for production applications.

Spring Boot Exception Handling: @ControllerAdvice, @ExceptionHandler, ErrorAttributes

Master Spring Boot exception handling with @ControllerAdvice, @ExceptionHandler, ErrorAttributes, and security best practices for production APIs.