Publication Type |
Manuscript |
School or College |
College of Engineering |
Department |
Computing, School of |
Creator |
Regehr, John |
Other Author |
Chakravarthy, Venkat; Eide, Eric |
Title |
Edicts: implementing features with flexible binding times |
Date |
2008-01-01 |
Description |
In a software product line, the binding time of a feature is the time at which one decides to include or exclude a feature from a product. Typical binding site implementations are intended to support a single binding time only, e.g., compile time or run time. Sometimes, however, a product line must support features with variable binding times. For instance, a product line may need to include both embedded system configurations, in which features are selected and optimized early, and desktop configurations, in which client programs choose features on demand. We present a new technique for implementing the binding sites of features that require flexible binding times. Our technique combines design patterns and aspect-oriented programming: a pattern encapsulates the variation point, and targeted aspects-called edicts-set the binding times of the pattern participants. We describe our approach and demonstrate its usefulness by creating a middleware product line capable of serving the desktop and embedded domains. Our product line is based on JacORB, a middleware platform with many dynamically configurable features. By using edicts to select features at compile time, we create a version of JacORB more suited to resource-constrained environments. By configuring four JacORB subsystems via edicts, we achieve a 32.2% reduction in code size. Our examples show that our technique effectively modularizes binding-time concerns, supporting both compile-time optimization and run-time flexibility as needed. |
Type |
Text |
Publisher |
Association for Computing Machinery |
First Page |
1 |
Last Page |
12 |
DOI |
http://doi.acm.org/10.1145/1353482.1353496. |
Dissertation Institution |
University of Utah |
Language |
eng |
Bibliographic Citation |
Chakravarthy, V., Regehr, J., & Eide, E. (2008). Edicts: implementing features with flexible binding times. In Proceedings of the 7th International Conference on Aspect-Oriented Software Development (AOSD), 1-12. March. |
Rights Management |
(c) ACM, 2008. This is the author's version of the work. It is posted here by permission of ACM for your personal use. Not for redistribution. The definitive version was published in Proceedings of the Seventh International Conference on Aspect-Oriented Software Development (AOSD), Brussels, Belgium, Mar.-Apr. 2008. |
Format Medium |
application/pdf |
Format Extent |
1,673,537 bytes |
Identifier |
uspace,17476 |
ARK |
ark:/87278/s6v7039z |
Setname |
ir_uspace |
ID |
707985 |
Reference URL |
https://collections.lib.utah.edu/ark:/87278/s6v7039z |