Jump to ratings and reviews
Rate this book

Harnessing Java 7

Rate this book
This is the second of three volumes of the Harnessing Java(TM) 7 book. It provides a comprehensive approach to learning the Java programming language to all levels of Java developers. It covers the essential topics of the Java programming language such as Inner Classes, Threads, I/O, Collections, etc. Each topic in the book starts with the topic’s background discussion. A step-by-step process with small snippets of Java code provides easy to follow instructions. At the end of a topic, a complete and ready-to-run Java program is provided.

This volume contains 50 diagrams to help programmers visualize and better understand the topics. More than 290 complete programs included in this volume help the readers practice and learn the topics faster.

The chapter on Threads discusses everything from the very basic concepts of a thread to the most advanced topics such as synchronizers, executor framework, fork/join framework, atomic variables, etc.

This volume contains an unmatched coverage of Java I/O. It devotes four chapters on the topic of Java I/O. NIO 2.0, which is a Java 7 feature, has been covered in detail in a separate chapter. Besides other topics of NIO 2.0, the Path API, the FileVisitor API, the watch service and asynchronous file I/O of NIO 2.0 have in-depth coverage. It contains at least one complete Java program on every NIO 2.0 topic discussed in this volume.


The following topics are covered in this volume.

Interfaces
Annotations
Inner Classes
Enum
Reflection
Generics
Threads
Input/Output
Archive Files
NIO
NIO 2.0
Collections


It covers the following new features of Java(TM) 7 in detail.

Generic Type Inference
Heap Pollution
Improved Compiler Warnings & Errors for Non-Reifiable Varargs Parameters
Improved File and Channel Closing Mechanism Using a try-with-resources Statement
New Input/Output 2.0 (NIO 2.0)
Fork/Join Framework
Phaser Synchronizer
TransferQueue Collection

627 pages, Kindle Edition

First published January 7, 2012

2 people are currently reading
8 people want to read

About the author

Kishori Sharan

31 books4 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
2 (100%)
4 stars
0 (0%)
3 stars
0 (0%)
2 stars
0 (0%)
1 star
0 (0%)
No one has reviewed this book yet.

Can't find what you're looking for?

Get help and learn more about the design.