skip to main content
article

Pattern transformation for two-dimensional separation of concerns

Published:15 May 2005Publication History
Skip Abstract Section

Abstract

Design patterns are utilized in software development to decouple individual concerns, so that a change in a design decision is isolated to one location of the code base. However, multidimensional concerns exist in software development and therefore no single design pattern offers a panacea toward addressing problems of change evolution. By analyzing the matrix of concerns during the software development process and utilizing transferable aspect-orientation and object-orientation, a pattern transformation based two-dimensional separation of concerns is described, which integrates the benefits derived from the Inheritance pattern and several GoF patterns. An example implementation is shown using Java and AspectJ.

References

  1. P. Tarr, H. Ossher, W. Harrison, and S. Sutton. N Degrees of Separation: Multi-Dimensional Separation of Concerns. In Proc. Int. Conf. Software Engineering (ICSE), 1999, pp. 107--119. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. G. Kiczales, J. Lamping, A. Mendhekar, C. Maeda, C. Lopes, J. Loingtier, and J. Irwin. Aspect-Oriented Programming. In Proc. 11th European Conf. Object-Oriented Programming (ECOOP), Springer-Verlag, LNCS 1241, 1997, pp. 220--242.Google ScholarGoogle Scholar
  3. J. Hannemann and G. Kiczales. Design Pattern Implementation in Java and AspectJ. In Proc. Object-Oriented Programming, Systems, and Applications (OOPSLA), 2002, pp. 161--173. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. O. Hachani and D. Bardou. Using Aspect-Oriented Programming for Design Patterns Implementation. In Proc. Workshop Reuse in Object-Oriented Information Systems Design, 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. R. Weatherley. TreeCC: An Aspect-Oriented Approach to Writing Compilers. http://www.southern-storm.com.au/treecc.html.Google ScholarGoogle Scholar
  6. E. Gamma, R. Helm, R. Johnson, J. Vlissides. Design Patterns, Elements of Reusable Object-Oriented Software. Addison-Wesley, 1995. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. G. Kiczales, E. Hilsdale, J. Hugunin, M. Kersten, J. Palm, and W. G. Griswold. An Overview of AspectJ. In Proc. 15th European Conf. on Object-Oriented Programming (ECOOP), Springer-Verlag, LNCS 2072, 2001, pp. 327--355. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. I. Baxter, C. Pidgeon, and M. Mehlich. DMS: Program Transformation for Practical Scalable Software Evolution. In Proc. Int. Conf. Software Engineering (ICSE), 2004, pp. 625--634. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. X. Wu, S. Roychoudhury, B. Bryant, J. Gray, and M. Mernik. A Two-Dimensional Separation of Concerns for Compiler Construction. In Proc. ACM Symposium on Applied Computing (SAC), 2005, pp.1365--1369. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. D. Janzen and K. D. Volder. Programming With Crosscutting Effective Views. In Proc. 18th European Conf. on Object-Oriented Programming (ECOOP), 2004, pp. 195--218.Google ScholarGoogle ScholarCross RefCross Ref
  11. HyperJ website: http://www.alphaworks.ibm.com/tech/hyperjGoogle ScholarGoogle Scholar

Index Terms

  1. Pattern transformation for two-dimensional separation of concerns

        Recommendations

        Comments

        Login options

        Check if you have access through your login credentials or your institution to get full access on this article.

        Sign in

        Full Access

        • Published in

          cover image ACM SIGSOFT Software Engineering Notes
          ACM SIGSOFT Software Engineering Notes  Volume 30, Issue 4
          July 2005
          1514 pages
          ISSN:0163-5948
          DOI:10.1145/1082983
          Issue’s Table of Contents
          • cover image ACM Other conferences
            MACS '05: Proceedings of the 2005 workshop on Modeling and analysis of concerns in software
            May 2005
            77 pages
            ISBN:1595931198
            DOI:10.1145/1083125

          Copyright © 2005 Copyright is held by the owner/author(s)

          Permission to make digital or hard copies of part or all of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for third-party components of this work must be honored. For all other uses, contact the Owner/Author.

          Publisher

          Association for Computing Machinery

          New York, NY, United States

          Publication History

          • Published: 15 May 2005

          Check for updates

          Qualifiers

          • article

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader