Java Thread Programming (Sams White Book)

Java Thread Programming (Sams White Book)
Authors
Paul Hyde
ISBN
0672315858
Published
30 Aug 1999
Purchase online
amazon.com

Java Thread Programming shows you how to take full advantage of Java's thread facilities: when to use threads to increase your program's efficiency, how to use them effectively, and how to avoid common mistakes. There is thorough coverage of the Thread API, ThreadGroup classes, the Runnable interface, and the synchronized operator. Extensive, complete, code examples show programmers the details of creating and managing threads in real-world applications.

Page 2 of 2
  1. Editorial Reviews
  2. Customer Reviews

Customer Reviews

Ray Malus said
It's amazing how much is assumed in most after-market Java books! I can't estimate how often I've seen, "It is assumed you know about Threaded Programming, and therefore it is not covered here." Well, good news, It IS covered here. And is is covered well.
As a professional programmer for 20 years, I can attest to the fact that Thread programming is the most schizophrenic of disciplines. In addition, since most legacy thread concepts come from 'procedural' languages, the Java implementation tends to be hard to hold on to.
I found this book to be a wonderful 'primer' into Java's Thread capabilities. It doesn't attempt to relate to older languages. It starts from the begining, and presents its subject clearly. It's a good learning tool, and is organized well enough to be a reliable refference.
Even if you have experience with threading, this is worth it to orient your head to Java Threading.

Padmavathy Malligarjunan said
If you find Doug Lea's "Concurrent Programming in Java" too daunting, this is the book you should have read first. The examples were easy to follow, and were to the point -that is, you will only learn how to work with the Thread API, and there is not much talk about design patterns. The diagrams in the book were very handy to follow Hyde's explanation. I enjoyed reading this book.. I recommend this book for every beginner in java programming.

Joy Mookerji said
This is a good book to learn Thread fundamentals and how to use thread in Real Life. The code examples uses a lot of AWT thats why the 4 stars I would have been a little bit happier if it used something else.
Any way a good purchase for learning Thread I brushed up my knowledge on Thread before sitting for the SCJP

Riccardo Audano said
Very straightforward and gentle introduction to the Java threading mechanics.It features basic theory and examples for about 3/4 of the book with the rest of the pages dedicated to a few useful techniques to ease and streamline threads programming, which you can use in you applications or as inspiration and examples for your own devices. My only complaint is the presentation method: a bunch of code followed by a bunch of explanations. I think presenting the more relevant lines of code interleaved with explanations and then the whole example program would make learning much more effective and easy. This book is also starting to show its age, so until a second edition comes out I would recommend the O'Reilly book over this one, unless you can get it real cheap.

BH said
This is a particularly easy to understand book on Java threads. If you are new to Java or to threading then don't hesitate to buy this book. The topics are clearly explained and in a logical order. The examples are small enough that they are easy to understand, but big enough to get the point across. And they work! Mr. Hyde has clearly gone to a great amount of trouble to make his presentation clear and simple to digest. As examples the diagrams he presents for explaining a deadlock and the timing of events in a wait/notify sequence make what is going on very clear.

If you are an experienced thread programmer looking for the finer points of threading, this book might not be the best. It does not go into the level of detail that some other books do, for example Holub's book "Taming Java Threads". On the other hand, these books are not the best for beginners.

You might also like...

Comments

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“An expert is a man who has made all the mistakes that can be made in a very narrow field” - Niels Bohr