Abstract
Handling erroneous conditions in context-aware mobile agent systems is challenging due to their intrinsic characteristics: openness, lack of structuring, mobility, asynchrony and increased unpredictability. Even though several context-aware middleware systems now support the development of mobile agent-based applications, they rarely provide explicit and adequate features for context-aware exception handling. This paper reports our experience in implementing error handling strategies in some prototype context-aware collaborative applications built with the MoCA (Mobile Collaboration Architecture) system. MoCA is a publish-subscribe middleware supporting the development of collaborative mobile applications by providing explicit services that empower software agents with context-awareness. We propose a novel context-aware exception handling mechanism and discuss some lessons learned during its integration in the MoCA infrastructure.
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Abowd, G.D., Dey, A.K., Brown, P.J., Davies, N., Smith, M., Steggles, P.: Towards a Better Understanding of Context and Context-Awareness. In: Gellersen, H.-W. (ed.) HUC 1999. LNCS, vol. 1707, pp. 304–307. Springer, Heidelberg (1999)
Abowd, G.D., Dey, A.K., Brown, P.J., Davies, N., Smith, M., Steggles, P.: Towards a Better Understanding of Context and Context-Awareness. In: Gellersen, H.-W. (ed.) HUC 1999. LNCS, vol. 1707, pp. 304–307. Springer, Heidelberg (1999)
Dey, A.: Understanding and Using Context. Personal Ubiquitous Comput. 5(1), 4–7 (2001)
Schilit, B.N., Adams, R., Want, R.: Context-aware computing applications. In: Proc. Workshop on Mobile Computing Systems and Applications, December 1994, IEEE Computer Society Press, Los Alamitos (1994)
Davidyuk, O., et al.: Context-aware middleware for mobile multimedia applications. In: Proc. of the 3rd international Conference on Mobile and Ubiquitous Multimedia, College Park, Maryland, October 27-29, 2004, vol. 83, pp. 213–220. ACM Press, New York (2004)
Iliasov, A., Romanovsky, A.: CAMA: Structured Communication Space and Exception Propagation Mechanism for Mobile Agents. In: ECOOP-EHWS, Glasgow, 19 July (2005)
Muthusamy, V., et al.: Publisher Mobility in Distributed Publish/Subscribe Systems. In: Fourth International Workshop on Distributed Event-Based Systems (DEBS), ICDCSW’05 (2005)
Cugola, G., Cote, J.E.M.: On Introducing Location Awareness in Publish-Subscribe Middleware. In: Fourth International Workshop on Distributed Event-Based Systems (DEBS), ICDCSW’05 (2005)
Gelernter, D.: Generative communication in Linda. ACM Trans. Program. Lang. Syst. 7(1), 80–112 (1985)
Blair, G., et al.: An architecture for next generation middleware. In: Proceedings of the IFIP International Conference on Distributed Systems Platforms and Open Distributed Processing, Springer, London (1998)
Tripathi, A.: Challenges designing next-generation middleware systems. Commun. ACM 45(6), 39–42 (2002)
Smith, B.C.: Procedural Reflection in Programming Languages. These (Phd) —Massachusetts Institute of Technology (1982)
Roman, M., Kon, F., Campbell, R.H.: Reflective Middleware: From Your Desk to Your Hand. IEEE Distributed Systems Online Journal 2(5) (2001)
Sacramento, V., et al.: MoCA: A Middleware for Developing Collaborative Applications for Mobile Users. IEEE Distributed Systems Online 5(10) (2004)
Sharples, S., Callaghan, V., Clarke, G.: A Multi-Agent Architecture for Intelligent Building Sensing and Control. International Sensor Review Journal (May 1999)
Shadbolt, N.: Ambient intelligence. IEEE Trans. Intell. Transp. Syst. 18(4), 2–3 (2003)
Souchon, F., Dony, C., Urtado, C., Vauttier, S.: Improving exception handling in multi-agent systems. In: Lucena, C., Garcia, A., Romanovsky, A., Castro, J., Alencar, P.S.C. (eds.) SELMAS 2003. LNCS, vol. 2940, pp. 167–188. Springer, Heidelberg (2004)
Silva, O., Garcia, A., Lucena, C.: The Reflective Blackboard Pattern: Architecting Large-Scale Multi-Agent Systems. In: Garcia, A.F., de Lucena, C.J.P., Zambonelli, F., Omicini, A., Castro, J. (eds.) Software Engineering for Large-Scale Multi-Agent Systems. LNCS, vol. 2603, pp. 76–97. Springer, Heidelberg (2003)
Silva, O., Garcia, A., Lucena, C.: T-Rex: A Reflective Tuple Space Environment for Dependable Mobile Agent Systems. In: Proc. IEEE Workshop on Wireless Communication and Mobile Computation (WCSF’01), Recife, Brazil (Aug. 2001)
Garcia, A.F., Rubira, C.M.F., Romanovsky, A., Xu, J.: A Comparative Study of Exception Handling Mechanisms for Building Dependable Object Oriented Software. Journal of Systems and Software 59, 197–222 (2001)
Goodenough, J.B.: Exception handling: issues and a proposed notation. Commun 18(12), 683–696 (1975)
Tripathi, A., Kulkarni, D., Ahmed, T.: Exception Handling Issues in Context Aware Collaboration Systems for Pervasive Computing. In: Romanovsky, A., Dony, C., Knudsen, J.L., Tripathi, A. (eds.) Developing Systems that Handle Exceptions, Proc. ECOOP 2005 Workshop on Exception Handling in Object Oriented Systems, TR 05-050, LIRMM, Montpellier-II University, France (July 2005)
Capra, L., Emmerich, W., Mascolo, C.: CARISMA: Context-Aware Reflective Middleware System for Mobile Applications. IEEE Transactions on Software Engineering 29(10), 929–944 (2003)
Klein, M., Dellarocas, C.: Exception Handling in Agent Systems. In: Proc. of the 3rd Int. Conference on Autonomous Agents, Seattle, WA, May 1-5, 1999, pp. 62–66 (1999)
Anderson, T., Lee, P.A.: Fault Tolerance: Principles andPractice, 2nd edn. Prentice-Hall, Englewood Cliffs (1990)
Keen, A.W., Olsson, R.A.: Exception Handling during Asynchronous Method Invocation. In: Monien, B., Feldmann, R.L. (eds.) Euro-Par 2002. LNCS, vol. 2400, pp. 656–660. Springer, Heidelberg (2002)
Raje, R.R., William, H.I.: William and Boyles, B. An Asynchronous Remote Method Invocation (ARMI) Mechanism for Java. In: Concurrency: Practice and Experience, vol. 9, pp. 1207–1211. John Wiley & Sons, Chichester (1997)
Caromel, D., Chazarain, G.: Robust exception handling in an asynchronous environment. In: Romanovsky, A., Dony, C., Knudsen, J. L., Tripathi, A (eds.) Developing Systems that Handle Exceptions, Proc. ECOOP, Workshop on Exception Handling in Object Oriented Systems, TR 05-050, LIRMM, Montpellier-II University, France (July 2005)
Roman, G., Julien, C., Huang, Q.: Network abstractions for context-aware mobile computing. In: Proceedings of the 24th international Conference on Software Engineering, ICSE ’02, Orlando, Florida, May 19 - 25, 2002, pp. 363–373. ACM Press, New York (2002)
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 2007 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Cacho, N., Damasceno, K., Garcia, A., Romanovsky, A., Lucena, C. (2007). Exception Handling in Context-Aware Agent Systems: A Case Study. In: Choren, R., Garcia, A., Giese, H., Leung, Hf., Lucena, C., Romanovsky, A. (eds) Software Engineering for Multi-Agent Systems V. SELMAS 2006. Lecture Notes in Computer Science, vol 4408. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-73131-3_4
Download citation
DOI: https://doi.org/10.1007/978-3-540-73131-3_4
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-73130-6
Online ISBN: 978-3-540-73131-3
eBook Packages: Computer ScienceComputer Science (R0)