Patent ID: 7813331

Claim:
A computer program product comprising a computer readable medium having computer usable program code stored on a tangible medium and executable on a processor to perform operations for implementing failover in a polling adapter without support from an application server, the operations of the computer program product comprising: defining a group of two or more redundant servers forming a cluster, each server in electronic communication with an enterprise information system (EIS) via an associated polling adapter, the EIS comprising an event table for publishing event information and having access to a failover table shared by each adapter for determining which polling adapter is currently active and the time at which the currently active polling adapter last polled the event table; determining a priority level for each polling adapter in the group and marking the highest priority polling adapter as active in the failover table; polling the event table with the highest priority polling adapter in response to the highest priority polling adapter being marked as active; setting a last poll time in the failover table for the highest priority polling adapter each time the highest priority polling adapter completes a poll of the event table; marking a next highest priority polling adapter as active in the failover table and marking the highest priority polling adapter as inactive in response to the passage of a predetermined failover time since a last poll time of the highest priority polling adapter; and polling the event table with the next highest polling adapter and setting a last poll time in the failover table in response to the next highest priority polling adapter completing a poll of the event table.