Chapter 6. Event System
A. Problem Background
The components of a CAB application sometimes need to announce asynchronous occurrences to each other. For example, the Smart Part that allows the user to select a customer might need to announce a new selection to any component that may be listening. ("Now hear this: whoever might be out there listening, the user has just selected the customer whose ID is X."). Other components in the CAB program might want to hear about that selection so that they can display their own business data keyed to the selected customer. ("Aha, customer X, eh? OK, let me fetch and display, in my own independent way, his current [mortgage, prescription, or whatever] records.")
Accomplishing this task would be simple if the ...