Advertisement

Exception Handling in Context-Aware Agent Systems: A Case Study

  • Nelio Cacho
  • Karla Damasceno
  • Alessandro Garcia
  • Alexander Romanovsky
  • Carlos Lucena
Part of the Lecture Notes in Computer Science book series (LNCS, volume 4408)

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.

Keywords

Exception handling mobile agents mobile computing pervasive computing context-awareness middleware ambient intelligence 

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. 1.
    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)CrossRefGoogle Scholar
  2. 2.
    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)CrossRefGoogle Scholar
  3. 3.
    Dey, A.: Understanding and Using Context. Personal Ubiquitous Comput. 5(1), 4–7 (2001)CrossRefGoogle Scholar
  4. 4.
    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)Google Scholar
  5. 5.
    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)CrossRefGoogle Scholar
  6. 6.
    Iliasov, A., Romanovsky, A.: CAMA: Structured Communication Space and Exception Propagation Mechanism for Mobile Agents. In: ECOOP-EHWS, Glasgow, 19 July (2005)Google Scholar
  7. 7.
    Muthusamy, V., et al.: Publisher Mobility in Distributed Publish/Subscribe Systems. In: Fourth International Workshop on Distributed Event-Based Systems (DEBS), ICDCSW’05 (2005)Google Scholar
  8. 8.
    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)Google Scholar
  9. 9.
    Gelernter, D.: Generative communication in Linda. ACM Trans. Program. Lang. Syst. 7(1), 80–112 (1985)zbMATHCrossRefGoogle Scholar
  10. 10.
    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)Google Scholar
  11. 11.
    Tripathi, A.: Challenges designing next-generation middleware systems. Commun. ACM 45(6), 39–42 (2002)CrossRefGoogle Scholar
  12. 12.
    Smith, B.C.: Procedural Reflection in Programming Languages. These (Phd) —Massachusetts Institute of Technology (1982)Google Scholar
  13. 13.
    Roman, M., Kon, F., Campbell, R.H.: Reflective Middleware: From Your Desk to Your Hand. IEEE Distributed Systems Online Journal 2(5) (2001)Google Scholar
  14. 14.
    Sacramento, V., et al.: MoCA: A Middleware for Developing Collaborative Applications for Mobile Users. IEEE Distributed Systems Online 5(10) (2004)Google Scholar
  15. 15.
    Sharples, S., Callaghan, V., Clarke, G.: A Multi-Agent Architecture for Intelligent Building Sensing and Control. International Sensor Review Journal (May 1999)Google Scholar
  16. 16.
    Shadbolt, N.: Ambient intelligence. IEEE Trans. Intell. Transp. Syst. 18(4), 2–3 (2003)CrossRefGoogle Scholar
  17. 17.
    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)Google Scholar
  18. 18.
    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)Google Scholar
  19. 19.
    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)Google Scholar
  20. 20.
    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)CrossRefGoogle Scholar
  21. 21.
    Goodenough, J.B.: Exception handling: issues and a proposed notation. Commun 18(12), 683–696 (1975)zbMATHMathSciNetGoogle Scholar
  22. 22.
    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)Google Scholar
  23. 23.
    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)CrossRefGoogle Scholar
  24. 24.
    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)Google Scholar
  25. 25.
    Anderson, T., Lee, P.A.: Fault Tolerance: Principles andPractice, 2nd edn. Prentice-Hall, Englewood Cliffs (1990)Google Scholar
  26. 26.
    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)CrossRefGoogle Scholar
  27. 27.
    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)Google Scholar
  28. 28.
    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)Google Scholar
  29. 29.
    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)CrossRefGoogle Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2007

Authors and Affiliations

  • Nelio Cacho
    • 1
  • Karla Damasceno
    • 2
  • Alessandro Garcia
    • 1
  • Alexander Romanovsky
    • 3
  • Carlos Lucena
    • 2
  1. 1.Computing Department, Lancaster UniversityUK
  2. 2.Computer Science Department, Pontifical Catholic University of Rio de JaneiroBrazil
  3. 3.Computer Science School, Newcastle UniversityUK

Personalised recommendations