IBM WebSphere Adapters Network Card User Manual


 
EIS applications. Depending on the underlying EIS, the business events an adapter
generates may span the set of changes that have occurred to a given entity in the
EIS, such a customer changing the quantity in their order from 10 to 100, to a
complete document or binary payload such as an insurance claim form submitted
in XML.
Although each EIS application is unique, most adapters implement inbound
event-notification in similar ways:
1. Create an event store in the target EIS to persist changes or other relevant event
data that is published by the adapter.
2. Implement an event detection mechanism in the EIS. This mechanism is
responsible for detecting any changes of interest (to the adapter) in the EIS and
recording them in the event store.
3. Implement an event retrieval mechanism in the adapter that can detect and
retrieve events from the event store described in (1) above.
4. Implement a data transformation mechanism in the adapter to convert EIS
events to WebSphere business objects for use by target business processes.
Inbound event notification
Using the IBM WebSphere Foundation Classes for inbound event
notification
Although not required, use of the IBM WebSphere Foundation Classes is strongly
recommended for adapters that need to provide event notification.
Using the Foundation Classes can dramatically simplify the often complicated
implementation of event retrieval and publication. The Foundation Classes can
automatically track endpoints (the consumers of events) for the adapter, control the
polling for and delivery of events, handle recovery of events if the adapter
unexpectedly terminates, and assure once-and-only-once event delivery. This
allows developers to provide greater quality of service (QoS) in less time and also
ensure that behavior across adapters is consistent.
In order to employ the Foundation Classes for event-notification, the adapter and
EIS application must meet requirements described in the following sections.
80 WebSphere Adapters: WebSphere Adapter Toolkit User Guide