Close Menu
Şevket Ayaksız

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    Deno’s Latest Update Adds OpenTelemetry Support

    Mayıs 31, 2025

    Neo browser reimagines search with built-in AI assistant

    Mayıs 27, 2025

    Google unveils AI Ultra subscription for power users

    Mayıs 27, 2025
    Facebook X (Twitter) Instagram
    • software
    • Gadgets
    Facebook X (Twitter) Instagram
    Şevket AyaksızŞevket Ayaksız
    Subscribe
    • Home
    • Technology

      Unlock Desktop GPU Power with Asus ROG XG Station 3

      Mayıs 27, 2025

      OpenSilver Expands Cross-Platform Reach with iOS and Android Support

      Mayıs 27, 2025

      Introducing AMD’s 96-Core Threadripper 9000 CPUs: A New Era in Computing

      Mayıs 22, 2025

      AMD’s Radeon RX 9060 XT Delivers Better Value Than Nvidia’s RTX 5060 Ti

      Mayıs 22, 2025

      MSI’s Claw A8 Introduces AMD-Powered Gaming Handheld

      Mayıs 22, 2025
    • Adobe
    • Microsoft
    • java
    • Oracle
    Şevket Ayaksız
    Anasayfa » Proposed Plan for Java Internet Address Resolution
    software

    Proposed Plan for Java Internet Address Resolution

    By mustafa efeTemmuz 25, 2024Yorum yapılmamış2 Mins Read
    Facebook Twitter Pinterest LinkedIn Tumblr Email
    Share
    Facebook Twitter LinkedIn Pinterest Email

    OpenJDK Community to Develop New Service Provider Interface for Address Resolution

    To enhance Java applications’ control over internet addressing, the OpenJDK community is proposing the development of a Service Provider Interface (SPI) for host name and address resolution. This initiative aims to provide a more flexible and customizable approach to how Java applications resolve host names and IP addresses, beyond relying solely on the operating system’s built-in resolver.

    The proposal under consideration involves creating an SPI for the java.net.InetAddress API. Currently, this API uses the operating system’s native resolver, which typically relies on a local hosts file and the Domain Name System (DNS) for resolving host names. By developing an SPI, the OpenJDK community seeks to allow Java applications and frameworks to use alternative resolvers, offering greater control and customization over resolution results.

    One of the primary motivations for this proposal is to support customization. With a resolver SPI, developers would be able to implement custom resolution strategies or retrofit existing libraries with a custom resolver. This flexibility is particularly valuable for frameworks and applications that require specific resolution behavior or need to integrate with proprietary systems.

     

     

    Additionally, the proposal addresses compatibility with Project Loom, which explores advanced Java VM features, including user-mode virtual threads. The current blocking nature of resolution operations in InetAddress poses challenges for Loom’s virtual threads, as platform threads cannot service other virtual threads while waiting for a resolution to complete. An alternative resolver could be designed to implement the DNS client protocol in a non-blocking manner, thus enhancing compatibility with Loom’s threading model.

    The SPI would also facilitate the adoption of emerging network protocols, such as DNS over Quick UDP Internet Connections (QUIC), Transport Layer Security (TLS), or HTTPS. By allowing seamless integration of these new protocols, the resolver SPI would future-proof Java applications and ensure they remain compatible with evolving internet standards.

    Finally, the ability to control host name and address resolution is essential for prototyping and testing. Developers often need to manipulate resolution results for testing purposes, and a resolver SPI would provide the necessary control to achieve this. Oracle indicated that the proposal aligns with efforts to advance asynchronous programming in Java, addressing the limitations of legacy synchronous DNS lookups. By making the resolution process pluggable, the plan aims to modernize and enhance Java’s capabilities in handling network communications.

    Post Views: 101
    java Programming Languages Software Development
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    mustafa efe
    • Website

    Related Posts

    Deno’s Latest Update Adds OpenTelemetry Support

    Mayıs 31, 2025

    Neo browser reimagines search with built-in AI assistant

    Mayıs 27, 2025

    Google unveils AI Ultra subscription for power users

    Mayıs 27, 2025
    Add A Comment

    Comments are closed.

    Editors Picks
    8.5

    Apple Planning Big Mac Redesign and Half-Sized Old Mac

    Ocak 5, 2021

    Autonomous Driving Startup Attracts Chinese Investor

    Ocak 5, 2021

    Onboard Cameras Allow Disabled Quadcopters to Fly

    Ocak 5, 2021
    Top Reviews
    9.1

    Review: T-Mobile Winning 5G Race Around the World

    By sevketayaksiz
    8.9

    Samsung Galaxy S21 Ultra Review: the New King of Android Phones

    By sevketayaksiz
    8.9

    Xiaomi Mi 10: New Variant with Snapdragon 870 Review

    By sevketayaksiz
    Advertisement
    Demo
    Şevket Ayaksız
    Facebook X (Twitter) Instagram YouTube
    • Home
    • Adobe
    • microsoft
    • java
    • Oracle
    • Contact
    © 2025 Theme Designed by Şevket Ayaksız.

    Type above and press Enter to search. Press Esc to cancel.