 |
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.
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
|