Journal of Computer Sciences and Applications
ISSN (Print): 2328-7268 ISSN (Online): 2328-725X Website: Editor-in-chief: Minhua Ma, Patricia Goncalves
Open Access
Journal Browser
Journal of Computer Sciences and Applications. 2013, 1(1), 5-13
DOI: 10.12691/jcsa-1-1-2
Open AccessArticle

Developing Pervasive and Adaptive Applications with MAADE

Enrico Franchi1, Agostino Poggi1, and Michele Tomaiuolo2

1Department of Information Engineering, University of Parma, Italy

2Michele Tomaiuolo

Pub. Date: February 28, 2013

Cite this paper:
Enrico Franchi, Agostino Poggi and Michele Tomaiuolo. Developing Pervasive and Adaptive Applications with MAADE. Journal of Computer Sciences and Applications. 2013; 1(1):5-13. doi: 10.12691/jcsa-1-1-2


Pervasive computing is one of the most active research fields because it promises the creation of environments where computing and communication devices are effectively integrated with users so that applications can provide largely invisible support for tasks performed by users. This paper presents an environment for software development, called MAADE (Multi Adaptive Agent Development Environment), and aimed at the implementation of multi-agent systems for pervasive and adaptive applications using both: (i) agents and multi-agent systems properties and (ii) composition filters for driving and dynamically adapting the behaviour of the system. MAADE allows the realization of both intentional and reactive agents, which live in an environment constituted by passive objects exposing their features in the form of available services. Thanks to its modular nature, the framework is proving particularly effective for allowing graduate students to experiment with different models and protocols used in Distributed Systems. Moreover, it is being used for the realization of prototypal applications, including an ubiquitous social networking platform, with dynamical location and proximity groups.

multi-agent systems composition filters adaptive systems pervasive systems online social networking

Creative CommonsThis work is licensed under a Creative Commons Attribution 4.0 International License. To view a copy of this license, visit


Figure of 4


[1]  Apache Foundation. MINA software Web site. Available: [Accessed 2012-12-15].
[2]  Austin, J.L. “How to do Things with Words: The William James Lectures delivered at Harvard University in 1955”. Ed. J. O. Urmson, Oxford, Clarendon. 1962.
[3]  Becker, C., Hante, M., Schiele, G., Rotheemel, K. “PCOM - A component system for pervasive computing”. Proceedings of the 2nd IEEE Conference on Pervasive Computing and Communications, PerCom 2004 (pp. 67-76). Orlando, FL.
[4]  Bergenti, F., Franchi, E., Poggi, A. “Agent-based Social Networks for Enterprise Collaboration”. In Enabling Technologies: Infrastructure for Collaborative Enterprises (WETICE), 2011 20th IEEE International Workshops on (pp. 25-28). IEEE.
[5]  Bergmans, L., Aksit, M. “Composing crosscutting concerns using composition filters”. Communications of ACM, 44(10): 51-57, 2001.
[6]  Bethencourt, J., Sahai, A., Waters, B. “Ciphertext-policy attribute-based encryption”. IEEE Symposium on Security and Privacy. (2007), 321-334.
[7]  Bordini, R.H., Hübner, J.F., Wooldridge, M. “Programming Multi-Agent Systems in AgentSpeak using Jason”. Wiley (2007), 292 pages.
[8]  Brooks, R. “A robust layered control system for a mobile robot”. Technical Report AI Memo 864, Artificial Intelligence Laboratory, Massachusetts Institute of Technology. 1985.
[9]  Cabri, G., Ferrari, L., Zambonelli, F. “Role-Based Approaches for Engineering Interactions in Large-Scale Multi-agent Systems”. Software Engineering for Multi-Agent Systems II, Lecture Notes in Computer Science 2940: 243-263, 2004.
[10]  Camps-Mura, D., Pérez-Costaa, X., Sallent-Ribesb, S. “Designing energy efficient access points with Wi-Fi Direct”. Computer Networks, 55(13), 2838-2855, 2011.
[11]  Ceranowicz, A., Nielsen, P.E., Koss, F. “Behavioral Representation in JSAF”. Proceedings of Ninth Annual Computer Generated Forces and Behavior Representation Conference (2000). Orlando, FL.
[12]  Chakraborty, D., Takahashi, H., Suganuma, T., Takeda, A., Kitagata, G., Hashimoto, K., Shiratori, N. “An adaptive context aware communication system for ubiquitous environment based on overlay network”. Recent Advances In Computer Engineering. Proceedings of the 12th WSEAS International Conference on Computers (2008), 832-837. WSEAS, Stevens Point, Wisconsin.
[13]  Cheng, S., Garlan, D., Schmeri, B.R., Sousa, J.P., Spitznagel, B., Steenkiste, P., Hu, N. “Software Architecture-Based Adaptation for Pervasive Systems”. Trends in Network and Pervasive Computing, Lecture Notes In Computer Science, 2299: 67-82, 2002.
[14]  Cohen, P.R., Levesque, H.J. “Rational interaction as the basis for communication”. Intentions in Communication (1990), pp. 221-256. Cohen, Morgan, Pollack, eds., The MIT Press.
[15]  Cohen, P.R., Perrault, C.R “Elements of a plan based theory of speech acts”, Cognitive Science 3. 1979.
[16]  Filman, R., Elrad, T., Clarke, S., Aksit, M. “Aspect-Oriented Software Development”. (2004). Addison-Wesley.
[17]  Finin, T., Fritzson, R., McKay, D., McEntire, R. “KQML as an agent communication language”. Proceedings of the 3rd International Conference on information and Knowledge Management (1994), 456-463. Gaithersburg, MD.
[18]  FIPA Consortium. FIPA Specifications. Available: [Accessed 2012-12-15].
[19]  Fok, C., Roman, G., Lu, C. “Agilla: A mobile agent middleware for self-adaptive wireless sensor networks”. ACM Transactions on Autonomous and Adaptive Systems 4(3), 1-26, 2009.
[20]  Fuentes, L., Gamez, N., Sanchez, P. “Aspect-oriented design and implementation of context-aware pervasive applications”. Innovations in Systems and Software Engineering, 5(1), 79-93, 2009.
[21]  Funk, C., Schultheis, A., Linnhoff-Popien, C., Mitic, J., Kuhmunch, C. “Adaptation of Composite Services in Pervasive Computing Environments”. Proceedings of IEEE International Conference on Pervasive Services (2007), 242-249. Istanbul, Turkey.
[22]  Genesereth, M.R., Ketchpel, S.P. “Software Agents”. Communications of the ACM, 37(7), 48-53, 1994.
[23]  Ilachinski, A. “Artificial War: Multiagent-Based Simulation of Combat”. World Scientific (2004), Singapore.
[24]  jWebSocket Team. jWebSocket software Web site. Available: [Accessed 2012-12-15].
[25]  Kiczales, G., Lamping, J., Mendhekar, A., Maeda, C., Lopes, C., Loingtier, J.M., Irwin, J. “Aspect-oriented programming”. Proceedings of the European Conference on Object-Oriented Programming (ECOOP 1997), Lecture Notes in Computer Science, 1241, pp. 220-242. Aksit, Matsuoka eds. Springer-Verlag, Berlin, Germany.
[26]  Kindberg, T., Fox, A. “System Software for Ubiquitous Computing”. IEEE Pervasive Computing, 1(1), 70-81, 2002.
[27]  Kumar, M., Shirazi, B.A., Das, S.K., Sung, B.Y., Levine, D., Singhal, M. “PICO: A Middleware Framework for Pervasive Computing”. IEEE Pervasive Computing, 2(3), 72-79, 2003.
[28]  Kumar, M., Zambonelli, F. “Middleware for pervasive computing”. Pervasive Mobile Computing, 3(4), 329-331, 2007.
[29]  Lauren, M.K., Stephen, R.T. “Map-Aware Non-uniform Automata (MANA) – A New Zealand Approach to Scenario Modelling”. Journal of Battlefield Technology, 5(1, March 2002) 27ff. Available: [Accessed 2012-12-15].
[30]  Luke, S., Balan, G.C., Panait, L.A., Cioffi-Revilla, C., Paus, S. “Mason: a Java Multi-Agent Simulation Library”. Proceedings of Agent 2003 Conference on Challenges in Social Simulation.
[31]  Minar, N., Burkhart, R., Langton, C., Askenazi, M. “The Swarm Simulation System: A Toolkit for Building Multi-Agent Simulations”. Working Paper 96-06-042 (1996), Santa Fe Institute.
[32]  Monson-Haefel, R., Chappell, D. Java Message Service. O'Reilly & Associates (2000).
[33]  NetLogo Web site. Available: [Accessed 2012-12-15].
[34]  Niemelä, E., Latvakoski, J. “Survey of requirements and solutions for ubiquitous software”. Proceedings of the 3rd International Conference on Mobile and Ubiquitous Multimedia (2004), 71-78. College Park, MD.
[35]  North, M.J., Collier, N.T., Vos, J.R. “Experiences Creating Three Implementations of the Repast Agent Modeling Toolkit”. ACM Transactions on Modeling and Computer Simulation, 16 (2006), 1-25.
[36]  OpenSocial specifications. Available: [Accessed 2012-12-15].
[37]  Parker, M.T. “What is Ascape and Why Should You Care?” Journal of Artificial Societies and Social Simulation, 4(1). 2001.
[38]  Parunak, H.V.D., Nielsen, P., Brueckner, S., Alonso, R. “Hybrid multi-agent systems: integrating swarming and BDI agents”. Proceeding of the 4th international conference on Engineering self-organising systems, ESOA'06. Springer-Verlag Berlin, Heidelberg, 2007.
[39]  Pearl, J. Probabilistic Reasoning in Intelligent Systems. Morgan-Kaufmann (1988), San Francisco, CA.
[40]  Pham, H., Paluska, J.M., Saif, U., Stawarz, C., Terman, C., Ward, S. A dynamic platform for runtime adaptation. Pervasive and Mobile Computing, 5(6), 676-696, 2009.
[41]  Pitt, E., McNiff, K. Java.rmi: the Remote Method Invocation Guide. Addison-Wesley 2009.
[42]  Platon, E., Mamei, M., Sabouret, N., Honiden, S., Parunak, H.V. “Mechanisms for environments in multi-agent systems: Survey and opportunities”. Autonomous Agents and Multi-Agent Systems, 14(1), 31-47, 2007.
[43]  Poggi, A. “Developing Ontology Based Applications with O3L”. WSEAS Transactions on Computers, 8(8), 1286-1295, 2009.
[44]  Poggi, A., Tomaiuolo, M., Turci, P. “Service Composition in Open Agent Societies”. Proceedings of WOA, 92-99, 2003.
[45]  Pokahr, A., Braubach, L., Lamersdorf, W. Jadex: A BDI Reasoning Engine. Multi-Agent Programming, 149-174, 2005.
[46]  Porekar, J., Dolinar, K., Jerman-Blazic, B. “Middleware for Privacy Protection of Ambient Intelligence and Pervasive Systems”. WSEAS Transactions on Information Science & Applications, 3(4), 633-639, 2007.
[47]  Raatikainen, K., Chrisrensen, H.B., Nakajima, T. “Application requirements for middleware for mobile and pervasive systems”. ACM SIGMOBILE - Mobile Computing and Communications Review, 6(4), 16-24, 2002.
[48]  Rao, A.S., Georgeff, M.P. “Modeling rational agents within a BDI-architecture”. Proceedings of Knowledge Representation and Reasoning (Apr. 1991), 473-484. Fikes & Sandewall eds. Morgan Kaufmann Publishers, Inc.
[49]  Rashid, A., Kortuemì, G. “Adaptation as an Aspect in Pervasive Computing”. Proceedings of the Workshop on Building Software for Pervasive Computing at the Conference on Object-Oriented Programming Systems, Languages, and Applications, OOPSA 2004. Vancouver, Canada.
[50]  Saha, D., Mukherjee, A. Pervasive Computing: A Paradigm for the 21st Century. Computer, 36(3), 25-31, 2003.
[51]  Satyanarayanam, M. “Pervasive Computing Vision and Challenges”. IEEE Personal Communications, 6(8), 10-17, 2001.
[52]  Searle, J.R. Speech Acts: An Essay in the Philosophy of Language. Cambridge University Press (1969).
[53]  Sheu, R., Czajkowski, M., Hofmann, M.O., Schow, G. “Multiagent-based adaptive pervasive service architecture (MAPS)”. Proceedings of the 3rd workshop on Agent-oriented software engineering challenges for ubiquitous and pervasive computing, AUPC 2009 (pp. 3-8). New York.
[54]  Sousa, J.P., Poladian, V., Garlan, D., Schmeri, B., Shaw, M. “Task-based adaptation for ubiquitous computing”. IEEE Transactions on Systems, Man, and Cybernetics, 36(3), 328-340, 2006.
[55]  Soylu, A., De Causmacker, P., Desmet, P. “Context and Adaptivity in Pervasive Computing Environments: Links with Software Engineering and Ontological Engineering”. Journal of Software, 4(9), 992-1013, 2009.
[56]  Tesauro, G., Chess, D.M., Walsh, W.E., Das, R., Segal, A., Whalley, I., Kephart, J.O., White, S.R. “A Multi-Agent Systems Approach to Autonomic Computing”. Proceedings of the 3rd international Joint Conference on Autonomous Agents and Multiagent Systems (2004), 464-471. New York, NY.
[57]  Tweedale, J., Ichalkaranje, N., Sioutis, C., Jarvis, B., Consoli, A., Phillips-Wren, G. “Innovations in multi-agent systems”. Journal of Network and Computer Applications, 3(30), 1089-1115, 2007.
[58]  Winikoff, M. “Jack Intelligent Agents: An Industrial Strength Platform”. Multiagent Systems, Artificial Societies, and Simulated Organizations, (15), Multi-Agent Programming II, 175-193, 2006.
[59]  Wooldridge, M. “The Logical Modelling of Computational Multi-Agent Systems”. PhD thesis, Department of Computation, UMIST, Manchester, UK (Oct. 1992). Also available as Technical Report MMU–DOC–94–01, Department of Computing, Manchester Metropolitan University, Chester St., Manchester, UK.