Please use this identifier to cite or link to this item:
https://www.um.edu.mt/library/oar/handle/123456789/27803
Title: | Separating compensation concerns and programming them with compensating automata |
Authors: | Colombo, Christian Pace, Gordon J. |
Keywords: | Service-oriented architecture (Computer science) Machine theory Compensation management Computer software -- Development |
Issue Date: | 2012-04 |
Publisher: | University of Malta. Department of Computer Science |
Citation: | Colombo, C., & Pace, G. J. (2012). Separating compensation concerns and programming them with compensating automata (No. CS2012-01). Msida: University of Malta. Department of Computer Science. |
Abstract: | Compensations have been used for decades in areas such as flow management systems, long-lived transactions and more recently in the service-oriented architecture. Since compensations enable the logical reversal of past actions, by their nature they cross-cut other programming concerns. Thus, intertwining compensations with the rest of the system not only makes programs less well-structured, but also limits the expressivity of compensations due to the tight coupling with the system’s behaviour. To separate compensation concerns from the normal forward behaviour of the system, we propose a novel design paradigm in which compensations are programmed separately from the system, and incorporated within a compensation manager following relevant system events and manages compensations. If the system signals the need to be compensated, the manager triggers the execution of compensations on behalf of the system and subsequently returns control to the system. We show that this approach can be used to program a sophisticated real-life case study which existing compensation approaches have difficulty in handling. |
URI: | https://www.um.edu.mt/library/oar//handle/123456789/27803 |
Appears in Collections: | Scholarly Works - FacICTCS |
Files in This Item:
File | Description | Size | Format | |
---|---|---|---|---|
Separating_compensation_concerns_and_programming_them_with_compensating_automata_2012.pdf | 449.93 kB | Adobe PDF | View/Open |
Items in OAR@UM are protected by copyright, with all rights reserved, unless otherwise indicated.