Java Thread 2nd Edition O'REILLY
Java Threads, Second Edition
Description :
Revised and expanded to cover Java 2, Java Threads 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. It thoroughly covers the Thread and ThreadGroup classes, the Runnable interface, and the language's synchronized operator. The book pays special attention to threading issues with Swing, as well as problems like deadlock, race condition, and starvation to help you write code without hidden bugs.
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 new edition 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. Java Threads discusses problems like deadlock, race condition, and starvation in detail, helping you to write code without hidden bugs. It brings you up to date with the latest changes in the thread interface for JDK 1.2. The book offers a thorough discussion of the Thread and ThreadGroup classes, the Runnable interface, the language's synchronized operator. It explains thread scheduling ends by developing a CPUSchedule class, showing you how to implement your own scheduling policy. In addition, Java Threads shows you how to extend Java's thread primitives. Other extended examples include classes that implement reader/writer locks, general locks, locks at arbitrary scope, and asynchronous I/O. This edition also adds extensive examples on thread pools, advanced synchronization technique, like condition variables, barriers, and daemon locks. It shows how to work with classes that are not thread safe, and pays special attention to threading issues with Swing. A new chapter shows you how to write parallel code for multiprocessor machines. 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 2.
Media reviews
"If you are new to Java programming and have yet to conquer threads, Java Threads is an excellent resource. You'll get a look into the basics of Java threading, and learn the techniques necessary to get your programs to function properly in a multithreaded world. Five stars" --John Zukowski, Java World, 03/2001
"This is a good book, and certainly, if you're using threads in Java non-trivially then you should have this book. Otherwise, borrow a copy and read the first half to make yourself aware of the threading issues in Java. Even better, think how your code affects others; the section on mixing threads with thread unsafe classes should make you aware of the wider issues surrounding your code, and hopefully, you'll produce well behaved classes that will be easily multi- threaded if the need arises? Do you use the collections? Think hard..."1999 --Steve Cornish, C Vu, September 1999
"A very useful well-written reference suitable for Java systems developers and as a second level text for students on computing science and IT oriented courses. Highly recommended!" --Brian Bamer, C Vu January 1998
January 1999
Pages: 336
ISBN 10: 1-56592-418-5 | ISBN 13: 9781565924185
Java™ Extreme Programming Cookbook
Brimming with over 100 "recipes" for getting down to business and actually doing XP, the Java Extreme Programming. Cookbook doesn't try to "sell" you on XP; it succinctly documents the most important features of popular open source tools for XP in Java-- including Ant, Junit, HttpUnit, Cactus, Tomcat, XDoclet-- and then digs right in,
providing recipes for implementing the tools in real-world environments.
Java™ Extreme Programming Cookbook
By Eric M. Burke, Brian M. Coyner
Publisher : O'Reilly
Pub Date : March 2003
ISBN : 0-596-00387-0
Pages : 288
Click here to download
Java How to Program (4th Edition) - Dietel

An introduction to the Java 2 Platform, Standard edition, using the author's LIVE-CODE training methods. Covers data structures/collections, exceptions, multithreading, files, streams, serialization, and more. Provides screen captures and Internet resources
The authoritative DEITEL™ LIVE-CODE™ introduction to programming with the Java™ 2 Platform, Standard Edition (J2SE)
Java™ has revolutionized software development with multimedia-intensive, platform-independent, object-oriented code for conventional, Internet-, Intranet- and Extranet-based applications and applets. This exciting new Fourth Edition of the world's best-selling Java textbook now has a companion volume—Advanced Java 2 Platform How to Program—which focuses on the Java 2 Platform, Enterprise Edition (J2EE), presents advanced J2SE features and introduces the Java 2 Platform, Micro Edition (J2ME).
Dr. Harvey M. Deitel and Paul J. Deitel are the founders of Deitel & Associates, Inc., the internationally recognized corporate training and content-creation organization specializing in Java, C++, C, Visual C#™, Visual Basic®, Visual C++®, .NET, XML™, Python, Perl, Internet, Web and object technologies. The Deitels are also the authors of the world's #1 C++ textbook—C++ How to Program, 3/e—and many other best sellers.
In Java How to Program, Fourth Edition the Deitels introduce the fundamentals of object-oriented programming in Java. The 4th edition includes an optional 180-page case study that introduces object-oriented design with the UML.
Product Details
- Paperback: 1546 pages
- Publisher: Prentice Hall; 4 edition (August 8, 2001)
- Language: English
- ISBN-10: 0130341517
- ISBN-13: 978-0130341518
- Product Dimensions: 8.8 x 7.2 x 1.6 inches
- Shipping Weight: 4.2 pounds
The Complete Reference Java 2
By Herb Schildt

Java 2: The Complete Reference blends the expertise found in Java 1: The
Complete Reference with Java 2 topics such as "servlets" and "Swing." As
before, there's help with Java Beans and migrating from C++ to Java. A
special chapter gives networking basics and breaks out networking-related
classes. This book helps you master techniques by doing as well as reading.
Projects include a multi-player word game with attention paid to network
security. The book is updated where appropriate throughout, and the rhythm
of text, code, tables, and illustrations is superb. It's a valuable resource for the
developer who is elbow-deep in demanding projects.
Product Details
- Paperback: 1077 pages
- Publisher: Osborne/McGraw-Hill; 4th edition (December 12, 2000)
- Language: English
- ISBN-10: 0072130849
- ISBN-13: 978-0072130843
- Product Dimensions: 9 x 7.4 x 2.1 inches
- Shipping Weight: 4.3 pounds