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, and log collection.

Spring Cloud Gateway Rate Limiting and Circuit Breaker Pr...

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

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 Pit...

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

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.bestwu / com.github.tobato).

AI Research #132: Java Ecosystem 2025 - Spring, Quarkus, ...

Spring Framework 6, Spring Boot 3.x (minimum JDK 17, supports Java 21 Virtual Threads), GraalVM Native Image AOT, Quarkus and Micronaut cloud-native...

Spring In-Depth: Declarative Transaction Support Transact...

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 Adv...

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

Spring In-Depth: Declarative Transaction Support Transact...

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 Pro...

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 Protot...

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 Analysi...

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 ...

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

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. Declarative transaction is implemented through @Transactional annotation, programma...

Spring Boot @Transactional: Propagation, Isolation & Roll...

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 consumption practice.