Tag: Spring Boot

18 articles

Deploying Spring Boot on K8s: 5 Pitfalls I Encountered

Documenting real issues encountered when migrating Spring Boot microservices to Kubernetes: health checks, ConfigMap hot-reload, JVM memory, graceful shutdown...

Spring Cloud Gateway Rate Limiting and Circuit Breaker Practice

Recording the complete process of configuring Spring Cloud Gateway rate limiting (Redis token bucket) and circuit breaker (Resilience4j) in production, including pitfalls...

Spring Boot 2.4.1 Integration with RabbitMQ: DirectExchange

Complete Spring Boot integration with RabbitMQ tutorial, DirectExchange configuration, @RabbitListener message listener and Controller HTTP trigger delivery example.

Guava Cache: Deletion Strategy, Expiration and Common Pitfalls

Guava Cache uses 'lazy cleanup + LRU+FIFO' strategy. Passive deletion and active deletion need to be used together. Deep dive into expireAfterAccess, expireAfterWrite and...

Java Integration with FastDFS: Client and Maven/Spring Boot

Two ways for Java applications to integrate with FastDFS: official source compilation (happyfish100/fastdfs-client-java 1.37-SNAPSHOT) and Maven dependency (cn.

AI Research #132: Java Ecosystem 2025 - Spring, Quarkus, Micronaut and AOT Trends

Spring Framework 6, Spring Boot 3.x, GraalVM Native Image, Quarkus, Micronaut, and AOT trends shaping the Java ecosystem in 2025.

Spring In-Depth: Declarative Transaction Support, XML and XML+Annotation Modes

In-depth guide to Spring declarative transaction support covering transaction configuration with XML mode and XML+annotation mode with practical examples.

Spring In-Depth: AOP Aspect Enhancement Core Concepts, Advice Types and XML + Annotation

In-depth introduction to Spring AOP aspect enhancement covering core concepts, advice types, XML+annotation approaches with code examples

Spring In-Depth: Declarative Transaction Support, Transaction Control and Isolation Levels

In-depth introduction to Spring declarative transaction support covering transaction control, concepts, four characteristics, and isolation levels with practical examples.

Spring In-Depth: AOP Aspect Enhancement Core Concepts, Terminology and Proxy Configuration

In-depth introduction to Spring AOP aspect enhancement covering core concepts, related terminology, and proxy configuration with practical examples.

Spring In-Depth: IoC Container Circular Dependency, Prototype Scope and Lazy ObjectFactory

In-depth analysis of Spring IoC container system covering circular dependency, prototype beans, prototype scope, and lazy ObjectFactory with solutions.

Spring In-Depth: IoC Container System BeanFactory Analysis and Lazy-Init

In-depth analysis of Spring IoC container system covering BeanFactory process analysis and Bean lazy loading mechanism with practical examples.

Neo4j + Spring Boot Practice: Integration from Driver to Repository

Complete guide to integrating Spring Boot with Neo4j: Java Driver, Neo4jTemplate, Repository pattern with practical examples for graph database CRUD operations and relati...

Spring Boot Transaction Propagation: From REQUIRED to NESTED

Transaction propagation is an important mechanism in Spring for handling transaction boundaries, defining how methods interact with transaction context in the call chain.

Spring Boot Declarative vs Programmatic Transactions

Introduces declarative transaction and programmatic transaction concepts, usage methods and comparative analysis.

Spring Boot @Transactional: Propagation, Isolation and Rollback Rules

Detailed introduction to @Transactional annotation parameters in Spring Boot, including transaction propagation, isolation levels, and exception rollback strategies.

Spring Boot MongoDB: Template vs Repository with Index Tips

Two ways to connect Spring Boot to MongoDB: MongoTemplate and MongoRepository, with complete Java code examples and common problem troubleshooting.

Spring Boot Integration with Kafka

Detailed guide on integrating Kafka in Spring Boot projects, including dependency configuration, KafkaTemplate sync/async message sending, and complete @KafkaListener con...