Towards Runtime Adaptation in Context-Oriented Programming

Bo Han,Yinliang Zhao,Changpeng Zhu,Qinghua Zeng
DOI: https://doi.org/10.1109/ICEEE.2013.6676051
2013-01-01
Abstract:Context-awareness is becoming even more critical for mobile and ubiquitous computing, where the application needs to dynamically adapt its behavior to its execution environment. Context-oriented programming languages support dynamic behavior adaptation, however, they do not support for dynamic changes in the application code. This makes that they provide little support for the runtime adaptation of application behavior in case of any instability encountered. In this paper, we present the design and implementation of DLA framework, which uses the application contract to separate the policy of layer activation from the application's business logic, and which uses object composition and delegation to dynamically adjust the behavior of objects. With these features, DLA framework enables the application behavior and code to be dynamically adapted according to its execution environment.
What problem does this paper attempt to address?