|
|
|
|
Java NIO for Not Yet Techies"Computer Careers: With This New Input and Output Package"by Richard Stooker, President Info Ring Press and author of Secrets of Changing to a Computer Career |
|
Java NIO was added to the language with the release of Java 2 Standard Edition / J2SE 1.4. Once code-named Merlin, Java NIO stands for New Input Output. It contains new APIs that turn Java into a high performance language. The input and output of data are critical points that determine the efficiency of a program or language. I recall my computer science teacher in college a million years ago telling us that the slowest parts of a computer process were the users, because -- being human beings -- we could not input or output data anywhere near as fast as the computer could process it. Java NIO goes a long way toward removing those barriers from that language. Until the release of Java NIO, the Java Virtual Machine could not take advantage of the full potential of the underlying operating systems, because it was written to be universal. This slowed down input and output operations, especially for enterprise-large applications which worked with huge quantities of data. Java NIO effectively leverages the operating systems in a portable way to match the nearly the speed of native code languagesIt is contained in the java.nio package and subpackages. It now enables:
Java NIO is the first addition to Java that originated with the JCP / Java Community Process. It came from Java Specification Request #51. It also regular expression processing, such as Perl uses, to allow:
Java NIO also enables character set coding, a charset API for complete control of character set coding and encoding. It contains new buffer classes which link its regular Java classes to channels. A channel is an object that models a communication connection -- which can be unidirectional or bidirectional. Java NIO also contains socket channels for network interaction. The selector class does readiness selection. Next: Java Swing |
|
Use Your New Computer Career as a Stepping Stone to Even Greater SuccessSend off for your free 7-part Techie Plus eCourse now. So that you can learn:
It's fast and easy. You will receive the first part in your email box within minutes. I respect your privacy. I will never sell, rent or trade your email address. After you subscribe, the form will redirect you to a thank you page. Thank you! Rick Stooker |
|
Permission is granted to reprint the above article in an ezine or on a website as long as it is reprinted in full, with no changes, with full credit and with this contact information and link included at the bottom. All other rights reserved. Copyright 2007 by Info Ring Press All Rights Reserved. Computer Careers (Home) Sitemap Contact Privacy Info Ring Press Richard Stooker PO Box 617 130-G Ballwin Manor Dr Ballwin, MO 63011 (636) 394-2052 rick@inforingpress.com |