| ||||||||||||
![]() Trade In this Item for up to £7.85
Get an extra £5 when you trade in books worth £10 or more until June 30, 2012. Trade in Java Threads for an Amazon.co.uk gift card of up to £7.85, which you can then spend on millions of items across the site. Trade-in values may vary (terms apply). Find more products eligible for trade-in.
|
Product details
|
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 tradeoffs: some of the advanced features in other threading systems were not available in Java. J2SE 5.0 changes all that: 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 include:
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.
Suggested Tags from Similar Products(What's this?)Be the first one to add a relevant tag (keyword that's strongly related to this product)
|
If you are not planning to use Java 1.5 then an earlier version may be more useful as a large proportion of the text focuses on java 1.5. However as the Threading utilities are largely based on Doug Lea's Concurrency utilities which is freely downloadable you should be able to easily convert a large number of the examples to work with those.
Some people may be of the opinion that this is a boring topic (I disagree) and as a result you can't expect too much from the book. However the examples they chose are just dreadful. There are many more exciting things you can do with threads than display a random character on a swing ui.
If you are looking for a deeper coverage of the threading APIs this is a good book. If you expect practical examples and the authors to share their practical experience then you will probably be a bit dissapointed.
A section covering Threading issues within J2EE, on which most of us work, would be a welcome addition to this book.
The problem which most of the threading material related to Java I've read in other books has contained errors. "Java Threads" as well as Doug Lea's "Concurrent Programming in Java" are the only accurate books that I know of although their focus is very different. Another good thing about this book is that it has much otherwise hard to find information about how threads actually work in Java.
I highly recommend this book to anytone working with Java threads. I'm sure you will find information in here that you previously didn't know.
My only minor gripe would be that it may appear a little wordy if you are... Read more
|
|
|