Best of Spring FrameworkMay 2025

  1. 1
    Article
    Avatar of foojayioFoojay.io·52w

    Building a Real-Time AI Fraud Detection System with Spring Kafka and MongoDB

    This tutorial explains the step-by-step process of building a real-time fraud detection system using Spring Kafka, MongoDB, and AI-generated embeddings. It covers setting up a MongoDB database and creating a vector search index to detect anomalies in transaction data. The guide also illustrates creating synthetic customer profiles and generating transactions to analyze historical patterns for potential fraud, along with optimizing performance strategies.

  2. 2
    Article
    Avatar of collectionsCollections·50w

    Spring Framework 7.0 and Spring Boot 4.0: Revolutionizing Development with Major Upgrades

    Spring Framework 7.0 and Spring Boot 4.0 are set to release in November with major upgrades including Jakarta EE 11 support, Kotlin 2.x compatibility, and JSpecify null safety annotations. Key highlights include Project Leyden's AOT optimizations delivering 4.4x faster startup times, enhanced API handling with auto-configuration for HTTP service interfaces, Spring Data 4.0 improvements, and the launch of Spring AI 1.0 for generative AI applications. The release also introduces unified Long-Term Support with over 7 years of support for major releases.

  3. 3
    Article
    Avatar of springSpring·52w

    Spring gRPC Promoted!

    Spring gRPC has been promoted from experimental to a full member of the Spring Portfolio, marking symbolic and support changes. The recent release 0.8.0 updates dependencies, enhanced gRPC client stub creation, and outlined future transitions alongside Spring Boot 4.0.0. It supports easier configuration and integration with Spring Boot applications.

  4. 4
    Article
    Avatar of java_libhuntAwesome Java Newsletter·50w

    Spring Data Ahead of Time Repositories

    Spring Data 4.0 introduces Ahead-of-Time (AOT) repositories that generate actual source code for repository query methods at build time instead of runtime. By enabling spring.aot.repositories.enabled=true, the framework converts repository interfaces into concrete implementations with the exact same code developers would write manually. This optimization reduces application startup time and memory usage by moving query parsing and method generation from runtime to build time. The feature is currently available as a preview for JPA (Hibernate) and MongoDB, with more data stores planned for future releases.

  5. 5
    Article
    Avatar of javarevisitedJavarevisited·51w

    Top 15 Spring Cloud Interview Questions and Answers

    Spring Cloud Interview Questions and Answers are shared to help Java developers prepare for interviews. The post lists 15 questions to revise essential Spring Cloud concepts, focusing on cloud-native development and microservices using Spring Cloud and Spring Boot. Insights into tools like Hystrix, Ribbon, and Zuul are provided for enhanced understanding of distributed systems.

  6. 6
    Article
    Avatar of baeldungBaeldung·52w

    Conditional Logging With Logback

    Explore the conditional logging capabilities of the Logback framework, which allow dynamic control of log outputs based on runtime conditions. The post covers the setup using Maven dependencies, the use of conditional tags in configuration files, and practical implementations with system properties. It also discusses the EvaluatorFilter for runtime expression evaluation and offers alternatives such as Spring profiles and environment-specific variables for cleaner configuration.