JUCS - Journal of Universal Computer Science 9(8): 935-955, doi: 10.3217/jucs-009-08-0935
Developing Adaptive J2ME Applications Using AspectJ
expand article infoAyla Dantas, Paulo Borba§
‡ Federal University of Pernambuco, Brazil§ Federal University of Pernambuco, Recife, Brazil
Open Access
Abstract
This paper evaluates the use of AspectJ, a general-purpose aspect-oriented extension to Java, to provide adaptive behavior for J2ME applications in a modularized way. Our evaluation is based on the development of a simple but non-trivial dictionary application where new adaptive behavior was incrementally implemented using AspectJ. Our main contribution is to show that the AspectJ language can be used to implement several adaptive concerns, which allow the application to have di#erent behaviors according to changes in its environment. We also compare our implementation with corresponding pure Java alternatives, identify disadvantages of using AspectJ and propose some possible patterns.
Keywords
aspect-Oriented programming, separation of concerns, AOP applications, software architecture, adaptability