ARIA LANGUAGE - Towards Agent Orientation Paradigm

Mohsen Lesani, Niloufar Montazeri

2008

Abstract

Agent oriented paradigm is one of the new contributions to the field of software engineering and has the potential to significantly improve current practice of the field. The paradigm should be elaborated both practically and conceptually. The contribution of this paper is twofold. Firstly, an agent oriented language called Aria and its compiler are proposed. Aria language is a superset of Java language and the compiler compiles a program in Aria to an equivalent program in Java. This enables Aria to fully integrate with and preserve all the existing knowledge and code in Java. Secondly, the three well-known object oriented principles of abstraction, inheritance and polymorphism are redefined for agent orientation. Two sample cases are presented: a chat room and an agent oriented MVC pattern.

References

  1. Bellifemine, F., Bergenti, F., Caire, G., & Poggi, A. (2005). JADE - A Java Agent Development Framework. In R. H. Bordini, M. Dastani, J. Dix, & A. El Fallah Seghrouchni, MultiAgent Programming: Languages, Platforms and Applications. SpringerVerlag.
  2. Howden, N., Ronnquist, R., Hodgson, A., & Lucas, A. (2001). JACK - Summary of an Agent Infrastructure. 5th International Conference on Autonomous Agents.
  3. Pokahr, A., Braubach, L., & Lamersdorf, W. (2005). JADEX: A BDI Reasoning Engine. In R. H. Bordini, M. Dastani, J. Dix, & A. El Fallah Seghrouchni, MultiAgent Programming: Languages, Platforms and Applications. Springer-Verlag.
  4. public agent AgentType specializes parentAgentType services ServiceType1, ServiceType2, ... { atBirth { } perceive(Massageclass1 message) { } behavior behaviorName { } behavior behaviorName processes (MessageClass2 message) { } atDeath { } // Any OO field or method is also supported. }
  5. Code Snippet 1 agentName.tell(messageName) Message message = agentName.tellAndWait(messageName)
  6. Code Snippet 2 Code Snippet 3 MessageWaitedFor messageWaitedfor = agentName.tellAndPoll(messageName) while (!messageWaitedFor.isMessageReplied()) { // Do some tasks } Message replyMessage = messageWaitedFor.getMessage();
  7. Code Snippet 4 private ThreadSafeQueue<MessageClassType> ariaMessageClassTypeQueue = new ThreadSafeQueue<MessageClassType>();
Download


Paper Citation


in Harvard Style

Lesani M. and Montazeri N. (2008). ARIA LANGUAGE - Towards Agent Orientation Paradigm . In Proceedings of the Third International Conference on Software and Data Technologies - Volume 1: ICSOFT, ISBN 978-989-8111-51-7, pages 79-82. DOI: 10.5220/0001874600790082


in Bibtex Style

@conference{icsoft08,
author={Mohsen Lesani and Niloufar Montazeri},
title={ARIA LANGUAGE - Towards Agent Orientation Paradigm},
booktitle={Proceedings of the Third International Conference on Software and Data Technologies - Volume 1: ICSOFT,},
year={2008},
pages={79-82},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0001874600790082},
isbn={978-989-8111-51-7},
}


in EndNote Style

TY - CONF
JO - Proceedings of the Third International Conference on Software and Data Technologies - Volume 1: ICSOFT,
TI - ARIA LANGUAGE - Towards Agent Orientation Paradigm
SN - 978-989-8111-51-7
AU - Lesani M.
AU - Montazeri N.
PY - 2008
SP - 79
EP - 82
DO - 10.5220/0001874600790082