Best of JDK2025

  1. 1
    Article
    Avatar of jrebelJRebel·1y

    What's New With Java 24

    Java 24, a short-term JDK release scheduled for March 2025, will introduce 24 new features, including experimental, incubator, preview, and permanent JEPs. Key highlights include the Generational Shenendoah garbage collector and compact object headers. Java 24 will be replaced by long-term support Java 25 in September 2025.

  2. 2
    Article
    Avatar of colkgirlCode Like A Girl·1y

    Java24 Important Features.

    Java 24 introduces several new Java Enhancement Proposals (JEPs) that enhance language features, core libraries, performance, and security. Notable improvements include flexible constructor bodies, module import declarations, a more efficient stream API, scoped values, and quantum-resistant cryptography. Despite being a short-term release, Java 24 aims to modernize the Java platform by offering useful tools for concurrent programming, better memory management, and enhanced cryptographic security.

  3. 3
    Article
    Avatar of javarevisitedJavarevisited·1y

    Top 15 Java Stream and Functional Programming Interview Questions and Answers

    Java 8 introduced significant changes, including the Stream API and functional programming idioms, making it essential for Java developers to understand these concepts for interviews. The post provides a list of common Java Stream and functional programming interview questions with answers, covering essential topics like map(), filter(), and flatMap() methods, alongside various functional interfaces. With investment banks and other companies heavily relying on these skills, mastering Java 8 is crucial for modern Java development.

  4. 4
    Article
    Avatar of infoworldInfoWorld·1y

    JDK 25: The new features in Java 25

    JDK 25, the upcoming long-term support release for Java, is set to include a stable values API to improve application startup times and remove the deprecated 32-bit x86 port. Other potential features are in development, including those previewed in JDK 24, such as a key derivation function API and scoped values. JDK 25 is scheduled for release in September and will receive at least five years of premier-level support from Oracle.

  5. 5
    Article
    Avatar of foojayioFoojay.io·35w

    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.

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

    Parallel processing with Virtual Threads - A comparative analysis

    Explores the limitations of OS/platform threads and introduces virtual threads from Project Loom in JDK 21 as a solution. Provides a comparative analysis of virtual thread implementations in both JDK and Spring Core Reactor, highlighting use cases, performance metrics including processing time, memory footprint, and GC metrics. Concludes that JDK-based virtual threads are significantly faster for virtual thread implementations, whereas Spring Core Reactor performs better with platform threads.

  7. 7
    Article
    Avatar of halodocHalodoc·37w

    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.

  8. 8
    Article
    Avatar of inside_javaInside Java·31w

    JDK 26: HTTP/3 Support – Inside.java

    JDK 26 introduces HTTP/3 support to Java's HttpClient API, built on the QUIC protocol over UDP instead of TCP. Developers can enable HTTP/3 by setting it as the preferred version on HttpClient or HttpRequest instances. The implementation automatically downgrades to HTTP/2 or HTTP/1.1 if the server doesn't support HTTP/3. The HttpClient can discover HTTP/3 support through mechanisms like HTTP Alternative Services headers, allowing subsequent requests to use the preferred protocol. Early access builds are available for testing and feedback.