Best of Spring Framework2025

  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 javarevisitedJavarevisited·1y

    From Java Basics to Full Stack Development: A Simplified Roadmap for Beginners in 2025

    This roadmap provides a comprehensive guide for beginners to become full stack Java developers by 2025. It covers foundational Java concepts, mastering back-end development with Spring Framework, understanding RESTful APIs, microservices, and Spring Cloud. It also includes front-end development with HTML, CSS, JavaScript, and JavaScript frameworks like React. Additionally, it emphasizes the importance of learning databases, ORM frameworks, build tools, version control, deployment processes, and continuous learning.

  3. 3
    Article
    Avatar of javarevisitedJavarevisited·1y

    6 Must Read Spring Framework Books (includes Spring Boot and Spring Security) in 2025

    The post recommends six key books for learning the Spring framework, including Spring Boot and Spring Security, suitable for beginners to advanced Java developers. It highlights essentials like 'Spring in Action' by Craig Walls and covers topics such as dependency injection, MVC architecture, batch processing, and security practices. Each book has been updated for the latest Spring versions, providing comprehensive guides to mastering various components of the Spring ecosystem.

  4. 4
    Article
    Avatar of frankelA Java geek·25w

    Are you really wasting your time in Java without these 10 libraries?

    A critical analysis of 10 commonly recommended Java libraries, evaluating their current relevance and usefulness. The author argues that some popular tools like Lombok and MapStruct are no longer necessary given modern Java features and alternatives like Kotlin, while others like Liquibase/Flyway remain essential for production deployments. The piece emphasizes context-dependent decision-making over blindly following listicles, noting that tools like SLF4J, Jackson, JUnit, and Spring remain valuable, while Apache Commons Lang and Guava have diminished utility in modern Java versions.

  5. 5
    Article
    Avatar of java_libhuntAwesome Java Newsletter·1y

    Understanding concepts in Event Driven Architectures (EDA)

    Event Driven Architecture (EDA) is a popular choice for developing highly scalable distributed systems, where components communicate by sending and reacting to events asynchronously. Key components include event producers, message brokers, and event consumers. Common technologies used are Kafka, RabbitMQ, AWS SNS/SQS, and Google Pub/Sub. EDA offers advantages such as scalability, flexibility, and resilience, but also has challenges like eventual consistency and complex debugging.

  6. 6
    Article
    Avatar of baeldungBaeldung·35w

    Spring Boot 4 & Spring Framework 7 – What’s New

    Spring Boot 4 and Spring Framework 7 introduce significant modernization updates including Java 17 baseline with Java 21/25 support, Jakarta EE 11 alignment, and Kotlin 2.2+ compatibility. Key features include enhanced GraalVM native image support, built-in API versioning, declarative HTTP clients with @HttpServiceClient, resilience annotations for retry logic, improved observability with Micrometer 2 and OpenTelemetry, modular architecture for better performance, and JSpecify null safety adoption. The releases also bring testing improvements with context pausing and RestTestClient, while removing deprecated javax.* packages and Jackson 2.x support.

  7. 7
    Article
    Avatar of collectionsCollections·49w

    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.

  8. 8
    Video
    Avatar of youtubeYouTube·1y

    the Spring Boot end-to-end tutorial (new for 2025!)

    Explore the essential concepts of Spring Boot 3.4 and its 2025 updates, including auto-configuration, dependency injection, and aspect-oriented programming. Learn to set up a Spring Cloud Config Server and use Spring Batch for efficient data processing. Follow along to build a dog adoption service with these tools.

  9. 9
    Article
    Avatar of baeldungBaeldung·42w

    Introduction to Jimmer ORM

    Jimmer ORM is a new database framework that differs from JPA by requiring developers to specify data interaction details at the call site rather than through annotations. It uses interfaces as entities and relies heavily on DTOs for both reading and writing data. The framework includes a dedicated DTO language to reduce manual DTO creation overhead and supports multiple databases including MySQL, PostgreSQL, and Oracle. Unlike Hibernate, Jimmer doesn't implement dirty checking or traditional lazy loading, instead focusing on explicit data shape specification through DTOs and Object Fetcher APIs.

  10. 10
    Article
    Avatar of foojayioFoojay.io·39w

    Preparing for Spring Boot 4 and Spring Framework 7: What’s New?

    Spring Boot 4 and Spring Framework 7 introduce significant enhancements including built-in resilience features with @Retryable and @ConcurrencyLimit annotations, a fluent JMS client API, robust API versioning, and modular architecture. Key improvements include support for Jackson 3.x, JSpecify for null safety, enhanced SSL health reporting, multiple TaskDecorator beans support, and better integration with modern ecosystems like Kotlin 2.2 and Jakarta EE 11. The modular codebase refactoring breaks up monolithic auto-configuration JARs into focused packages, while milestone artifacts are now available in Maven Central for easier dependency management.

  11. 11
    Article
    Avatar of baeldungBaeldung·46w

    Cleaning Spring Properties Files

    Spring Properties Cleaner is a Maven plugin that automatically cleans up Spring application properties files by removing duplicates, standardizing formatting, sorting keys, and extracting common properties across multiple profile-specific files. The plugin can be configured to detect issues during builds, sort properties in clustered or alphabetical order, inline prefixes for better commonality extraction, and manage vertical whitespace. It supports three extraction modes (full, consistent, multiple) for promoting properties to a common application.properties file, helping maintain cleaner and more organized configuration files in Spring projects.

  12. 12
    Article
    Avatar of javarevisitedJavarevisited·1y

    Only 5% of the Developers Can Answer These Questions! 🚀

    Understanding the fundamentals of Spring Framework is crucial before diving into Spring Boot. This guide emphasizes the importance of core concepts like Dependency Injection, IoC, and Bean Scopes. It presents thought-provoking questions to enhance comprehension and mastery of Spring's capabilities, which are essential for leveraging Spring Boot’s convenience features effectively.

  13. 13
    Article
    Avatar of jetbrainsJetBrains·1y

    9 Tips for Productive Java Development With Databases in IntelliJ IDEA

    IntelliJ IDEA enhances productivity for Java developers working with databases through features like automatic data source creation, query method testing without application runs, database schema diagrams, and in-editor query result reviews. Other helpful tools include data modification directly from result sets, query result visualization as charts, execution plan profiling, automated DB migration script generation, and an AI Assistant for query management.

  14. 14
    Article
    Avatar of springSpring·33w

    HTTP Service Client Enhancements

    Spring Framework 7 introduces HTTP Service Registry to simplify configuration of HTTP service clients. The new registry layer reduces boilerplate code when working with multiple REST APIs by providing declarative registration through @ImportHttpServices annotation, transparent Spring bean creation, and centralized client proxy management. Spring Boot 4.0 adds auto-configuration support with properties-based HTTP client settings per service group, while Spring Security 7.0 provides OAuth integration for authenticated API calls.

  15. 15
    Video
    Avatar of bytemonkByteMonk·43w

    Spring Boot Deep Dive | How It Simplifies Java Apps & Microservices

    Spring Boot revolutionizes Java development by eliminating the verbose XML configuration and boilerplate code that plagued traditional Spring Framework. It provides auto-configuration, starter dependencies, embedded servers, and convention-over-configuration principles to enable rapid application development. The framework supports modern microservices architecture with features like service discovery, API gateways, circuit breakers, and distributed configuration. Spring Boot integrates seamlessly with Spring Security for authentication and authorization, while its actuator provides built-in monitoring and health checks for production-ready applications.

  16. 16
    Article
    Avatar of javarevisitedJavarevisited·1y

    Top 22 Spring Boot Interview Questions and Answers for 2 to 5 Years Experienced Developers

    This post provides a comprehensive list of the top 22 Spring Boot interview questions and answers, targeting Java developers with 2 to 5 years of experience. It covers essential Spring Boot features such as auto-configuration, starter dependencies, Spring Boot CLI, and Actuator. The article aims to equip developers with the knowledge needed to tackle Spring Boot-related questions in job interviews.

  17. 17
    Article
    Avatar of springSpring·22w

    Spring Tools 5.0 released

    Spring Tools 5.0 has been released, marking a new major version of the development tooling for Spring Framework applications. This release provides enhanced IDE support for Java developers working with Spring-based projects.

  18. 18
    Article
    Avatar of freecodecampfreeCodeCamp·49w

    OpenFeign vs WebClient: How to Choose a REST Client for Your Spring Boot Project

    OpenFeign and WebClient are two popular REST client options for Spring Boot applications. OpenFeign offers a declarative approach using annotated interfaces, integrates seamlessly with Spring Cloud components, and works well for synchronous microservice communication. WebClient provides a reactive, non-blocking HTTP client with fluent API design, better suited for high-throughput applications and reactive programming models. The choice depends on your architecture: use OpenFeign for traditional Spring Cloud microservices prioritizing simplicity, and WebClient for reactive applications requiring high performance and concurrent request handling.

  19. 19
    Article
    Avatar of javarevisitedJavarevisited·1y

    Spring Transaction Propagation Guide

    Spring transaction propagation controls how transactions flow between service methods using the @Transactional annotation. Key propagation types include REQUIRED, REQUIRES_NEW, and NESTED. Each type serves different use cases: REQUIRED for default, all-or-nothing processes; REQUIRES_NEW for independent actions like logging; and NESTED for partial rollbacks. The guide also discusses transaction isolation levels, best practices, and common pitfalls.

  20. 20
    Article
    Avatar of infoworldInfoWorld·30w

    Java or Python for building agents?

    Choosing between Java and Python for AI agents should depend on your team's existing expertise and technology stack, not trends. While Python dominates AI development due to its accessibility and rich ecosystem, Java developers can build equally effective agents using frameworks like Embabel. Organizations will achieve faster AI adoption by leveraging their current tools and skills rather than switching to unfamiliar technologies. By 2028, 80% of generative AI applications will be built on existing data management platforms, reinforcing the value of working with what you already have.

  21. 21
    Article
    Avatar of javarevisitedJavarevisited·1y

    Why Become a Certified Spring Professional/Developer in 2025?

    Becoming a Certified Spring Developer in 2025 can significantly enhance your career prospects by unlocking higher salaries, ensuring growth, and differentiating you from other Java developers. The certification process helps you master core Spring concepts, including Spring Boot, Security, and Cloud, while providing hands-on experience with real-world projects. As demand for skilled Spring developers continues to grow, a certification validates your expertise and makes you a strong candidate for top companies. Recommended resources for preparing include books, practice tests, official documentation, and courses on platforms like Udemy and Baeldung.

  22. 22
    Article
    Avatar of javarevisitedJavarevisited·1y

    Aspect Oriented Programming (AOP) in Spring Boot

    Aspect Oriented Programming (AOP) helps manage cross-cutting concerns like logging, auditing, and security in Spring Boot applications. By centralizing these aspects, developers can maintain clean business logic and avoid redundant code. Key concepts include aspects, advice, join points, pointcuts, and weaving. AOP is beneficial for improving code readability, maintainability, and consistency. The choice between Spring AOP and AspectJ depends on specific performance needs and complexity of the application.

  23. 23
    Article
    Avatar of javarevisitedJavarevisited·1y

    Top 5 Books to Learn Hibernate and Spring Data JPA for Experienced Java Developers

    A guide for experienced Java developers showcasing the top 5 books to learn Hibernate and Spring Data JPA. It includes recommendations such as 'Java Persistence with Hibernate 2nd Edition' and 'High-Performance Java Persistence' by Vlad Mihalcea. Each book is supplemented with author insights and compatibility with online courses for comprehensive learning.

  24. 24
    Article
    Avatar of devblogsDevBlogs·19w

    Java at Microsoft: 2025 Year in Review

    OpenJDK 25 shipped as the new Long-Term Support release with Microsoft Build of OpenJDK 25 available across platforms and Azure services. GitHub Copilot expanded AI-assisted development across Java IDEs (Eclipse, IntelliJ, VS Code) and CLI, with new app modernization capabilities for upgrading Java versions and frameworks. Azure Command Launcher for Java entered public preview, providing automatic JVM tuning without manual configuration. Microsoft deepened investments in AI development with support for LangChain4j, Spring AI, Quarkus AI, and Embabel frameworks, plus educational content for beginners. The company participated in major Java conferences including Microsoft JDConf and JavaOne, while contributing to open source projects across the Java ecosystem.

  25. 25
    Article
    Avatar of springSpring·27w

    Spring gRPC Next Steps for 1.0.0

    Spring gRPC 1.0 will support Spring Boot 4.0 as a standalone project rather than being merged into Spring Boot 4.0 as originally planned. The autoconfiguration merge is now targeted for Spring Boot 4.1. Users can upgrade from version 0.12.0 by simply changing the version number in their dependency management, with minimal code changes required. The autoconfiguration and starter dependencies will be deprecated immediately upon release to signal the planned migration to Spring Boot 4.1, though this deprecation is purely about dependency coordinate changes.