Nothing Special   »   [go: up one dir, main page]

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

Class synthesis from role collaborations

Published: 19 February 2008 Publication 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/
[2]
T.S. Arend Rensink, Harmen Kastenberg. User manual for the groove tool set. Deptt. of Computer Science, University of Twente.
[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.
[4]
W. Damm and D. Harel. Lscs: Breathing life into message sequence charts. Formal Methods in System Design, 19(1):45--80, 2001.
[5]
A. Garcia, C. Chavez, U. Kulesza, and C. Lucena. Role aspect pattern. Tenth European Conference on Pattern Languages of Programs, 2005.
[6]
G. Gottlob, M. Schrefl, and B. Rock. Extending object-oriented systems with roles. ACM Trans. Inf. Syst., 14(3):268--296, 1996.
[7]
K. B. Graversen. Role collaborations. Software Engineering Properties of Languages and Aspect Technologies Workshop, AOSD, 2004.
[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.
[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.
[10]
B. B. Kristensen. Object--oriented modeling with roles. Proceedings of the 2nd International Conference on Object-Oriented Information Systems, pages 57--71, 1996.
[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.
[12]
C. Larman. Applying UML and Patterns. Pearson Education, 2004.
[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.
[14]
B. Pernici. Objects with roles. pages 205--215, 1990.
[15]
A. Rensink. The groove simulator: A tool for state space generation. Springer Verlag, 3062/2004:479--485, 2004.
[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.
[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.
[18]
M. Schrefl and T. Thalhammer. Using roles in java. Softw. Pract. Exper., 34(5):449--464, 2004.
[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.
[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.
[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.

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

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
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]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 19 February 2008

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. collaborations
  2. consistency
  3. roles
  4. temporal relations

Qualifiers

  • Research-article

Conference

ISEC08
Sponsor:
ISEC08: India Software Engineering Conference
February 19 - 22, 2008
Hyderabad, India

Acceptance Rates

Overall Acceptance Rate 76 of 315 submissions, 24%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • 0
    Total Citations
  • 136
    Total Downloads
  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 14 Nov 2024

Other Metrics

Citations

View Options

Get Access

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media