skip to main content
10.1145/1342211.1342224acmconferencesArticle/Chapter ViewAbstractPublication PagesisecConference Proceedingsconference-collections
research-article

Class synthesis from role collaborations

Authors Info & Claims
Published:19 February 2008Publication History

ABSTRACT

In this paper, we advocate a use case based methodology for development of object oriented systems which give primacy to roles instead of class. We present an algorithm to synthesize partial collaborations between roles to obtain classes and interaction between them. It realizes temporal relations between roles by defining anonymous roles and its collaboration with other roles. During synthesis, the algorithm checks for the correctness of the partial collaborations with respect to contracts for events, and of synthesized collaboration with respect to pre, post and invariant conditions of the use case. A prototype tool has been implemented using AspectJ and GROOVE simulator to test the feasibility of the methodology

References

  1. The aspectj project. www.eclipse.org/aspectj/Google ScholarGoogle Scholar
  2. T.S. Arend Rensink, Harmen Kastenberg. User manual for the groove tool set. Deptt. of Computer Science, University of Twente.Google ScholarGoogle Scholar
  3. B.D. Chaudhary and N. Gutha. A model for temporal relations between object roles. Proceedings of Fourth IEEE International Conference on Software Engineering and Formal Methods, pages 100--107, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. W. Damm and D. Harel. Lscs: Breathing life into message sequence charts. Formal Methods in System Design, 19(1):45--80, 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. A. Garcia, C. Chavez, U. Kulesza, and C. Lucena. Role aspect pattern. Tenth European Conference on Pattern Languages of Programs, 2005.Google ScholarGoogle Scholar
  6. G. Gottlob, M. Schrefl, and B. Rock. Extending object-oriented systems with roles. ACM Trans. Inf. Syst., 14(3):268--296, 1996. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. K. B. Graversen. Role collaborations. Software Engineering Properties of Languages and Aspect Technologies Workshop, AOSD, 2004.Google ScholarGoogle Scholar
  8. E. A. Kendall. Role model designs and implementations with aspect-oriented programming. OOPSLA '99: Proceedings of the 14th ACM SIGPLAN conference on Object-oriented programming, systems, languages, and applications, pages 353--369, 1999. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. G. Kiczales, J. Lamping, A. Mendhekar, C. Maeda, C. V. Lopes, J. M. Loingtier, and J. Irwin. Aspect-oriented programming. In Proceedings European Conference on Object Oriented Programming, Springer-Verlag, 1241:220--242, 1997.Google ScholarGoogle Scholar
  10. B. B. Kristensen. Object--oriented modeling with roles. Proceedings of the 2nd International Conference on Object-Oriented Information Systems, pages 57--71, 1996.Google ScholarGoogle ScholarCross RefCross Ref
  11. A. Kumar. Use case driven dynamic synthesis of objects from role collaborations. M.Tech Thesis, Motilal Nehru National Institute of Technology, India, July, 2007.Google ScholarGoogle Scholar
  12. C. Larman. Applying UML and Patterns. Pearson Education, 2004.Google ScholarGoogle Scholar
  13. J. MARKOVIÄR, Lubomi¿r SOCHOR. Objects with changeable roles. 3rd International Symposium on Distributed Objects and Applications -- Short Papers, pages 69--76, 2001.Google ScholarGoogle Scholar
  14. B. Pernici. Objects with roles. pages 205--215, 1990.Google ScholarGoogle Scholar
  15. A. Rensink. The groove simulator: A tool for state space generation. Springer Verlag, 3062/2004:479--485, 2004.Google ScholarGoogle Scholar
  16. T. Richner and S. Ducasse. Iterative recovery of collaborations and roles in dynamically typed object-oriented languages. International Conference on Software Maintenance, October, 2002.Google ScholarGoogle Scholar
  17. F. Sanen, E. Steegmans, N. Picard, W. Joosen, and T. Holvoet. Using roles and aspects for designing and implementing dynamic adaptations. Workshop on Views, Aspects and Roles at the 19th European Conference on Object-Oriented Programming, July 25-29, 2005.Google ScholarGoogle Scholar
  18. M. Schrefl and T. Thalhammer. Using roles in java. Softw. Pract. Exper., 34(5):449--464, 2004. Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. J. Sun and J. S. Dong. Design synthesis from interaction and state-based specifications. IEEE Transactions on Software Engineering, 32(6):349--364, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. S. Uchitel, J. Kramer, and J. Magee. Incremental elaboration of scenario-based specifications and behavior models using implied scenarios. ACM Transactions on Software Engineering and Methodology, 13(1):37--85, Jan 2004. Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. M. VanHilst and D. Notkin. Using role components to implement collaboration--based designs. OOPSLA '96: Proceedings of the 11th ACM SIGPLAN conference on Object-oriented programming, systems, languages, and applications, pages 359--369, 1996. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Class synthesis from role collaborations

        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
        • Published in

          cover image ACM Conferences
          ISEC '08: Proceedings of the 1st India software engineering conference
          February 2008
          164 pages
          ISBN:9781595939173
          DOI:10.1145/1342211

          Copyright © 2008 ACM

          Permission to make digital or hard copies of all or part 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 components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

          Publisher

          Association for Computing Machinery

          New York, NY, United States

          Publication History

          • Published: 19 February 2008

          Permissions

          Request permissions about this article.

          Request Permissions

          Check for updates

          Qualifiers

          • research-article

          Acceptance Rates

          Overall Acceptance Rate76of315submissions,24%
        • Article Metrics

          • Downloads (Last 12 months)0
          • Downloads (Last 6 weeks)0

          Other Metrics

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader