Best of Spring FrameworkOctober 2025

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

  2. 2
    Article
    Avatar of collectionsCollections·31w

    Java Weekly: Spring Boot 4 and Jackson 3 Support

    Spring Boot 4 introduces Jackson 3 support with significant changes including the shift from mutable ObjectMapper to immutable JsonMapper and package name updates. The framework maintains backward compatibility by supporting both Jackson 2 and 3 during migration. Additional updates include reactive context improvements for ThreadLocal reliability, Spring AI versions 1.0.3 and 1.1.0-M3, Spring Cloud 2025.1.0-M3 milestone, and various tooling updates like Mandrel 25 and WildFly 38 Beta.

  3. 3
    Article
    Avatar of foojayioFoojay.io·28w

    Spring Framework 7 API Versioning Explained

    Spring Framework 7 introduces native API versioning support through a new version attribute in @RequestMapping annotations. The framework provides multiple versioning strategies including request header, path segment, query parameter, and media type parameter approaches. Developers can configure versioning either through annotation-based WebMvcConfigurer implementations or property-based configuration in application.properties. The feature includes built-in components for version resolution, parsing (supporting semantic versioning), validation, and deprecation handling to maintain backward compatibility while evolving APIs.

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

    Transactions and ThreadLocal in Spring

    Deep dive into Spring's transaction management implementation, revealing how it relies on ThreadLocal to bind transaction context to threads. Explores the TransactionSynchronizationManager class that stores transaction resources per thread, and contrasts this with Spring's reactive transaction approach using immutable Context objects. Discusses the challenges Spring faces in migrating to virtual threads (Project Loom) while maintaining backward compatibility with existing ThreadLocal-based implementations.