Skip to main content

JSR-203 Implementation

1 reply [Last post]
mksreddy
Offline
Joined: 2003-06-10

Any idea when JSR203 will added to Mustang?
I am looking for NIO Support for Multicast specifically.

Also API for asynchronous I/O operations makes NIO much easier to program.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
s690716
Offline
Joined: 2004-03-04

It was planned for 1.4, then moved to 1.5, then targeted for 1.6 and now moved again to dolphin (1.7).

nio.2 should renamed to oldio.2... after six years of moving around. they should better move the jfilechooser filesystem api to java.io and make them work.

this quote is also interesting and explains the missing implementation of jsr 203 and the missing support for community needs - simple (?) politics:

[i]JSR-203, "More New I/O [(NIO)] APIs for the Java Platform (NIO.2)," is a proposed new input/output APIs. [b]It was originally intended to appear in J2SE 5.0[/b]*, which has been publicly available since September 2004.

"Google is disappointed that JSR-203 has missed two targeted J2SE releases and that it has not moved out of the 'Expert Group Formation' phase in the two years since it started," the company stated in the comment area of its vote on JSR-270.

Officials were not available at press time for more comment on its issue.

Reinhold, who was the specification lead for the first NIO, JSR-51, said JSR-203 was originally pushed back with the intent of placing it into the next feature release, but the faster release model meant it wouldn't be developed in time for Mustang.

"At the time we dropped it from Tiger, we were still operating under the old release model which would have placed Mustang three years after Tiger, but when the new release model came along, we looked at [JSR-203] and thought, 'hmm, well, we could rush and try to do this in Mustang,' but it's sufficiently big and sufficiently important that we thought it was better to hold it off until J2SE 7, [code named] Dolphin.

"It will still come out three years after Tiger, it just won't be in Mustang," he added.[/i]

[b]* error correction: "It was originally intended to appear in J2SE 1.4" and then the jsr was edited... 3 + 3 = 6[/b]

Source: http://www.aspnews.com/news/weekly/article.php/3487146

Conclusion:
Sometime we can read the following line:
"hmm, well, we could rush and try to do this in Dolphin," but it's sufficiently big and sufficiently important that we thought it was better to hold it off until J2SE 8...

Or 9, 10, ...?! who knows?

JSR 203 (NIO/2; was originally targeted for 1.4): http://www.jcp.org/en/jsr/detail?id=203
JSR 270 (Java 1.6 umbrella JSR): http://www.jcp.org/en/jsr/detail?id=270
JSR 270 (Votes and comment from Google Inc. about missing JSR 203): http://www.jcp.org/en/jsr/results?id=3058

but the smartcard api is part of the standard edition...?!

And don't ask for a platform independant TWAIN API - JNI is your friend. ;-)