StackPractices

Tag: spring-boot

Browse 5 practical software engineering resources tagged with "spring-boot". Discover code recipes, design patterns, documentation templates, and in-depth guides to help you build, deploy, and maintain production-ready solutions involving spring-boot. Each resource is written for engineers who ship real systems, with copy-paste examples and practical trade-offs.

Spring Boot

Spring Boot simplifies Java application development with auto-configuration, embedded servers, and a vast ecosystem. It is the most common way to build production Java services.

The resources below cover starters, configuration, testing, data access, security, and deployment. Each guide helps you build and operate Spring Boot applications efficiently.

Every resource includes clear explanations, copy-paste code, and practical warnings. Use them to make informed decisions, avoid production pitfalls, and speed up your delivery. If you are just getting started, read the beginner-friendly articles first; if you are experienced, jump straight to the advanced patterns and architecture guides. New resources are added regularly, so bookmark this page and check back for the latest patterns.

Configure Caffeine Cache in Java with Eviction Policies

Set up Caffeine cache in a Java application with size-based, time-based, and weighted eviction...

Use Spring Cache Annotations with Redis Backend

Apply Spring's @Cacheable, @CachePut, and @CacheEvict annotations with a Redis cache manager for...

Consume Kafka Topics with Spring Boot Stream Listeners

Build Kafka consumers in Spring Boot using @KafkaListener annotations, concurrent consumers, error...

Custom Health Checks with Spring Boot Actuator

How to implement custom health indicators with Spring Boot Actuator, including database, Redis,...

Expose Metrics with Micrometer and Prometheus

How to expose custom application metrics using Micrometer and Prometheus in Spring Boot, including...