Tuesday, June 16, 2009

Implement an event handler in a business process

Component Implementation
 

Implement an event handler in a business process

Using event handlers

Event handlers are constructs that respond to external stimuli with an appropriate defined action.

In the Graphical User Interface environment, events usually signify that the user has made a demand on the system, and the application must respond to it appropriately. In such cases, a receive or pick activity can usually be used, but they have limitations. For example, they can only be used during normal execution of a process, and they can only be implemented once. This effectively means that you have to know ahead of time how many events to expect, and when to expect them.

Event handlers make a business process more dynamic by dealing with events that happen independently of, or asynchronously to the processing of the application. They can respond to events that happen at any time during an application's lifetime, or as many times as those events repeat.

Related links

 
 
 
 
 
 

No comments: