Bo Han, Yinliang Zhao, Changpeng Zhu, Qinghua Zeng
{"title":"面向上下文编程中的运行时适应","authors":"Bo Han, Yinliang Zhao, Changpeng Zhu, Qinghua Zeng","doi":"10.1109/ICEEE.2013.6676051","DOIUrl":null,"url":null,"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.","PeriodicalId":226547,"journal":{"name":"2013 10th International Conference on Electrical Engineering, Computing Science and Automatic Control (CCE)","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2013-12-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":"{\"title\":\"Towards Runtime Adaptation in Context-Oriented Programming\",\"authors\":\"Bo Han, Yinliang Zhao, Changpeng Zhu, Qinghua Zeng\",\"doi\":\"10.1109/ICEEE.2013.6676051\",\"DOIUrl\":null,\"url\":null,\"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.\",\"PeriodicalId\":226547,\"journal\":{\"name\":\"2013 10th International Conference on Electrical Engineering, Computing Science and Automatic Control (CCE)\",\"volume\":\"1 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2013-12-02\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"2\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2013 10th International Conference on Electrical Engineering, Computing Science and Automatic Control (CCE)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ICEEE.2013.6676051\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2013 10th International Conference on Electrical Engineering, Computing Science and Automatic Control (CCE)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICEEE.2013.6676051","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
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 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.