Title :
Towards Runtime Adaptation in Context-Oriented Programming
Author :
Bo Han ; Yinliang Zhao ; Changpeng Zhu ; Qinghua Zeng
Author_Institution :
Xi´an Jiaotong Univ., Xi´an, China
fDate :
Sept. 30 2013-Oct. 4 2013
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.
Keywords :
mobile computing; object-oriented programming; program compilers; DLA framework; application business logic; application contract; application dynamic behavior adaptation; code adaptation; context-awareness; context-oriented programming language; dynamic application code changes; execution environment; layer activation; mobile computing; object behavior dynamic adjustment; object composition; object delegation; runtime adaptation; ubiquitous computing; Context-Oriented Programming; Delegation; Object Composition;
Conference_Titel :
Electrical Engineering, Computing Science and Automatic Control (CCE), 2013 10th International Conference on
Conference_Location :
Mexico City
Print_ISBN :
978-1-4799-1460-9
DOI :
10.1109/ICEEE.2013.6676051