skip to main content
10.1145/1168054.1168081acmotherconferencesArticle/Chapter ViewAbstractPublication PagespppjConference Proceedingsconference-collections
Article

Interaction among objects via roles: sessions and affordances in Java

Published:30 August 2006Publication History

ABSTRACT

In this paper we present a new vision in object oriented programming languages where the objects' attributes and operations depend on who is interacting with them. This vision is based on a new definition of the notion of role, which is inspired to the concept of affordance as developed in cognitive science. The current vision of objects considers attributes and operations as being objective and independent from the interaction. In contrast, in our model interaction with an object always passes through a role played by another object manipulating it. The advantage is that roles allow to define operations whose behavior changes depending on the role and the requirements it imposes, and to define session aware interaction, where the role maintains the state of the interaction with an object. Finally, we discuss how roles as affordances can be introduced in Java, building on our language powerJava.

References

  1. M. Baldoni, G. Boella, and L. van der Torre. Bridging agent theory and object orientation: Importing social roles in object oriented languages. In LNCS 3862: Procs. of PROMAS'05 workshop at AAMAS'05, pages 57--75, Berlin, 2005. Springer. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. M. Baldoni, G. Boella, and L. van der Torre. Social roles, from agents back to objects. In Procs. of WOA'05 Workshop, Bologna, 2005. Pitagora.Google ScholarGoogle Scholar
  3. M. Baldoni, G. Boella, and L. van der Torre. Bridging agent theory and object orientation: Interaction among objects. In Procs. of PROMAS'06 workshop at AAMAS'06, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. M. Baldoni, G. Boella, and L. van der Torre. Powerjava: ontologically founded roles in object oriented programming language. In Procs. of OOOPS Track of ACMSAC'06, pages 1414--1418. ACM, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. M. Baldoni, G. Boella, and L. van der Torre. Roles as a coordination construct: Introducing powerJava. Electronic Notes in Theoretical Computer Science, 150(1):9--29, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. D. Baumer, D. Riehle, W. Siberski, and M. Wulf. The role object pattern. In Procs. of PLOP'02, 2002.Google ScholarGoogle Scholar
  7. J. Cabot and R. Raventos. Conceptual modelling patterns for roles. In LNCS 3870: Journal on Data Semantics V, pages 158--184, Berlin, 2006. Springer. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. M. Dastani, V. Dignum, and F. Dignum. Role-assignment in open agent societies. In Procs. of AAMAS'03, pages 489--496, New York (NJ), 2003. ACM Press. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. S. Drossopoulou, F. Damiani, M. Dezani-Ciancaglini, and P. Giannini. More dynamic object re-classification: FickleII. ACM Transactions On Programming Languages and Systems, 24(2):153--191, 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. J. Ferber, O. Gutknecht, and F. Michel. From agents to organizations: an organizational view of multiagent systems. In LNCS 2935: Procs. of AOSE'03, pages 214--230, Berlin, 2003. Springer.Google ScholarGoogle Scholar
  11. J. Gibson. The Ecological Approach to Visual Perception. Lawrence Erlabum Associates, New Jersey, 1979.Google ScholarGoogle Scholar
  12. S. Herrmann. Roles in a context. In Procs. of AAAI Fall Symposium Roles'05. AAAI Press, 2005.Google ScholarGoogle Scholar
  13. T. Juan, A. Pearce, and L. Sterling. Roadmap: extending the gaia methodology for complex open system. In Procs. of AAMAS'04, pages 3--10, 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. B. Kristensen and K. Osterbye. Roles: conceptual abstraction theory and practical language issues. Theor. Pract. Object Syst., 2(3):143--160, 1996. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. F. Loebe. Abstract vs. social roles - a refined top-level ontological analysis. In Procs. of AAAI Fall Symposium Roles'05, pages 93--100. AAAI Press, 2005.Google ScholarGoogle Scholar
  16. C. Masolo, G. Guizzardi, L. Vieu, E. Bottazzi, and R. Ferrario. Relational roles and qua-individuals. In Procs. of AAAI Fall Symposium Roles'05. AAAI Press, 2005.Google ScholarGoogle Scholar
  17. C. Masolo, L. Vieu, E. Bottazzi, C. Catenacci, R. Ferrario, A. Gangemi, and N. Guarino. Social roles and their descriptions. In Procs. of KR'04, pages 267--277. AAAI Press, 2004.Google ScholarGoogle Scholar
  18. M. Papazoglou and B. Kramer. A database model for object dynamics. The VLDB Journal, 6(2):73--96, 1997. Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. F. Steimann. A radical revision of UML's role concept. In Procs. of UML2000, pages 194--209, 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. T. Tamai. Evolvable programming based on collaboration-field and role model. In Procs. of IWPSE'02, pages 1--5. ACM, 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Interaction among objects via roles: sessions and affordances in Java

          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 Other conferences
            PPPJ '06: Proceedings of the 4th international symposium on Principles and practice of programming in Java
            August 2006
            230 pages
            ISBN:3939352055
            DOI:10.1145/1168054

            Copyright © 2006 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: 30 August 2006

            Permissions

            Request permissions about this article.

            Request Permissions

            Check for updates

            Qualifiers

            • Article

            Acceptance Rates

            Overall Acceptance Rate29of58submissions,50%

          PDF Format

          View or Download as a PDF file.

          PDF

          eReader

          View online with eReader.

          eReader