Chapter 14: Concurrent Programming Using Java Threads

Note: this page applies to the now-obsolete first edition of the book. For the second edition, please see http://www.corewebprogramming.com.


This chapter of Core Web Programming (pages 748-793) shows how to use multi-threading in Java. Covers the two basic threading mechanisms, race conditions, synchronization, the Thread and ThreadGroup API, and various approaches to multi-threaded graphics.

Pure 1.1 Version: In order to support Netscape 2, Netscape 3, the standard (unpatched) version of Netscape 4.01-4.05, and Internet Explorer 3, several examples use Java 1.02 AWT methods. If you are not interested in supporting these browsers, a pure 1.1 version is available separately.


Java Classes in this Chapter