JavaBean Events   «Prev  Next»
Lesson 9 Event delivery
ObjectiveLearn how events are delivered.

JavaBeans Event Delivery

The event delivery process can be broken down into three basic steps:
  1. An event listener registers itself with an event source as wanting to receive event notifications by calling an event registration method.
  2. An event occurs within an event source.
  3. The event source notifies the event listener of the event by calling an event response method and passing an event object containing information about the event.
Event delivery is synchronous, which means that an event is guaranteed complete delivery without interruption.
In the next lesson, you learn about multicast and unicast event delivery.