Java internet address resolution plan proposed
Looking to enable Java applications to have finer control over internet addressing, plans are afoot in the OpenJDK community to develop a service provider interface (SPI) for host name and address resolution.A JDK Enhancement Proposal (JEP) under consideration calls for development of such an SPI for host name resolution so java.net.InetAddress can use resolvers other than the operating platform’s built-in resolver. [ Also on InfoWorld: What to expect in Java 18 ] In explaining the motivation for this proposal, proponents said the java.net.INetAddress API resolves host names to IP addresses and vice versa. The API currently uses the operating system’s native resolver, which typically is configured to use a combination of a local hosts file and the Domain Name System (DNS). Motivations for defining an SPI for name and address resolution include:To read this article in full, please click here
Looking to enable Java applications to have finer control over internet addressing, plans are afoot in the OpenJDK community to develop a service provider interface (SPI) for host name and address resolution.
A JDK Enhancement Proposal (JEP) under consideration calls for development of such an SPI for host name resolution so java.net.InetAddress
can use resolvers other than the operating platform’s built-in resolver.
In explaining the motivation for this proposal, proponents said the java.net.INetAddress
API resolves host names to IP addresses and vice versa. The API currently uses the operating system’s native resolver, which typically is configured to use a combination of a local hosts
file and the Domain Name System (DNS). Motivations for defining an SPI for name and address resolution include: