Title :
Aspects and Annotations for Controlling the Roles Application Classes Play for Design Patterns
Author :
Giunta, Rosario ; Pappalardo, Giuseppe ; Tramontana, Emiliano
Author_Institution :
Dipt. di Mat. e Inf., Univ. of Catania, Catania, Italy
Abstract :
Design patterns are an invaluable resource for developers. Yet, for some of them the implementation of an application concern and the code needed to enforce the design pattern solution can be tangled within the same class. This potent ially makes classes more complex, more prone to changes and less reusable. In order to keep the complexity of classes under manageable levels, this paper proposes a solution based on aspect-orientation. Our solution makes aspects and application classes independent of each other, while connecting code is used to concisely express the role played by classes within design patterns. Developers needing to modify the role of an application class should only update such connecting code, thus keeping changes to application code to a minimum. The performance overhead of such an approach is evaluated and compared with the standard implementation.
Keywords :
object-oriented methods; application code; connecting code; design pattern; roles application class; Aggregates; Connectors; Context; Joining processes; Runtime; System-on-a-chip; Weaving; Aspect orientation; Computational reflection; Design patterns; Java annotations; Object orientation; Separation of concerns;
Conference_Titel :
Software Engineering Conference (APSEC), 2011 18th Asia Pacific
Conference_Location :
Ho Chi Minh
Print_ISBN :
978-1-4577-2199-1
DOI :
10.1109/APSEC.2011.53