Best of JavaSeptember 2025

  1. 1
    Article
    Avatar of shaafShaaf·33w

    My first 6 hours with Rust

    A beginner's exploration of Rust fundamentals after 6 hours of learning, covering key concepts like ownership, borrowing, structs, enums, and memory management. The author compares Rust's unique ownership system to Java's garbage collection, explains how references work with borrowing rules, and demonstrates practical examples of data structures and method implementations. The post highlights Rust's safety guarantees through compile-time checks and its approach to modularity with default privacy.

  2. 2
    Article
    Avatar of baeldungBaeldung·31w

    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.

  3. 3
    Article
    Avatar of zerotomasteryZero To Mastery·33w

    I've seen it all...

  4. 4
    Article
    Avatar of springSpring·30w

    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.

  5. 5
    Article
    Avatar of springSpring·31w

    API Versioning in Spring

    Spring Framework 7 introduces official API versioning support with ApiVersionStrategy for server-side handling and ApiVersionInserter for client requests. The feature supports various versioning approaches including path, header, query parameter, and media type versioning. Key capabilities include semantic version parsing, baseline versioning with '+' notation, deprecation headers following RFC standards, and comprehensive testing support through RestTestClient, WebTestClient, and MockMvc.

  6. 6
    Video
    Avatar of bytemonkByteMonk·31w

    The JVM Secret That Makes Code Faster!

    The JVM uses just-in-time (JIT) compilation to continuously optimize code while it runs, unlike traditional ahead-of-time compilation. It starts by interpreting bytecode, then compiles frequently used methods into optimized machine code. This adaptive approach allows JVM applications to improve performance over time by learning from real execution patterns, making it ideal for long-running services despite slower startup times.

  7. 7
    Article
    Avatar of thedailywtfThe Daily WTF·31w

    The Getter Setter Getter

    A Java code example demonstrates poor naming conventions where a getter method calls a setter method, neither of which actually gets or sets values. The real issue is converting a Java DTO object to a Map<String,String>, which indicates discomfort with object-oriented programming and creates unnecessary complexity when Java already provides transparent serialization capabilities.

  8. 8
    Article
    Avatar of foojayioFoojay.io·30w

    Design Patterns Update to JDK25

    JDK 25 introduces enhanced switch statements and pattern matching capabilities that modernize the implementation of classic design patterns. The release includes significant JEPs like Stream Gatherers, Unnamed Variables & Patterns, and Compact Source Files with Instance Main Methods. These features enable more functional programming approaches, improving code readability and maintainability while addressing complex implementation challenges across Creational, Structural, and Behavioral design patterns.

  9. 9
    Article
    Avatar of springSpring·29w

    The state of HTTP clients in Spring

    Spring Framework 7.0 introduces new HTTP client features including API versioning, HttpMessageConverters, HTTP Interface Groups, and RestTestClient. The team officially announces RestTemplate deprecation, with formal deprecation in 7.1 and removal in 8.0. RestClient emerges as the recommended replacement for traditional applications, while WebClient remains for reactive use cases. New Spring Boot starters provide dedicated HTTP client artifacts.

  10. 10
    Article
    Avatar of netflixNetflix TechBlog·29w

    100X Faster: How We Supercharged Netflix Maestro’s Workflow Engine

    Netflix redesigned their Maestro workflow orchestrator engine, achieving 100x performance improvement by replacing the stateless worker model with a stateful actor-based architecture using Java virtual threads. The new design reduces overhead from seconds to milliseconds, maintains in-memory state for better locality, implements strong execution guarantees, and simplifies the architecture by removing dependencies on external distributed queues and multiple databases.

  11. 11
    Video
    Avatar of codeheadCodeHead·32w

    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.

  12. 12
    Article
    Avatar of baeldungBaeldung·29w

    Stable Values in Java 25

    Java 25 introduces the Stable Value API (JEP 502) to solve the trade-off between immutability and delayed initialization. StableValue acts as a thread-safe wrapper that guarantees single initialization while enabling deferred computation of expensive objects. The API includes StableSupplier for lazy initialization, StableList and StableMap for collections with on-demand element computation, and StableFunction for memoized function calls. This approach maintains immutability benefits and JVM optimization opportunities while avoiding upfront initialization costs that can slow application startup.

  13. 13
    Article
    Avatar of inside_javaInside Java·32w

    Java 21 ⮕ 25: Performance and Runtime Enhancements #RoadTo25 – Inside.java

    Billy Korando breaks down the key performance and runtime enhancements between Java 21 and Java 25, covering important updates like Compact Object Headers, ZGC improvements, and JFR enhancements. This comprehensive overview helps organizations understand the significant changes across multiple Java releases without having to review extensive release notes.

  14. 14
    Article
    Avatar of halodocHalodoc·32w

    Migrating from JDK 17 to JDK 21: An Overview and Practical Guide

    A comprehensive guide covering the migration from JDK 17 to JDK 21, highlighting key benefits like Virtual Threads for improved concurrency and scalability. The article provides a step-by-step technical approach including environment setup, dependency updates, containerization, CI/CD pipeline modifications, and runtime optimization with Generational ZGC. Real-world results show 30% heap usage reduction, stabilized P99 latency, and over 10% infrastructure cost savings for I/O-bound services.

  15. 15
    Article
    Avatar of hnHacker News·32w

    Mentra-Community/MentraOS: Smart glasses OS, with dozens of built-in apps. Users get AI assistant, notifications, translation, screen mirror, captions, and more. Devs get to write 1 app that runs on a

    MentraOS is an open source operating system for smart glasses that enables developers to write applications once and run them across multiple smart glasses devices. The platform provides a TypeScript SDK, handles device pairing and data streaming, and offers built-in apps like AI assistant, live captions, translation, and screen mirroring. It supports devices like Even Realities G1 and Mentra hardware, with apps distributed through the Mentra Store.

  16. 16
    Video
    Avatar of fknightForrestKnight·31w

    Java is 30 Years Old // Here’s Why It’s Still Winning

    Java celebrates its 30th anniversary as a dominant programming language despite common criticisms about verbosity and complexity. The language survived where competitors like Flash, Silverlight, and ColdFusion failed by focusing on enterprise reliability and platform independence through the JVM. Modern Java has evolved with features like lambda expressions, type inference, and frameworks like Spring Boot, while maintaining backward compatibility. Major companies like Netflix and banks rely on Java for handling billions of requests, proving its continued relevance in enterprise applications.

  17. 17
    Article
    Avatar of vaadinVaadin·31w

    What’s new in Vaadin 24.9

    Vaadin 24.9 introduces streamlined premium feature trials with no sign-up required, new Flow components including a dedicated code snippet component, improved asset management with @NpmPackage annotations, enhanced Design System tooltips, and Copilot support for custom component copy-paste from Figma. The release also deprecates VaadinWebSecurity in preparation for Vaadin 25.0, encouraging migration to Spring Security's VaadinSecurityConfigurer approach.

  18. 18
    Article
    Avatar of hnHacker News·31w

    public static void main(String[] args) is dead

    Java has evolved to eliminate the need for the traditional 'public static void main(String[] args)' boilerplate when writing simple programs. This change removes a major barrier for beginners learning Java, as the verbose main method declaration was often confusing and intimidating for new programmers.

  19. 19
    Article
    Avatar of baeldungBaeldung·33w

    Introduction to RDF and Apache Jena

    RDF (Resource Description Framework) is a W3C standard for storing and exchanging graph data, particularly useful for describing interrelated data and relationships. Apache Jena is an open-source Java framework for building Semantic Web applications that work with RDF models. The tutorial covers creating RDF models programmatically, working with resources and properties, extracting values, and serializing/deserializing models in formats like N-Triples and RDF-XML. Key concepts include using URIs for unique resource identification, RDF statements (triples) with subject-predicate-object structure, and standard vocabularies like Schema.org for consistent data representation.

  20. 20
    Article
    Avatar of bytebytegoByteByteGo·30w

    EP181: How Java Works

    Explains how Java programs execute through compilation to bytecode, JVM loading, and JIT compilation for performance optimization. Also covers Gitflow branching strategy for organized development workflows, Redis persistence mechanisms using AOF and RDB approaches, and a 6-step process for creating AI models from objective setting through deployment.

  21. 21
    Article
    Avatar of jetbrainsJetBrains·32w

    Java Annotated Monthly – September 2025

    Monthly roundup covering Java 25 release with new language features like compact source files and flexible constructor bodies, IntelliJ IDEA 2025.2 updates, Kotlin developments including AI agent framework Koog, Spring framework news, AI coding tools and agents, plus upcoming developer conferences and community events.