Reactive behavioural adaptation of service compositions
Giancarlo Tretola, Eugenio Zimeo · Journal of Software Evolution and Process · 2019
Abstract We are assisting to a paradigmatic shift in developing Web applications since their components are often distributed and deployed as services among different organizations. Their logic is based on a set of actions that can be linked together by exploiting higher level languages more suitable to address the scale of the Web. On this multi‐organization scale, applications can be influenced by different context events generated by the environment where they run. Handling these events requires run‐time adaptations of the application's behaviour to react, properly and quickly, to changes. The paper addresses these needs by proposing a programming paradigm based on “autonomic service compositions,” ie, compositions that are able to self‐change their structure, according to a specific life cycle, to allow for the continuation of execution, even if unexpected events arise. The approach exploits autonomic computing and reasoning for taking decision on information collected during processes execution. Autonomic actions on composition structures are performed using Event Condition Action rules and a set of meta‐operations. The approach is detailed, analysed, and discussed with reference to some examples derived from a real‐world application.