async IO in JVM

Does Sun JVM support async IO when the OS allows it?Java HotSpot(TM) Client VM (build 1.4.2_04-b05, mixed mode)
[125 byte] By [fadhooa] at [2007-10-2 5:24:29]
# 1
Yes, use the new i/o classes (NIO) - java.nio. . .
ChuckBinga at 2007-7-16 1:26:20 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 2
Thanks ChuckBing,how do i do that given that i am using the JVM that is part of oracle application server run off OC4J
fadhooa at 2007-7-16 1:26:20 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 3
Got me - I don't use Oracle stuff. Take a look at the docs and examples listed in the Java documentation: http://java.sun.com/j2se/1.4.2/docs/guide/nio/index.html
ChuckBinga at 2007-7-16 1:26:20 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 4
> Does Sun JVM support async IO when the OS allows it?Nope. It only supports non-blocking IO.To get asynchronous IO you can try http://www.alphaworks.ibm.com/tech/aio4j
abiesa at 2007-7-16 1:26:20 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 5
> > Does Sun JVM support async IO when the OS allows> it?> > Nope. It only supports non-blocking IO.Not correct. See JSR's 51 and 203; also java.nio.channels.InterruptibleChannel and java.nio.channels.spi.AbstractInterruptibleChannel
ChuckBinga at 2007-7-16 1:26:20 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 6
Thank you all
fadhooa at 2007-7-16 1:26:20 > top of Java-index,Java HotSpot Virtual Machine,Specifications...