All ITKnowledge Source Code Search Tips Advanced Search |

| Mastering Java Threads by Marc Adler and David Herst DDC Publishing, Inc. ISBN: 1562438425 Pub Date: 05/01/99

Search this book:

Previous | Table of Contents | Next

## Course Description

Welcome to Mastering Java Threads, a part of DDC Publishing’s Mastering Java series. This intermediate-level two-day Java course is designed to teach all thread facilities present in the Java JDK while discussing common thread patterns and strategies to avoid race conditions and deadlocks. This course illustrates the topics covered with extensive code examples and lab work (hands-on exercises).

This course justifies the need for threads in Java, illustrates many common situations where threads are helpful, and allows students to become comfortable with programming multithreaded Java applications.

This course illustrates common thread patterns with code examples. It also shows the tradeoffs of different design choices. Mastering Java Threads is intended for any programmer developing applications in Java.

### Prerequisites

  • DDC Publishing’s Mastering Java (5-day course)
  • Familiarity with the basic Java language and a rudimentary understanding of threads is helpful. An introduction to threads is included to fill the knowledge gaps of those not intimately familiar with the topic.

### Course Objectives

Upon completing this course, you will understand the following elements and characteristics of Java thread programming, via lecture material and hands-on exercises:

  • Single threaded applications
  • Threads and thread data space
  • Concurrent execution
  • Thread attributes
  • The Run method
  • The Thread class in C
  • Runnable, Not Runnable, Dead, and isAlive() states
  • Daemon threads
  • Priority values
  • The Scheduler
  • Time slicing
  • Starvation
  • ThreadGroups
  • ThreadGroup Naming
  • Enumerating Threads within a ThreadGroup
  • Operating on an Entire Group of Threads
  • Limiting Priorities
  • Java security and the checkAccess( ) method
  • Synchronization
  • Monitors
  • The scope of a lock
  • Object and class locks
  • Synchronized blocks
  • Synchronized blocks vs methods
  • The Wait() and Notify() methods
  • Deadlock

### Other Java Courses from DDC Publishing

  • Mastering Java (5-day introduction)
  • Transitioning C++ to Java
  • Mastering Java JDBC
  • Mastering Java Network Programming
  • Mastering Java JDK 1.1

### Legend

| Definition | A definition or clarification of a new term.
| Example | An illustration of the subject matter being reviewed.
| Java Note | Java-specific information or tips driven by the core learning objectives of the course.
| NetQuote | Quote by a famous or significant individual regarding the history or any other characteristic of the Internet. NetQuotes are sometimes enlightening or entertaining, but always provide perspective to the subject matter being reviewed.
| NetResult | In exercises, the result of specific actions taken. Most exercises have multiple NetResults.
| Note | Supplemental, but important, information regarding the subject matter being reviewed.
| Scenario | Typically preceding an exercise, Scenarios are examples that “set the stage” or provide a real-world context in which to analyze the subject matter being reviewed.
| TechTip | Technical supplement to the core course. TechTips are intended to expand your knowledge beyond the primary goals of this course.
| TriviaTip | Trivial information regarding the Internet. Similar to NetQuotes, TriviaTips lend substance, perspective, and background.
| Warning | Important—sometimes critical—information; unlike TriviaTips or NetQuotes, Warnings are not supplemental, but pertain directly to the subject matter being reviewed.

Previous | Table of Contents | Next

Copyright © DDC Publishing

Products | Contact Us | About Us | Privacy | Ad Info | Home Use of this site is subject to certain Terms & Conditions, Copyright © 1996-2000 EarthWeb Inc. All rights reserved. Reproduction in whole or in part in any form or medium without express written permission of EarthWeb is prohibited. Read EarthWeb's privacy statement.