Comprehensive Monitor-Oriented Compensation Programming
Compensation programming is typically used in the programming of web service compositions whose correct implementation is crucial due to their handling of security-critical activities such as financial transactions. While traditional exception handling depends on the state of the system at the momen...
Main Authors: | , |
---|---|
Format: | Article |
Language: | English |
Published: |
Open Publishing Association
2014-04-01
|
Series: | Electronic Proceedings in Theoretical Computer Science |
Online Access: | http://arxiv.org/pdf/1404.0849v1 |
_version_ | 1828289672068988928 |
---|---|
author | Christian Colombo Gordon J. Pace |
author_facet | Christian Colombo Gordon J. Pace |
author_sort | Christian Colombo |
collection | DOAJ |
description | Compensation programming is typically used in the programming of web service compositions whose correct implementation is crucial due to their handling of security-critical activities such as financial transactions. While traditional exception handling depends on the state of the system at the moment of failure, compensation programming is significantly more challenging and dynamic because it is dependent on the runtime execution flow — with the history of behaviour of the system at the moment of failure affecting how to apply compensation. To address this dynamic element, we propose the use of runtime monitors to facilitate compensation programming, with monitors enabling the modeller to be able to implicitly reason in terms of the runtime control flow, thus separating the concerns of system building and compensation modelling. Our approach is instantiated into an architecture and shown to be applicable to a case study. |
first_indexed | 2024-04-13T10:24:45Z |
format | Article |
id | doaj.art-1d31e1847cac44de9c2b3de5f24ff985 |
institution | Directory Open Access Journal |
issn | 2075-2180 |
language | English |
last_indexed | 2024-04-13T10:24:45Z |
publishDate | 2014-04-01 |
publisher | Open Publishing Association |
record_format | Article |
series | Electronic Proceedings in Theoretical Computer Science |
spelling | doaj.art-1d31e1847cac44de9c2b3de5f24ff9852022-12-22T02:50:20ZengOpen Publishing AssociationElectronic Proceedings in Theoretical Computer Science2075-21802014-04-01147Proc. FESCA 2014476110.4204/EPTCS.147.4:15Comprehensive Monitor-Oriented Compensation ProgrammingChristian Colombo0Gordon J. Pace1 University of Malta University of Malta Compensation programming is typically used in the programming of web service compositions whose correct implementation is crucial due to their handling of security-critical activities such as financial transactions. While traditional exception handling depends on the state of the system at the moment of failure, compensation programming is significantly more challenging and dynamic because it is dependent on the runtime execution flow — with the history of behaviour of the system at the moment of failure affecting how to apply compensation. To address this dynamic element, we propose the use of runtime monitors to facilitate compensation programming, with monitors enabling the modeller to be able to implicitly reason in terms of the runtime control flow, thus separating the concerns of system building and compensation modelling. Our approach is instantiated into an architecture and shown to be applicable to a case study.http://arxiv.org/pdf/1404.0849v1 |
spellingShingle | Christian Colombo Gordon J. Pace Comprehensive Monitor-Oriented Compensation Programming Electronic Proceedings in Theoretical Computer Science |
title | Comprehensive Monitor-Oriented Compensation Programming |
title_full | Comprehensive Monitor-Oriented Compensation Programming |
title_fullStr | Comprehensive Monitor-Oriented Compensation Programming |
title_full_unstemmed | Comprehensive Monitor-Oriented Compensation Programming |
title_short | Comprehensive Monitor-Oriented Compensation Programming |
title_sort | comprehensive monitor oriented compensation programming |
url | http://arxiv.org/pdf/1404.0849v1 |
work_keys_str_mv | AT christiancolombo comprehensivemonitororientedcompensationprogramming AT gordonjpace comprehensivemonitororientedcompensationprogramming |