Java Threads: Understanding and Mastering Concurrent Programming - Softcover

9780596007829: Java Threads: Understanding and Mastering Concurrent Programming
View all copies of this ISBN edition:
 
 

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.

"synopsis" may belong to another edition of this title.

Review:
Building sophisticated Java applets means learning about threading--if you need to read data from a network, for example, you can't afford to let a delay in its delivery lock up your entire applet. Java Threads introduces the Java threading API and uses non-computing analogies--such as scenarios involving bank tellers--to explain the need for synchronization and the dangers of deadlock. Scott Oaks and Henry Wong follow up their high-level examples with more detailed discussions on building a thread scheduler in Java, dealing with advanced synchronization issues, and handling exceptions.
From the Publisher:
Threads aren't a new idea: many operating systems and languages support them. But despite widespread support, threads tend to be something that everyone talks about, but few use. Programming with threads has a reputation for being tricky and nonportable. Not so with Java. Java's thread facilities are easy to use, and -- like everything else in Java -- are completely portable between platforms. And that's a good thing, because it's impossible to write anything but the simplest applet without encountering threads. If you want to work with Java, you have to learn about threads. This book shows you how to take full advantage of Java's thread facilities: where to use threads to increase efficiency, how to use them effectively, and how to avoid common mistakes. There is thorough coverage of the Thread and ThreadGroup classes, the Runnable interface, and the language's synchronized operator. Java Threads discusses problems like deadlock, race condition, and starvation in detail, helping you to write code without hidden bugs. In addition, Java Threads shows you how to extend Java's thread primitives. A thorough discussion of thread scheduling ends by developing a CPUSchedule class that shows you how to implement your own scheduling policy. Other extended examples include classes that implement reader/writer locks, general locks, locks at arbitrary scope, and asynchronous I/O. In short, Java Threads covers everything you need to know about threads, from the simplest animation applet to the most complex applications. If you plan to do any serious work in Java, you will find this book invaluable. Examples available online. Covers Java 1.1.

"About this title" may belong to another edition of this title.

  • PublisherO'Reilly Media
  • Publication date2004
  • ISBN 10 0596007825
  • ISBN 13 9780596007829
  • BindingPaperback
  • Edition number3
  • Number of pages358
  • Rating

Top Search Results from the AbeBooks Marketplace

Stock Image

Scott Oaks; Henry Wong
Published by O'Reilly Media (2004)
ISBN 10: 0596007825 ISBN 13: 9780596007829
New Paperback Quantity: 1
Seller:
GoldenWavesOfBooks
(Fayetteville, TX, U.S.A.)

Book Description Paperback. Condition: new. New. Fast Shipping and good customer service. Seller Inventory # Holz_New_0596007825

More information about this seller | Contact seller

Buy New
US$ 20.18
Convert currency

Add to Basket

Shipping: US$ 4.00
Within U.S.A.
Destination, rates & speeds
Stock Image

Scott Oaks; Henry Wong
Published by O'Reilly Media (2004)
ISBN 10: 0596007825 ISBN 13: 9780596007829
New Paperback Quantity: 1
Seller:
GoldBooks
(Denver, CO, U.S.A.)

Book Description Paperback. Condition: new. New Copy. Customer Service Guaranteed. Seller Inventory # think0596007825

More information about this seller | Contact seller

Buy New
US$ 21.41
Convert currency

Add to Basket

Shipping: US$ 4.25
Within U.S.A.
Destination, rates & speeds
Stock Image

Scott Oaks; Henry Wong
Published by O'Reilly Media (2004)
ISBN 10: 0596007825 ISBN 13: 9780596007829
New Softcover Quantity: 1
Seller:
Front Cover Books
(Denver, CO, U.S.A.)

Book Description Condition: new. Seller Inventory # FrontCover0596007825

More information about this seller | Contact seller

Buy New
US$ 21.36
Convert currency

Add to Basket

Shipping: US$ 4.30
Within U.S.A.
Destination, rates & speeds
Seller Image

Scott Oaks", "Henry Wong"
Published by O'Reilly Media (2004)
ISBN 10: 0596007825 ISBN 13: 9780596007829
New Soft Cover Quantity: 1
Seller:
booksXpress
(Bayonne, NJ, U.S.A.)

Book Description Soft Cover. Condition: new. Seller Inventory # 9780596007829

More information about this seller | Contact seller

Buy New
US$ 28.23
Convert currency

Add to Basket

Shipping: FREE
Within U.S.A.
Destination, rates & speeds
Seller Image

Oaks, Scott
Published by O'Reilly Media 9/20/2004 (2004)
ISBN 10: 0596007825 ISBN 13: 9780596007829
New Paperback or Softback Quantity: 5
Seller:
BargainBookStores
(Grand Rapids, MI, U.S.A.)

Book Description Paperback or Softback. Condition: New. Java Threads 1.25. Book. Seller Inventory # BBS-9780596007829

More information about this seller | Contact seller

Buy New
US$ 30.44
Convert currency

Add to Basket

Shipping: FREE
Within U.S.A.
Destination, rates & speeds
Stock Image

Scott Oaks; Henry Wong
Published by O'Reilly Media (2004)
ISBN 10: 0596007825 ISBN 13: 9780596007829
New Softcover Quantity: > 20
Seller:
Lakeside Books
(Benton Harbor, MI, U.S.A.)

Book Description Condition: New. Brand New! Not Overstocks or Low Quality Book Club Editions! Direct From the Publisher! We're not a giant, faceless warehouse organization! We're a small town bookstore that loves books and loves it's customers! Buy from Lakeside Books!. Seller Inventory # OTF-S-9780596007829

More information about this seller | Contact seller

Buy New
US$ 26.51
Convert currency

Add to Basket

Shipping: US$ 3.99
Within U.S.A.
Destination, rates & speeds
Seller Image

Oaks, Scott; Wong, Henry
Published by O'Reilly Media (2004)
ISBN 10: 0596007825 ISBN 13: 9780596007829
New Softcover Quantity: 5
Seller:
GreatBookPrices
(Columbia, MD, U.S.A.)

Book Description Condition: New. Seller Inventory # 2521938-n

More information about this seller | Contact seller

Buy New
US$ 30.74
Convert currency

Add to Basket

Shipping: US$ 2.64
Within U.S.A.
Destination, rates & speeds
Stock Image

Scott Oaks
Published by O'Reilly Media (2004)
ISBN 10: 0596007825 ISBN 13: 9780596007829
New Paperback Quantity: 1
Seller:
Wizard Books
(Long Beach, CA, U.S.A.)

Book Description Paperback. Condition: new. New. Seller Inventory # Wizard0596007825

More information about this seller | Contact seller

Buy New
US$ 30.14
Convert currency

Add to Basket

Shipping: US$ 3.50
Within U.S.A.
Destination, rates & speeds
Stock Image

Scott Oaks; Henry Wong
Published by O'Reilly Media (2004)
ISBN 10: 0596007825 ISBN 13: 9780596007829
New Softcover Quantity: > 20
Seller:
Lucky's Textbooks
(Dallas, TX, U.S.A.)

Book Description Condition: New. Seller Inventory # ABLIING23Feb2416190070826

More information about this seller | Contact seller

Buy New
US$ 29.95
Convert currency

Add to Basket

Shipping: US$ 3.99
Within U.S.A.
Destination, rates & speeds
Stock Image

Scott Oaks; Henry Wong
Published by O'Reilly Media (2004)
ISBN 10: 0596007825 ISBN 13: 9780596007829
New Softcover Quantity: > 20
Seller:
California Books
(Miami, FL, U.S.A.)

Book Description Condition: New. Seller Inventory # I-9780596007829

More information about this seller | Contact seller

Buy New
US$ 37.00
Convert currency

Add to Basket

Shipping: FREE
Within U.S.A.
Destination, rates & speeds

There are more copies of this book

View all search results for this book