Interaction between Objects in power Java

Interaction between Objects in power Java
复制标题

DOI:
10.5381/jot.2007.6.2.a1
复制
发表时间:
2007-02-01
影响因子:
0.8
通讯作者:
van der Torre, Leendert
van der Torre, Leendert
中科院分区:
其他
文献类型:
--
作者:
Baldoni, Matteo;Boella, Guido;van der Torre, Leendert

文献摘要

被引文献

相似文献

在本文中,我们首先考虑的是,像web服务这样的实体之间的高层交互与面向对象范式中编程语言的底层对象之间的交互具有非常不同的属性。特别是web服务,出于安全性、可用性和用户适应性的考虑,通过访问控制为不同的用户提供不同的操作,并通过会话跟踪与每个用户的交互状态。相反,当前面向对象的观点认为对象的属性和操作是客观的,独立于与另一个对象的交互,这是无会话的。为了在面向对象编程语言中直接引入对象之间交互的这些特性,我们从如何通过角色来调节访问控制中获得灵感。角色允许对象根据角色的类型、角色参与者的类型和身份提供不同的操作,并定义会话感知交互。我们从本体论和知识表示中给出的角色定义开始,讨论如何在Java中引入角色定义,从而构建我们的语言能力Java。
In this paper we start from the consideration that high level interaction between entities like web services has very different properties with respect to the interaction between objects at the lower level of programming languages in the object oriented paradigm. In particular, web services, for security, usability and user adaptability reasons, offer different operations to different users by means of access control and keep track of the state of the interaction with each user by means of sessions. The current vision in object orientation, instead, considers attributes and operations of objects as being objective and independent from the interaction with another object, which is sessionless. To introduce these features in the interaction between objects directly in object oriented programming languages, we take inspiration from how access control is regulated by means of roles. Roles allow objects to offer different operations depending on the type of the role, of the type and identity of the player of the role, and to define session-aware interaction.We start from a definition of roles given in ontologies and knowledge representation and we discuss how this definition of roles can be introduced in Java, building our language power Java.