Java Threads: Understanding and Mastering Concurrent Programming

3.48 avg rating
( 52 ratings by Goodreads )
 
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.

Top Search Results from the AbeBooks Marketplace

1.

Henry Wong, Scott Oaks
Published by O'Reilly Media (2004)
ISBN 10: 0596007825 ISBN 13: 9780596007829
New Paperback Quantity Available: 1
Seller:
pickabook
(San francisco, CA, U.S.A.)
Rating
[?]

Book Description O'Reilly Media, 2004. Paperback. Condition: New. Seller Inventory # mon0000168865

More information about this seller | Contact this seller

Buy New
US$ 18.99
Convert Currency

Add to Basket

Shipping: US$ 3.99
Within U.S.A.
Destination, Rates & Speeds

2.

Scott Oaks , Henry Wong
ISBN 10: 0596007825 ISBN 13: 9780596007829
New Paperback Quantity Available: 5
International Edition
Seller:
PRIORITY BOOKS
(Springfield, VA, U.S.A.)
Rating
[?]

Book Description Paperback. Condition: New. Softcover Book, New Condition, Fast Shipping. Ready in Stock. 3rd Edition. [Please Read Carefully Before Buying], This Is An International Edition. Printed In Black and White. 362 Pages, Book Cover And ISBN No May Be Different From US Edition. Restricted Sales Disclaimer Wordings Not For Sales In USA And Canada May Be Printed On The Cover Of The Book. Standard Shipping 7-14 Business Days. Expedited Shiping 4-8 Business Days. ***WE DO NOT ENTERTAIN BULK ORDERS.*** The Books May Be Ship From Overseas For Inventory Purpose. Seller Inventory # 513607

More information about this seller | Contact this seller

Buy New
US$ 19.60
Convert Currency

Add to Basket

Shipping: US$ 3.99
Within U.S.A.
Destination, Rates & Speeds

3.

Scott Oaks , Henry Wong
ISBN 10: 0596007825 ISBN 13: 9780596007829
New Paperback Quantity Available: 5
International Edition
Seller:
Nick Book House
(Fresno, CA, U.S.A.)
Rating
[?]

Book Description Paperback. Condition: New. New, Softcover International Edition, Printed in Black and White, Different ISBN, Same Content As US edition, Book Cover may be Different, in English Language. Seller Inventory # 32768

More information about this seller | Contact this seller

Buy New
US$ 19.70
Convert Currency

Add to Basket

Shipping: US$ 3.99
Within U.S.A.
Destination, Rates & Speeds

4.

Oaks, Scott; Wong, Henry
Published by O'Reilly Media
ISBN 10: 0596007825 ISBN 13: 9780596007829
New PAPERBACK Quantity Available: > 20
Seller:
Mediaoutlet12345
(Springfield, VA, U.S.A.)
Rating
[?]

Book Description O'Reilly Media. PAPERBACK. Condition: New. 0596007825 *BRAND NEW* Ships Same Day or Next!. Seller Inventory # SWATI2132915818

More information about this seller | Contact this seller

Buy New
US$ 22.02
Convert Currency

Add to Basket

Shipping: US$ 3.99
Within U.S.A.
Destination, Rates & Speeds

5.

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

Book Description O'Reilly Media 9/20/2004, 2004. Paperback or Softback. Condition: New. Java Threads. Book. Seller Inventory # BBS-9780596007829

More information about this seller | Contact this seller

Buy New
US$ 30.07
Convert Currency

Add to Basket

Shipping: FREE
Within U.S.A.
Destination, Rates & Speeds

6.

Oaks, Scott; Wong, Henry
Published by O'Reilly Media
ISBN 10: 0596007825 ISBN 13: 9780596007829
New PAPERBACK Quantity Available: 15
Seller:
Lakeside Books
(Benton Harbor, MI, U.S.A.)
Rating
[?]

Book Description O'Reilly Media. PAPERBACK. Condition: New. 0596007825 BRAND NEW, GIFT QUALITY! NOT OVERSTOCKS OR MARKED UP REMAINDERS! DIRECT FROM THE PUBLISHER!|1.25. Seller Inventory # OTF-S-9780596007829

More information about this seller | Contact this seller

Buy New
US$ 26.64
Convert Currency

Add to Basket

Shipping: US$ 3.99
Within U.S.A.
Destination, Rates & Speeds

7.

Scott Oaks
Published by O'Reilly Media (2018)
ISBN 10: 0596007825 ISBN 13: 9780596007829
New Paperback Quantity Available: > 20
Print on Demand
Seller:
Murray Media
(North Miami Beach, FL, U.S.A.)
Rating
[?]

Book Description O'Reilly Media, 2018. Paperback. Condition: New. Never used! This item is printed on demand. Seller Inventory # 0596007825

More information about this seller | Contact this seller

Buy New
US$ 28.96
Convert Currency

Add to Basket

Shipping: US$ 1.99
Within U.S.A.
Destination, Rates & Speeds

8.

Scott Oaks, Henry Wong
Published by O Reilly Media, Inc, USA, United States (2004)
ISBN 10: 0596007825 ISBN 13: 9780596007829
New Paperback Quantity Available: 1
Seller:
Book Depository International
(London, United Kingdom)
Rating
[?]

Book Description O Reilly Media, Inc, USA, United States, 2004. Paperback. Condition: New. 3rd Revised edition. Language: English . Brand New 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 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. Seller Inventory # AAH9780596007829

More information about this seller | Contact this seller

Buy New
US$ 32.99
Convert Currency

Add to Basket

Shipping: FREE
From United Kingdom to U.S.A.
Destination, Rates & Speeds

9.

Scott Oaks; Henry Wong
Published by O'Reilly Media (2004)
ISBN 10: 0596007825 ISBN 13: 9780596007829
New Softcover Quantity Available: 1
Seller:
Irish Booksellers
(Portland, ME, U.S.A.)
Rating
[?]

Book Description O'Reilly Media, 2004. Condition: New. book. Seller Inventory # M0596007825

More information about this seller | Contact this seller

Buy New
US$ 33.32
Convert Currency

Add to Basket

Shipping: FREE
Within U.S.A.
Destination, Rates & Speeds

10.

Scott Oaks, Henry Wong
Published by O Reilly Media, Inc, USA, United States (2004)
ISBN 10: 0596007825 ISBN 13: 9780596007829
New Paperback Quantity Available: 1
Seller:
The Book Depository
(London, United Kingdom)
Rating
[?]

Book Description O Reilly Media, Inc, USA, United States, 2004. Paperback. Condition: New. 3rd Revised edition. Language: English . Brand New 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 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. Seller Inventory # AAH9780596007829

More information about this seller | Contact this seller

Buy New
US$ 34.00
Convert Currency

Add to Basket

Shipping: FREE
From United Kingdom to U.S.A.
Destination, Rates & Speeds

There are more copies of this book

View all search results for this book