Exploiting runtime bytecode manipulation to add roles to Java']Java agents

被引:2
作者
Cabri, G [1 ]
Ferrari, L [1 ]
Leonardi, L [1 ]
机构
[1] Univ Modena, Dipartimento Ingn Informaz, I-41100 Modena, Italy
关键词
!text type='Java']Java[!/text] agents; dynamic bytecode modification; roles; interactions;
D O I
10.1016/j.scico.2004.05.007
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Thanks to their sociality, agents can interact with other agents in a cooperative or competitive way. Such interactions must be carefully taken into consideration in the development of agent-based applications. A good paradigm for modeling such interactions is the one based on the concept of roles, which is fully exploited in the BRAIN framework. The use of roles achieves several advantages, from separation of concerns between the algorithmic issues and the interaction ones, to the reuse of solutions and experiences in different applications. In this paper, we propose an interaction infrastructure for enabling Java agents to dynamically assume roles at runtime and then to use them. Our approach is based on the capability of modifying the bytecode of Java agents at runtime in order to add the members of role classes. An application example and a comparison with other approaches show the effectiveness of our approach. (C) 2004 Elsevier B.V. All rights reserved.
引用
收藏
页码:73 / 98
页数:26
相关论文
共 25 条
[1]  
ARIDOR Y, 1998, P INT C AUT AG MINN
[2]  
Baumer D., 1997, P 4 PATT LANG PROGR
[3]  
CABRI G, 2004, P 3 C AUT AG MULT AG
[4]  
CABRI G, 2002, 16 EUR M CYB SYST RE
[5]  
CABRI G, 2001, P 8 IEEE WORKSH FUT
[6]  
CABRI G, 2002, P 2 INT WORKSH ASP O
[7]  
CABRI G, 2003, P 2003 C COOP INF SY
[8]  
CABRI G, 2003, P IEEE 12 INT WORKSH
[9]  
DEMSKY B, 2002, P INT C SOFTW ENG 02
[10]  
FOWLER M, 1997, DEALING ROLES