TRAP/J: Transparent generation of adaptable java programs

14Citations
Citations of this article
27Readers
Mendeley users who have this article in their library.
Get full text

Abstract

This paper describes TRAP/J, a software tool that enables new adaptable behavior to be added to existing Java applications transparently (that is, without modifying the application source code and without extending the JVM). The generation process combines behavioral reflection and aspect-oriented programming to achieve this goal. Specifically, TRAP/J enables the developer to select, at compile time, a subset of classes in the existing program that are to be adaptable at run time. TRAP/J then generates specific aspects and reflective classes associated with the selected classes, producing an adapt-ready program. As the program executes, new behavior can be introduced via interfaces to the adaptable classes. A case study is presented in which TRAP/J is used to introduce adaptive behavior to an existing audio-streaming application, enabling it to operate effectively in a lossy wireless network by detecting and responding to changing network conditions. © Springer-Verlag 2004.

Cite

CITATION STYLE

APA

Masoud Sadjadi, S., McKinley, P. K., Cheng, B. H. C., & Kurt Stirewalt, R. E. (2004). TRAP/J: Transparent generation of adaptable java programs. Lecture Notes in Computer Science (Including Subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 3291, 1243–1261. https://doi.org/10.1007/978-3-540-30469-2_28

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free