Towards Runtime Adaptation in Context-Oriented Programming

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 chang...

Full description

Saved in:
Bibliographic Details
Published in:2013 10th International Conference on Electrical Engineering, Computing Science and Automatic Control (CCE) pp. 201 - 208
Main Authors: Bo Han, Yinliang Zhao, Changpeng Zhu, Qinghua Zeng
Format: Conference Proceeding
Language:English
Published: IEEE 01.09.2013
Subjects:
Online Access:Get full text
Tags: Add Tag
No Tags, Be the first to tag this record!
Description
Summary: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.
DOI:10.1109/ICEEE.2013.6676051