Proceedings ASE 2000. Fifteenth IEEE International Conference on Automated Software Engineering (2000)
Sept. 11, 2000 to Sept. 15, 2000
P. Boinot , IRISA/INRIA, Rennes I Univ., France
An adaptive component is a component that is able to adapt its behavior to different execution contexts. Building an adaptive application is difficult because of component dependencies and the lack of language support. As a result, code that implements adaptation is often tangled, hindering maintenance and evolution. To overcome this problem, we propose a declarative approach to program adaptation. This approach makes the specific issues of adaptation explicit. The programmer can focus on the basic features of the application, and separately provide clear and concise adaptation information. Concretely, we propose adaptation classes, which enrich Java classes with adaptive behaviors. A dedicated compiler automatically generates Java code that implements the adaptive features. Moreover, these adaptation declarations can be checked for consistency to provide additional safety guarantees. As a working example throughout this paper, we use an adaptive sound encoder in an audio-conferencing application. We show the problems associated with a traditional implementation using design patterns, and how these problems are elegantly solved using adaptation classes.
Java, Programming profession, Safety, Quality of service, Application software, Instruments, Feedback control, Logic, Bandwidth, Computer languages
P. Boinot, R. Marlet, J. Noye, G. Muller and C. Consel, "A declarative approach for designing and developing adaptive components," Proceedings ASE 2000. Fifteenth IEEE International Conference on Automated Software Engineering(ASE), Grenoble, France, , pp. 111-119.