Taming Java Threads

Taming Java Threads

5.0 1
by Allen Holub, Allen Hollub
     
 

Learning how to write multithreaded applications is the key to taking full advantage of the Java platform. In Taming Java Threads, well-known columnist and Java expert Allen Holub provides Java programmers with the information they need to write real multithreaded programsprograms with real code. Holub provides an in-depth explanation of how

Overview

Learning how to write multithreaded applications is the key to taking full advantage of the Java platform. In Taming Java Threads, well-known columnist and Java expert Allen Holub provides Java programmers with the information they need to write real multithreaded programsprograms with real code. Holub provides an in-depth explanation of how threads work along with information about how to solve common problems such as deadlocks and race conditions. He not only explains common problems, but also provides the uncommon solutions that mark the difference between production-level code and toy demos.

While it is essential to build support for threading into a Java program from the very beginning, most books on the subjects of Java user interfaceconstruction and Java networking barely touch on threading topics. Along with being a basic Java reference, this book is a must-read for any Java developer.

What you’ll learn

  • The architecture of threads
  • The mutex and lock management
  • Condition variables and counting semaphores
  • Timers, alarms and swing thread safety
  • Observers and multicasters
  • Singletons, critical sessions, and reader/writer locks
  • Threads in an object-oriented world
  • Object-oriented threading architectures

Who this book is for

All Java developers.

Product Details

ISBN-13:
9781893115101
Publisher:
Apress
Publication date:
06/01/2000
Edition description:
2000
Pages:
300
Product dimensions:
7.52(w) x 9.25(h) x 0.03(d)

Meet the Author

Allen Holub is a design consultant, programmer, educator, and author specializing in object-oriented design, Java, C++, and systems programming. He is a contributing editor for JavaWorld, and a popular columnist appearing in many computer magazines, including Dr. Dobb's Journal and Microsoft Systems Journal.

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >

Taming Java Threads 5 out of 5 based on 0 ratings. 1 reviews.
Guest More than 1 year ago
¿Taming Java Thread¿ by Allen Holub covers all different facets of Java thread programming which are important for users. Topics discussed on 300 pages include architecture and details of multithreaded programming, mutex, conditional variables, threads in specials areas like singletons and Java UI programming. The in-depth discussion assumes good knowledge of Java and Java threads. Thus this experts` book does not waste chapters with repeating well-known basics or the common API, it starts directly with high-end excellent details. Where other resources end this book starts. You directly see that the author is an expert with fundamental practical knowledge not only in Java but also in C++. This knowledge is not restricted to basic usage, he also knows and gives hints to platform specific behaviour. Another advantage of this book is the excellent Java Swing discussion containing Timers, Alarms, Swing Thread Safety, Obeservers and Multicasters. Finally Allen exposures design-flaws and critical issues in the Java multithreading archtitecture. He does not only point them out, he also gives great solutions how he would fix them. This genial book was published 2000. Although it is five years old it is still state-of-the-art and I did not find a comparable book. Meanwhile many enhancements Allen provides are included in the Java 2 Standard Edition Version 5. If you directly use the concurrent packages of the Java Tiger release you profit from well designed abstractions saving you a lot of time and work. It is still very interesting to know the basics and backgrounds of the thread architecture and details. Especially for a UI developer the dedicated chapters are fantastic. The only point which is a little bit strange for me is that Allen does not use the well-known and commonly accepted Java syntax: in his code examples he choses underscores to separate_the_different_sub_strings and notTheCommonlyUsedCamelNotation (he explains why he did so). New books and articles of Allen do use the camel notation. I really hope the author writes a second edition discussing new thread functionality in Java Tiger or even other black holes which are undiscovered by the mainstream books. The book published by the wonderful publisher Apress is an absolutely must-have!