Best of Spring BootSeptember 2025

  1. 1
    Article
    Avatar of baeldungBaeldung·36w

    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.

  2. 2
    Article
    Avatar of baeldungBaeldung·38w

    How to Reduce Spring Boot Memory Usage?

    Spring Boot applications typically consume significant memory (150+ MB) due to JVM architecture, embedded server threads, and framework overhead. Memory usage can be reduced through JVM tuning (serial garbage collector, reduced thread stack size, RAM limits), configuring web server thread pools, container-aware deployment practices, and removing unused dependencies. Key techniques include using -XX:+UseSerialGC, -Xss512k for thread stacks, setting MaxRAM limits, reducing Tomcat threads to 20, and matching JVM flags to container limits.

  3. 3
    Article
    Avatar of springSpring·35w

    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.

  4. 4
    Video
    Avatar of codeheadCodeHead·37w

    Spring Boot Explained In 2 minutes

    Spring Boot is a Java framework that simplifies application development by providing auto-configuration, embedded servers, and starter dependencies. It eliminates the complexity of traditional Java web app setup, allowing developers to create REST APIs with minimal code. Major companies like Netflix, Amazon, and JP Morgan Chase use Spring Boot in production for enterprise applications.

  5. 5
    Article
    Avatar of baeldungBaeldung·36w

    PartitionKey in Hibernate: A Practical Guide for Spring Boot

    Database partitioning improves query performance for large datasets by splitting tables into smaller, manageable segments. Hibernate 6.2+ introduces the @PartitionKey annotation to optimize queries on partitioned tables. The tutorial demonstrates setting up PostgreSQL table partitions, configuring Spring Boot with Hibernate entities using @PartitionKey, and creating REST endpoints to interact with partitioned data. Key benefits are realized when queries include the partition key in WHERE clauses, allowing the database to target specific partitions rather than scanning all data.