Jump to ratings and reviews
Rate this book

Java Threads: Understanding and Mastering Concurrent Programming

Rate this book
Threads are essential to Java programming, but learning to use them effectively is a nontrivial task. This new edition of the classic "Java Threads" shows you how to take full advantage of Java's threading facilities and brings you up-to-date with the watershed changes in Java 2 Standard Edition version 5.0 (J2SE 5.0). It provides a thorough, step-by-step approach to threads programming.Java's threading system is simple relative to other threading systems. In earlier versions of Java, this simplicity came with some of the advanced features in other threading systems were not available in Java. J2SE 5.0 changes all it provides a large number of new thread-related classes that make the task of writing multithreaded programs that much easier.You'll learn where to use threads to increase efficiency, how to use them effectively, and how to avoid common mistakes. This book discusses problems like deadlock, race conditions, and starvation in detail, helping you to write code without hidden bugs."Java Threads," Third Edition, has been thoroughly expanded and revised. It incorporates the concurrency utilities from java.util.concurrent throughout. New chapters cover thread performance, using threads with Swing, threads and Collection classes, thread pools, and threads and I/O (traditional, new, and interrupted). Developers who cannot yet deploy J2SE 5.0 can use thread utilities provided in the Appendix to achieve similar functionality with earlier versions of Java.Topics Lock starvation and deadlock detection Atomic classes and minimal synchronization (J2SE 5.0) Interaction of Java threads with Swing, I/O, and Collection classes Programmatically controlled locks and condition variables (J2SE 5.0) Thread performance and security Thread pools (J2SE 5.0) Thread groups Platform-specific thread scheduling Task schedulers (J2SE 5.0) Parallelizing loops for multiprocessor machines In short, this new edition of "Java Threads" covers everything you need to know about threads, from the simplest animation program to the most complex applications. If you plan to do any serious work in Java, you will find this book invaluable.Scott Oaks is a senior software engineer for the Java Performance Engineering group at Sun Microsystems and the author of four books in the O'Reilly Java series. Formerly a senior systems engineer at Sun Microsystems, Henry Wong is an independent consultant working on various Java related projects.

362 pages, Kindle Edition

First published February 1, 1997

12 people are currently reading
138 people want to read

About the author

Scott Oaks

14 books10 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
16 (19%)
4 stars
26 (32%)
3 stars
30 (37%)
2 stars
8 (9%)
1 star
1 (1%)
Displaying 1 - 3 of 3 reviews
2,777 reviews41 followers
March 4, 2017
At the turn of the century I was developing and teaching a series of contract training courses in Java for a local IT company. When they made the request for a course covering Java threads I needed a quick refresher in the subject. This is the book that I used.
The content is as much a primer on threads (multitasking) than it is an in-depth explanation of how threads are implemented in the Java programming language. There is no large project, while working code is included, it is generally in the form of short snippets. There are only two or three instances where the code example is more than two pages long and there is a great deal of internal whitespace.
Topics covered include controlling, scheduling, creating, activating and deleting Java threads. While this book is of course very dated regarding the specifics, it still has value as an introduction to this critical and increasingly important coding technique.
45 reviews2 followers
May 15, 2015
good book,for basic and advanced aspect have been explained through some theory and example,
i think you should read not only once,and if you have some question,you come back and find the answer in the book
76 reviews1 follower
Read
January 31, 2016
Not as deep as Concurrency in Practice, but at the time the only book available on the topic: was enough at the time, but would not take you very far today.
Displaying 1 - 3 of 3 reviews

Can't find what you're looking for?

Get help and learn more about the design.