• DocumentCode
    3024761
  • 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
  • fYear
    2011
  • fDate
    5-8 Dec. 2011
  • Firstpage
    306
  • Lastpage
    314
  • 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;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Engineering Conference (APSEC), 2011 18th Asia Pacific
  • Conference_Location
    Ho Chi Minh
  • ISSN
    1530-1362
  • Print_ISBN
    978-1-4577-2199-1
  • Type

    conf

  • DOI
    10.1109/APSEC.2011.53
  • Filename
    6130701