Chapter 7. Coupling Aspect-Oriented and Adaptive ProgrammingKARL LIEBERHERR AND DAVID H. LORENZ Adaptive programming (AP) is a programming technique for developing concern-shy programs. AP can be viewed as a special case of aspect-oriented programming (AOP), and vice-versa. In this chapter, we examine the close relationship between AP and AOP and discuss their integration. The integration of AP and AOP produces better support for ubiquitous traversal-related concerns and for concern-shy aspect-oriented programming. We illustrate the coupling of AOP and AP by describing DJ [29, 31], a hybrid tool of Demeter and Java, and by describing DAJ [33], a hybrid tool of Demeter [32] and AspectJ. |