Java NIO
By Ron Hitchens
Publisher: O'Reilly Media
Final Release Date: August 2002
Pages: 304

Many serious Java programmers, especially enterprise Java programmers, consider the new I/O API--called NIO for New Input/Output--the most important feature in the 1.4 version of the Java 2 Standard Edition. The NIO package includes many things that have been missing from previous editions of Java that are critical to writing high-performance, large-scale applications: improvements in the areas of buffer management, scalable network and file I/O, character-set support, and regular expression matching. Most of all, it boosts performance and speed dramatically.Java NIO explores the new I/O capabilities of version 1.4 in detail and shows you how to put these features to work to greatly improve the efficiency of the Java code you write. This compact volume examines the typical challenges that Java programmers face with I/O and shows you how to take advantage of the capabilities of the new I/O features. You?ll learn how to put these tools to work using examples of common, real-world I/O problems and see how the new features have a direct impact on responsiveness, scalability, and reliability. The book includes:

  • A rundown of the new features in NIO
  • Basic and advanced I/O Concepts
  • Binary I/O and the new buffer classes
  • Memory mapped files and file locking
  • Character I/O: encoding, decoding and transforming character data
  • Regular Expressions and the new java.util.regex package
  • Muliplexing with java.nio
Because the NIO APIs supplement the I/O features of version 1.3, rather than replace them, you'll also learn when to use new APIs and when the older 1.3 I/O APIs are better suited to your particular application.Java NIO is for any Java programmer who is interested in learning how to boost I/O performance, but if you're developing applications where performance is critical, such as game computing or large-scale enterprise applications, you'll want to give this book a permanent spot on your bookshelf. With the NIO APIs, Java no longer takes a backseat to any language when it comes to performance. Java NIO will help you realize the benefits of these exciting new features.
Table of Contents
Product Details
Colophon
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
O'Reilly MediaJava NIO
 
3.0

(based on 2 reviews)

Ratings Distribution

  • 5 Stars

     

    (0)

  • 4 Stars

     

    (1)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (1)

  • 1 Stars

     

    (0)

Reviewed by 2 customers

Sort by

Displaying reviews 1-2

Back to top

(2 of 2 customers found this review helpful)

 
4.0

Java NIO Review

By John Lee

from Undisclosed

Comments about O'Reilly Media Java NIO:

First

thanks for sharing sample chapter.

I am wondering if author is planning to publish networking book which emphasize use of nio features and go through with it. Chapter 4 is what I exactly want to read. I wish book itself has more coverage on networking part. Maybe autor might be preparing networking book also. I want to see more emphasis on custom networking(socket programming) with nio and building scalable custom netwokring server.

thanks,

John Lee

(0 of 6 customers found this review helpful)

 
2.0

Java NIO Review

By anonymous

from Undisclosed

Comments about O'Reilly Media Java NIO:

This review is only of the sample chapter on selectors, to which I give two out of a possible five Sloths ( more == better ).

Non-blocking io, threads, sockets are the most important subjects this book can offer to me and the sample chapter on selectors was exactly what I wanted to read.

To the author:

"Life is a series of rude awakenings."

-R. Van Winkle

Unfortunately the sample chapter is long-winded, repetitive and more of an API-reference than a tutorial on how to use the NIO classes. This chapter is not of the caliber of "Java Servlets" by Jason Hunter. I want a book that makes learning how to use these classes less of chore, thank you.

This was a very important development in the Java world and O'Reilly's offering appears to be mediocre.

Displaying reviews 1-2

Back to top

 
Buy 2 Get 1 Free Free Shipping Guarantee
Buying Options
Immediate Access - Go Digital what's this?
Ebook: $31.99
Formats:  DAISY, PDF
Print & Ebook: $43.99
Print: $39.99