or
Sign in to turn on 1-Click ordering.
or
Amazon Prime free trial required. Sign up when you check out. Learn more
More Buying Choices
Have one to sell? Sell yours here
or
Get a £7.85 Amazon.co.uk Gift Card
Java Threads
 
 
Tell the Publisher!
I’d like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Java Threads [Paperback]

Scott Oaks , Henry Wong
4.4 out of 5 stars  See all reviews (7 customer reviews)
RRP: £30.99
Price: £26.34 & this item Delivered FREE in the UK with Super Saver Delivery. See details and conditions
You Save: £4.65 (15%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In stock.
Dispatched from and sold by Amazon.co.uk. Gift-wrap available.
Only 2 left in stock--order soon (more on the way).
Want guaranteed delivery by Thursday, May 31? Choose Express delivery at checkout. See Details

Formats

Amazon Price New from Used from
Paperback £26.34  
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.

Frequently Bought Together

Java Threads + Java Network Programming + Java-NIO
Price For All Three: £66.62

Show availability and delivery details

Buy the selected items together
  • In stock.
    Dispatched from and sold by Amazon.co.uk.
    This item Delivered FREE in the UK with Super Saver Delivery. See details and conditions

  • Java Network Programming £20.14

    In stock.
    Dispatched from and sold by Amazon.co.uk.
    This item Delivered FREE in the UK with Super Saver Delivery. See details and conditions

  • Java-NIO £20.14

    In stock.
    Dispatched from and sold by Amazon.co.uk.
    This item Delivered FREE in the UK with Super Saver Delivery. See details and conditions


Customers Who Bought This Item Also Bought


Product details

  • Paperback: 362 pages
  • Publisher: O'Reilly Media; 3 edition (17 Sep 2004)
  • Language English
  • ISBN-10: 0596007825
  • ISBN-13: 978-0596007829
  • Product Dimensions: 24.1 x 17.2 x 1.9 cm
  • Average Customer Review: 4.4 out of 5 stars  See all reviews (7 customer reviews)
  • Amazon Bestsellers Rank: 251,099 in Books (See Top 100 in Books)
  • See Complete Table of Contents

More About the Author

Scott Oaks
Discover books, learn about writers, and more.

Visit Amazon's Scott Oaks Page

Product Description

Review

If you are a Java programmer and you are thinking of using threads to make your work more responsive or even faster given todays symmetric multiprocessing hardware, then this is an excellent book. It probably isnt academic enough for use in formal education but as a practical guide to how not to do things, and hopefully how to do things better, it is excellent. - Harry Fairhead, VSJ, May 2005

Product Description

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:

  • 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.


Inside This Book (Learn More)
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index | Back Cover
Search inside this book:

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)
 
(7)
(2)

Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

What Other Items Do Customers Buy After Viewing This Item?


Customer Reviews

3 star
0
2 star
0
1 star
0
Most Helpful Customer Reviews
6 of 6 people found the following review helpful
Format:Paperback
This review refers to the 3rd edition which covers Java 1.5

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.

Comment | 
Was this review helpful to you?
5 of 5 people found the following review helpful
By A Customer
Format:Paperback
It not only covers the threads API, it also covers how they work and advanced tricks to using them.

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.

Comment | 
Was this review helpful to you?
2 of 2 people found the following review helpful
By A Customer
Format:Paperback
A great book for people wanting to learn the fundamentals of Java threads. I've not found a more thorough explanation of threads in any other Java textbook! The examples clearly need some thinking through and detailed analysis but ultimately, this book is very rewarding if you can read it cover to cover. It definitely lives up to the O'Reilly series!
Comment | 
Was this review helpful to you?

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   


Listmania!


Look for similar items by category


Look for similar items by subject


Feedback


Amazon.co.uk Privacy Statement Amazon.co.uk Delivery Information Amazon.co.uk Returns & Exchanges