Patent ID: 7996840

Claim:
A system for scheduling pattern-based Web services comprising: a plurality of service activation rules, each service activation rule specifying a trigger condition and a state condition for causing a watcher to invoke a particular Web service; a server configured to receive a request for more than one Web services; at least one servlet configured to extract a pattern object from the request and to format a response to the request; a common memory as a work area that temporarily stores the pattern object while the Web services specified by the pattern object execute, wherein said work area dynamically generates events when content of said work area is changed; a plurality of watchers, each watcher corresponding to a particular Web service; a scheduler configured to receive events from the work area, compare said service activation rules with trigger information of the events, identify service activation rules having trigger conditions and state conditions that match the received event and corresponding pattern object, and select at least one of said service activation rules causing an invocation of at least one of said watchers and corresponding Web services; and a termination watcher configured to be provisioned with one or more termination rules and to remove the pattern object from the work area if it is detected that the pattern object conforms one or more of the termination rules.