• DocumentCode
    3643696
  • Title

    Replacing Object-Oriented Design Patterns with Intrinsic Aspect-Oriented Design Patterns

  • Author

    Pavol Baca;Valentino Vranic

  • Author_Institution
    Inst. of Inf. &
  • fYear
    2011
  • Firstpage
    19
  • Lastpage
    26
  • Abstract
    This paper shows how intrinsic aspect-oriented design patterns can be used to implement object-oriented design patterns in order to achieve better composability compared to both original implementations of object-oriented design patterns and their aspect-oriented reimplementations. Director, an aspect-oriented pattern known for its ability to replace a number of object-oriented patterns, owes its success to its obliviousness to the problems addressed by the patterns it can be used instead of. The paper proposes how two other intrinsic aspect-oriented patterns can be used as an alternative to object-oriented patterns: Worker Object Creation can be successfully used instead of Proxy, while Cuckoo´s Egg can replace Singleton, Abstract Factory, and Flyweight. To check that these replacements are valid beyond their isolated application, a small study has been conducted in which a composition of Worker Object Creation and Cuckoo´s Egg in place of the composition of the original object-oriented patterns Proxy, Singleton, Abstract Factory, and Flyweight has been used. To assess the implementation of intrinsic aspect-oriented patterns compared to object-oriented patterns they replace and their aspect-oriented reimplementations, software metrics relevant both to object-oriented and aspect-oriented code mainly with respect to separation of concerns have been applied.
  • Keywords
    "Production facilities","Shape","Prototypes","Cloning","Programming","Couplings","Software"
  • Publisher
    ieee
  • Conference_Titel
    Engineering of Computer Based Systems (ECBS-EERC), 2011 2nd Eastern European Regional Conference on the
  • Print_ISBN
    978-1-4577-0683-7
  • Type

    conf

  • DOI
    10.1109/ECBS-EERC.2011.13
  • Filename
    6037510