J2EEOnline J2EE 






Java Concepts  «Prev  Next»
Lesson 6A town hall meeting
ObjectiveCreate a Thread subclass.

Describe how the town hall application implements its threads.

While simple examples can help you see the bones of the idea, we'll look at a more involved example by checking out what occurs in a town hall meeting.
Surely there are town hall meetings in your own town, no matter how big or small. There are always issues to discuss. If you've never been to one, you're about to experience such a meeting in all its glory.
Required reading for this course.
Over the next few pages, we will look at various elements of this town hall program, including:
  1. The participants in this town hall meeting
  2. How everyone gets heard without trampling on each other's speech

You will find that this town hall application illustrates a number of tasks, including how to create threads, how to coordinate between threads, and how to wait for events to occur.