Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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 2006 Publication 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.
[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.
[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.
[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.
[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.
[6]
D. Baumer, D. Riehle, W. Siberski, and M. Wulf. The role object pattern. In Procs. of PLOP'02, 2002.
[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.
[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.
[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.
[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.
[11]
J. Gibson. The Ecological Approach to Visual Perception. Lawrence Erlabum Associates, New Jersey, 1979.
[12]
S. Herrmann. Roles in a context. In Procs. of AAAI Fall Symposium Roles'05. AAAI Press, 2005.
[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.
[14]
B. Kristensen and K. Osterbye. Roles: conceptual abstraction theory and practical language issues. Theor. Pract. Object Syst., 2(3):143--160, 1996.
[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.
[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.
[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.
[18]
M. Papazoglou and B. Kramer. A database model for object dynamics. The VLDB Journal, 6(2):73--96, 1997.
[19]
F. Steimann. A radical revision of UML's role concept. In Procs. of UML2000, pages 194--209, 2000.
[20]
T. Tamai. Evolvable programming based on collaboration-field and role model. In Procs. of IWPSE'02, pages 1--5. ACM, 2002.

Cited By

View all
  • (2011)Session-based role programming for the design of advanced telephony applicationsProceedings of the 11th IFIP WG 6.1 international conference on Distributed applications and interoperable systems10.5555/2022090.2022097(77-91)Online publication date: 6-Jun-2011
  • (2011)Applying Adaptive Role-Based Model to Self-Adaptive System Constructing ProblemsProceedings of the 2011 Eighth IEEE International Conference and Workshops on Engineering of Autonomic and Autonomous Systems10.1109/EASe.2011.12(69-78)Online publication date: 27-Apr-2011
  • (2011)Session-Based Role Programming for the Design of Advanced Telephony ApplicationsDistributed Applications and Interoperable Systems10.1007/978-3-642-21387-8_7(77-91)Online publication date: 2011
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

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
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 for this article.

Check for updates

Qualifiers

  • Article

Acceptance Rates

Overall Acceptance Rate 29 of 58 submissions, 50%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 04 Feb 2025

Other Metrics

Citations

Cited By

View all
  • (2011)Session-based role programming for the design of advanced telephony applicationsProceedings of the 11th IFIP WG 6.1 international conference on Distributed applications and interoperable systems10.5555/2022090.2022097(77-91)Online publication date: 6-Jun-2011
  • (2011)Applying Adaptive Role-Based Model to Self-Adaptive System Constructing ProblemsProceedings of the 2011 Eighth IEEE International Conference and Workshops on Engineering of Autonomic and Autonomous Systems10.1109/EASe.2011.12(69-78)Online publication date: 27-Apr-2011
  • (2011)Session-Based Role Programming for the Design of Advanced Telephony ApplicationsDistributed Applications and Interoperable Systems10.1007/978-3-642-21387-8_7(77-91)Online publication date: 2011
  • (2009)The interplay between relationships, roles and objectsProceedings of the Third IPM international conference on Fundamentals of Software Engineering10.1007/978-3-642-11623-0_24(402-415)Online publication date: 15-Apr-2009
  • (2008)The Implementation and Execution Framework of a Role Model Based Language, EpsilonJ2008 Ninth ACIS International Conference on Software Engineering, Artificial Intelligence, Networking, and Parallel/Distributed Computing10.1109/SNPD.2008.103(269-276)Online publication date: Aug-2008
  • (2008)The design and implementation of a role model based language, EpsilonJ2008 5th International Conference on Electrical Engineering/Electronics, Computer, Telecommunications and Information Technology10.1109/ECTICON.2008.4600367(37-40)Online publication date: May-2008
  • (2007)Relationships meet their roles in object oriented programmingProceedings of the 2007 international conference on Fundamentals of software engineering10.5555/1775223.1775255(440-448)Online publication date: 17-Apr-2007
  • (2007)Relationships Meet Their Roles in Object Oriented ProgrammingInternational Symposium on Fundamentals of Software Engineering10.1007/978-3-540-75698-9_32(440-448)Online publication date: 2007
  • (2007)Bridging Agent Theory and Object Orientation: Agent-Like Communication Among ObjectsProgramming Multi-Agent Systems10.1007/978-3-540-71956-4_9(149-164)Online publication date: 2007
  • (2006)Bridging agent theory and object orientationProceedings of the 4th international conference on Programming multi-agent systems10.5555/1759324.1759336(149-164)Online publication date: 9-May-2006

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media