Home :: Books :: Computers & Internet  

Arts & Photography
Audio CDs
Audiocassettes
Biographies & Memoirs
Business & Investing
Children's Books
Christianity
Comics & Graphic Novels
Computers & Internet

Cooking, Food & Wine
Entertainment
Gay & Lesbian
Health, Mind & Body
History
Home & Garden
Horror
Literature & Fiction
Mystery & Thrillers
Nonfiction
Outdoors & Nature
Parenting & Families
Professional & Technical
Reference
Religion & Spirituality
Romance
Science
Science Fiction & Fantasy
Sports
Teens
Travel
Women's Fiction
Java NIO

Java NIO

List Price: $34.95
Your Price: $23.07
Product Info Reviews

<< 1 2 >>

Rating: 5 stars
Summary: Concise and complete.
Review: A good book overall. Java NIO is a pretty formidable subject. The author does a decent job with this material. The details are concise and complete.

Rating: 5 stars
Summary: Concise and complete.
Review: A good book overall. Java NIO is a pretty formidable subject. The author does a decent job with this material. The details are concise and complete.

Rating: 5 stars
Summary: This book is excellent!
Review: At first I thought, "Oh no, another book from O'Reilly that is going to be mediocre", but boy was I wrong! This book is for serious developers that want to write serious applications that deal mostly with I/O. Ron's style of writing turns a boring/semi-difficult subject into something enjoyable and easy to learn. I was amazed at how well-written this book is. The examples are also well-written and aren't the usual fast-hack'em snippets you find in a lot of books. Ron is definitely an expert in this field and I am very much looking forward to more books written by him. If *ANYONE* is serious about increasing their I/O-bound applications' efficiency, this book is definitely for you!

Rating: 5 stars
Summary: This book is excellent!
Review: At first I thought, "Oh no, another book from O'Reilly that is going to be mediocre", but boy was I wrong! This book is for serious developers that want to write serious applications that deal mostly with I/O. Ron's style of writing turns a boring/semi-difficult subject into something enjoyable and easy to learn. I was amazed at how well-written this book is. The examples are also well-written and aren't the usual fast-hack'em snippets you find in a lot of books. Ron is definitely an expert in this field and I am very much looking forward to more books written by him. If *ANYONE* is serious about increasing their I/O-bound applications' efficiency, this book is definitely for you!

Rating: 5 stars
Summary: A very good summary and explanation of the New I/O in Java
Review: At only six chapters and 282 pages (including the index), the size of O'Reilly's book, "Java NIO" (short for "New I/O") published in August 2002 by Ron Hichens, might lead one to think it is little more than a cursory examination of the NIO packages introduced in J2SE 1.4 as a response to the Java Specification Request (JSR) #51. Yet, despite its relatively compact size, Mr. Hichens has done a very good job of introducing and explaining the many aspects of this New I/O. The book even includes parts of JSR 51 that are only tangentially related to I/O, such as the new regular expression processing found in java.util.regex and the new pluggable character set mappings.

Chapter 1 is a primer on general I/O concepts and mechanisms and provides a useful foundation for the following information. Beginning with the basics as a foundation is a strategy that Mr. Hichens uses in each of the subjects in the following chapters. It's an important first step, often omitted in books more
interested in prose than instruction.

Chapter 2 is a thorough explanation of the various Buffer classes. As the means for data accumulation and manipulation, Buffers are a natural first step in explaining the NIO package. It starts with a fairly detailed basic description followed with sections labeled: Creating, Accessing, Filling, Flipping, Draining, Compacting, Marking, Comparing, Bulk Moves, Duplicating, etc. Each section provides simple yet useful examples of the various operations along with some helpful hints on potential pitfalls.

Chapter 3 adds about all you'd want to know about the channels used to convey the data into and out of buffer. As the book explains, Channels "are not an extension or enhancement, but a new, first-class Java I/O paradigm. ... A Channel is a conduit that transports data efficiently between byte buffers and the entity on the other end of the channel (usually a file or socket)." In the ensuing sections: Scatter/Gather, File Channels, Memory-Mapped Files, Socket Channels, Pipes and The Channel Utility Classes, he explains the use of channels within the NIO paradigm.

Chapter 4 covers Selectors. Selectors add another completely new ability to Java 1.4. With selectors Java now has a much more sophisticated and integrated ability to do asynchronous and multiplexed I/O. This is obviously very important to anyone dealing with real-time and/or high-demand I/O and it is one of the main reasons for JSR 51.

Again, the book does a very good job of explaining the concept and use of Selectors in chapter sections entitled: The Selection Process, Stopping the Selection Process, Managing Selection Keys, Concurrency, Asynchronous Closability and Selection Scaling.

Chapter 5 introduces and explains the use of the new java.util.regex package. Regular expression processing was part of the JSR 51 and thus part of this book. While not strictly I/O related, as anyone who's used Perl can attest, regular expression processing is very useful when it comes to manipulating any textual data that one uses in I/O.

It should be noted that while the book covers the Java Regular Expression API very well, it's not sufficient to introduce someone to the many intricacies of regular expressions. Of course O'Reilly has that covered in Jeffrey Friedl's book, "Mastering Regular Expressions."

In the last chapter, Chapter 6, "Character Sets", the book presents a pretty close examination of the actual data moved in I/O and how it is abstracted in Java 1.4 in the class Charset. If you've ever wondered about character sets are involved in character encoding or how one character set might be compared with or encoded into another, this chapter will go a long way toward filling you in.

The book concludes with three appendices:

* NIO and the JNI - A more detailed explanation of a new Java ability to use system memory allocated with native (JNI) code. This is one way they managed to improve the performance of Java real-time 3D applications so dramatically.

* Selectable Channels Service Provider Interface (SPI) - Basically explains why this API is beyond the scope of the book and why it wouldn't be useful to anyone not programming a JVM or high-performance App server.

* NIO Quick Reference - Just as the name implies.

In summation, the concepts range from basic to quite advanced yet are presented in such a way that, even while being explained, the information is understandable and can be accessed for reference purposes. The examples are simple yet useful in demonstrating the concepts and the implementation of them. The style is informative and complete yet very accessible and informal. Overall, a well written and useful book to anyone needing to know the usefulness and basic workings of the NIO packages.

Rating: 5 stars
Summary: A great read!
Review: Every once in a while, a truly outstanding book comes along, that is a must-read for everyone in a given field. This is such a book. Comprehensive yet concise, clear and engagingly written, this book belongs not just on the bookshelf, but in the hands, of EVERY Java programmer. Buy it, read it, and enjoy it.

Rating: 3 stars
Summary: Ok, but no great.
Review: I am not sure what else is out there? The book ok, but not really remarkable in any way.

Rating: 2 stars
Summary: OK for beginners
Review: I bought this book because of the lack of material on java.nio.
The book is a good introduction to java.nio but that is the extent of it. Half the book is an api reference and regular expressions (why is this even covered in this book?).
The rest tells you a little bit about the API, but not how to use it. There are examples, but you have to download them from the internet (ie no CD with the book).

The best chapter you can download for free anyway, so don't bother buying the book. Just download the free chapter and the free examples. The material on the internet from this book covers 90% of what you need to know.

Rating: 2 stars
Summary: academic details not for beginners
Review: If you have never used the Java NIO classes, especially selectors, this book may not be for you. It's more a reference than a tutorial. If you enjoy spending days reading the fine print of automobile leasing contracts you might enjoy reading this book.

Rating: 5 stars
Summary: A Great Book for NIO
Review: NIO is a great IO class, I think it's the best package presented by Sun since Swing, it provides you with more than what you need from NIO class in just 250 pages.


<< 1 2 >>

© 2004, ReviewFocus or its affiliates