ACCU Home page ACCU Conference Page
Search Contact us ACCU at Flickr ACCU at GitHib ACCU at Google+ ACCU at Facebook ACCU at Linked-in ACCU at Twitter Skip Navigation

Search in Book Reviews

The ACCU passes on review copies of computer books to its members for them to review. The result is a large, high quality collection of book reviews by programmers, for programmers. Currently there are 1918 reviews in the database and more every month.
Search is a simple string search in either book title or book author. The full text search is a search of the text of the review.
    View all alphabetically
Title:
Java Thread Programming
Author:
Paul Hyde
ISBN:
0 672 31585 8
Publisher:
Sams
Pages:
510pp
Price:
£25-50
Reviewer:
Christer Loefving
Subject:
java
Appeared in:
OL40
I believe Java still holds it's position as the only programming language where Thread safety is considered from its first designing phase. It is primary implemented through three methods in
Java.lang.Object; wait(), notify(),
and
notifyAll(),
inherited by all Java classes and by the Java.lang.Thread class, possible to instantiate almost everywhere in a Java program.

This fundamental feature in Java programming is something almost every 'Java-from-the-beginning'-book is dealing with. Often on several pages, ending up with a more or less useless example. This book is a good cure against this phenomenon. It begins with an overall talk about threads in Java, explaining how the virtual machine itself is governed by threads. Thus introducing concepts like thread priority in a self-evident way.

Not forgotten either are lesser-known thread-safety features like the var-modifier

volatile
. Often mentioned only by its name in Java books.

I sometimes complain about fragmentary code in books. This is a reversed situation. Every single code sample is a complete program (or class), after typing ready to compile and run! Fortunately this is well written Java code and also well formatted, so it is possible to get an overview already in the book. In fact the main part of the text is built around the lines in these code-samples. An approach which produces both advantages and drawbacks; reading becomes less theoretical, the text more comprehensive and technically exact, but on the other hand, it becomes not very suitable for a read-through from the first page to the last.

Thread-coding in Java can also be fun! (I never forget an 'old' example with laying hens :)) Here 'Animated Image Component' and 'Thread pooling' are the most 'enjoyable'.

Finally, there is not an enclosed CD with the source code. Some of the examples are pretty long and will take time to type by hand.

Apart from this drawback, you get a good tour through the land of Java threads by buying and reading this title.

A warning to beginners; you will only get gain from the first chapter as most of the book is aimed to the professional user level.