The Source for Java Technology Collaboration


Java provides access to networking through the IO and NIO packages.

IO

http://java.sun.com/j2se/1.4.2/docs/api/java/io/package-summary.html[JavaDoc]]

IO is the original networking layer. Its nicely object oriented but doesn't scale very well.

NIO

Tutorial

NIO is the new Java networking layer. It looks and acts more like the operating system equivilents. It scales much better than normal IO but is slightly more difficult to use and is there are many bug reports for corner cases.

-- Main.kevglass - 24 Oct 2005

Topic NetworkingInJava . { Edit | Ref-By | Printable | Diffs r1 | More }
 XML java.net RSS

Revision r1 - 24 Oct 2005 - 20:29:34 - Main.kevglass
Parents: WebHome > FAQ