This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Sockets and Internet Protocols and the fly likes ERH - Any coverage of ipv6? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "ERH - Any coverage of ipv6?" Watch "ERH - Any coverage of ipv6?" New topic
Author

ERH - Any coverage of ipv6?

Paul Santa Maria
Ranch Hand

Joined: Feb 24, 2004
Posts: 236
Hi -

I'm particularly interested in what (if any) Java sockets programs might encounter in mixed IPv4/IPv6 environments.

Thanx in advance .. PSM

PS:
I understand J2SE 1.4 introduced support for IPv6. Anything new in J2SE 1.5?
[ December 07, 2004: Message edited by: Paul Santa Maria ]

Paul M. Santa Maria, SCJP
somkiat puisungnoen
Ranch Hand

Joined: Jul 04, 2003
Posts: 1312
Anything new in J2SE 1.5?


Networking IPv6 User Guide for JDK/JRE 5.0

Networking Enhancments for J2SE 5.0


SCJA,SCJP,SCWCD,SCBCD,SCEA I
Java Developer, Thailand
Elliotte Rusty Harold
author
Ranch Hand

Joined: Feb 25, 2004
Posts: 91
IPv6 is one of the major new networking features in Java 1.4 and in the third edition of Java Network Programming. It's starting to see some traction outside the United States and is at the beginning of what is probably a classic exponential growth curve. That being said, though, the absolute number of IPv6 deployments is still quite small compared to IPv4, and is likely to remain small for the next couple of years. Right now I'd venture to say there are more Mac OS 9 and other IPv6 incapable systems connected to the Net than there are IPv6 nodes.

Longer term, IPv6 is likely to become very important for networks and network administrators. It adds lots of useful functionality and helps out with addressing; but the really good news is that most developers working in Java can pretty much ignore it. One of the things that Java has done right since 1.0 is abstract away a lot of gory, low-level details like the exact representation of network addresses. Pretty much all the Java networking code you write today or have written in the past will just work on an IPv6 network without any extra effort on your part, as long as you're using Java 1.4 or later.

A related issue that will affect Java developers more directly is internationalized domain names and IRIs. The specs for these aren't quite finished yet, but they will be soon, and they're going to catch fire a lot faster than IPv6 because they provide obvious benefits to roughly five billion end users, who are going to start using them (in some cases, already are using them) whether or not the specs and software are ready. Sadly even Java 5.0 has absolutely no support for any of this. This means application developers are going to have to accept internationalized domain names and IRIs from end users and other software and convert them into old style domain names and URIs before working with them in Java. This really should be a core part of the library. There are open RFEs for this functionality for Mustang (Java 1.6) so maybe we'll have this sometime in 2006.


Elliotte Rusty Harold<br />Author of <a href="http://cafe.elharo.com/web/refactoring-html/" target="_blank" rel="nofollow">Refactoring HTML</a>
Paul Santa Maria
Ranch Hand

Joined: Feb 24, 2004
Posts: 236
Fascinating - thank you!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ERH - Any coverage of ipv6?
 
Similar Threads
IPv6 implementation
String returned by SocketChannel toString() method is not same format on XP and OX-X
ipv6 to numeric format
JMF and IPv6 ?
Getting ipv4 remote address from FacesContext