skip to main content
10.1145/1138063.1138071acmconferencesArticle/Chapter ViewAbstractPublication PagesicseConference Proceedingsconference-collections
Article

Context-aware exception handling in mobile agent systems: the MoCA case

Published: 22 May 2006 Publication History

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 support now 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 incorporating explicit services to 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. The discussions include how to use other emerging implementation techniques, such as aspect-oriented programming, to address the limitations of classical publish-subscribe mechanisms identified in our study.

References

[1]
A. K. Dey and G. D. Abowd. Towards a better understanding of context and context-awareness. In Proc. of the 2000 Conference on Human Factors in Computing Systems, The Hague, The Netherlands, April 2000.]]
[2]
G. Abowd et al. 1999. Towards a Better Understanding of Context and Context-Awareness. In Proc. of the 1st Intl. Symp. on Handheld and Ubiquitous Computing (Karlsruhe, September 1999, LNCS 1707. Springer, 304--307.]]
[3]
A. Dey. Understanding and Using Context. Personal Ubiquitous Comput. 5, 1 (Jan. 2001), 4--7.]]
[4]
B. N. Schilit, R. Adams and R. Want. Context-aware computing applications. In Proc. Workshop on Mobile Computing Systems and Applications. IEEE, December 1994.]]
[5]
O. Davidyuk 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. ACM Press, New York, NY, 213--220.]]
[6]
A. Iliasov and A. Romanovsky. CAMA: Structured Communication Space and Exception Propagation Mechanism for Mobile Agents. ECOOP-EHWS 2005, 19 July 2005, Glasgow.]]
[7]
V. Muthusamy et al. Publisher Mobility in Distributed Publish/Subscribe Systems, Fourth International Workshop on Distributed Event-Based Systems (DEBS) (ICDCSW'05), 2005.]]
[8]
G. Cugola and J. E. M. Cote. On Introducing Location Awareness in Publish-Subscribe Middleware. Fourth International Workshop on Distributed Event-Based Systems (DEBS) (ICDCSW'05), 2005.]]
[9]
V. Sacramento et al, MoCA: A Middleware for Developing Collaborative Applications for Mobile Users. IEEE Distributed Systems Online, vol. 5, no. 10, 2004.]]
[10]
S. Sharples, V. Callaghan and G. Clarke, A Multi-Agent Architecture for Intelligent Building Sensing and Control. International Sensor Review Journal, May 1999.]]
[11]
N. Shadbolt, Ambient intelligence. IEEE Trans. Intell. Transp. Syst., vol. 18, no. 4, pp. 2--3, Jul. - Aug. 2003.]]
[12]
F. Souchon et al. Improving exception handling in multi-agent systems. In C. Lucena et al (Eds), Software Engineering for Multi-Agent Systems II, number 2940. Feb. 2004.]]
[13]
A. F. Garcia, C. M. F. Rubira, A. Romanovsky, J. Xu. A Comparative Study of Exception Handling Mechanisms for Building Dependable Object Oriented Software: Journal of Systems and Software. 59(2001), 197--222.]]
[14]
J. B. Goodenough. Exception handling: issues and a proposed notation. Commun. ACM 18, 12 (Dec. 1975), 683--696.]]
[15]
N. Loughran et al. A domain analysis of key concerns - known and new candidates, Katholieke Universiteit Leuven, Leuven, AOSD-Europe Deliverable D43, AOSD-Europe-KUL-6, 27 February 2006, pp 87--130. Available at www.aosd-europe.net]]
[16]
F. C. Filho, C. M. F. Rubira and A. Garcia. A Quantitative Study on the Aspectization of Exception Handling. In ECOOP'2005 Workshop on Exception Handling in Object-Oriented Systems, Glasgow, UK, 2005.]]
[17]
R. Laddad. AspectJ in Actions. Manning, 2003.]]
[18]
A. Tripathi, D. Kulkarni and T. Ahmed. Exception Handling Issues in Context Aware Collaboration Systems for Pervasive Computing. In Developing Systems that Handle Exceptions. Proc. ECOOP 2005 Workshop on Exception Handling in Object Oriented Systems. TR 05-050. LIRMM. Montpellier-II University. 2005. July. France.]]
[19]
L. Capra, W. Emmerich and C. Mascolo. CARISMA: Context-Aware Reflective Middleware System for Mobile Applications. IEEE Transactions on Software Engineering 29(10): pp. 929--944, Oct 2003.]]
[20]
M. Klein and C. Dellarocas. Exception Handling in Agent Systems. Proc. of the 3rd Int. Conference on Autonomous Agents, Seattle, WA, May 1-5, 1999. Pp. 62--6.]]
[21]
T. Anderson and P. A. Lee. Fault Tolerance: Principles and Practice. Prentice-Hall, 2nd edition, 1990.]]
[22]
D. Parnas and H. Wurges. Response to Undesired Events in Software Systems. Proc. 2nd ICSE, S.Francisco, USA, 437--446, 1976.]]
[23]
F. Cristian. A Recovery Mechanism for Modular Software. Proc. 4th ICSE, Munich, Germany, pp. 42--50, 1979.]]
[24]
M. Lippert and C. Lopes. A Study on Exception Detection and Handling using Aspect-Oriented Programming. Proc. 22nd ICSE, Limerick, Ireland, pp. 418--427, 2000.]]
[25]
M. Robillard and G. Murphy. Designing Robust Java Programs with Exceptions. Proc. 8th FSE, San Diego, USA, 2--10, 2000.]]
[26]
M. Robillard and G. Murphy. Static analysis to support the evolution of exception structure in object-oriented systems. ACM Trans. Softw. Eng. Methodol., 12(2): 191-221 (2003).]]
[27]
G. Kiczales et al. Aspect-Oriented Programming. Proc. ECOOP'97, pp. 220--242.]]
[28]
G. Kiczales et al. An Overview of AspectJ. Proc. ECOOP'01, pp. 327--353.]]

Cited By

View all
  • (2022)A Systematic Review of Fault Tolerance Techniques for Adaptive and Context-Aware Systems2022 IEEE International Conference on Autonomic Computing and Self-Organizing Systems (ACSOS)10.1109/ACSOS55765.2022.00020(21-30)Online publication date: Sep-2022
  • (2020)Mobile Apps as Personal Assistant Agents: the JaCa-Android Framework for programming Agents-based applications on mobile devicesAutonomous Agents and Multi-Agent Systems10.1007/s10458-020-09474-734:2Online publication date: 14-Jul-2020
  • (2014)ConExT-UProceedings of the 2014 28th International Conference on Advanced Information Networking and Applications Workshops10.1109/WAINA.2014.25(127-132)Online publication date: 13-May-2014
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
SELMAS '06: Proceedings of the 2006 international workshop on Software engineering for large-scale multi-agent systems
May 2006
117 pages
ISBN:1595933956
DOI:10.1145/1138063
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 22 May 2006

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. aspect-oriented programming
  2. context-awareness
  3. exception handling
  4. fault tolerance
  5. middleware
  6. mobile agents

Qualifiers

  • Article

Conference

ICSE06
Sponsor:

Upcoming Conference

ICSE 2025

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)1
  • Downloads (Last 6 weeks)0
Reflects downloads up to 01 Mar 2025

Other Metrics

Citations

Cited By

View all
  • (2022)A Systematic Review of Fault Tolerance Techniques for Adaptive and Context-Aware Systems2022 IEEE International Conference on Autonomic Computing and Self-Organizing Systems (ACSOS)10.1109/ACSOS55765.2022.00020(21-30)Online publication date: Sep-2022
  • (2020)Mobile Apps as Personal Assistant Agents: the JaCa-Android Framework for programming Agents-based applications on mobile devicesAutonomous Agents and Multi-Agent Systems10.1007/s10458-020-09474-734:2Online publication date: 14-Jul-2020
  • (2014)ConExT-UProceedings of the 2014 28th International Conference on Advanced Information Networking and Applications Workshops10.1109/WAINA.2014.25(127-132)Online publication date: 13-May-2014
  • (2013)Dynamic Parameter Filling for Semantic Exceptions in Context-Aware SystemsProceedings of the 2013 IEEE 10th International Conference on Ubiquitous Intelligence & Computing and 2013 IEEE 10th International Conference on Autonomic & Trusted Computing10.1109/UIC-ATC.2013.69(293-300)Online publication date: 18-Dec-2013
  • (2013)A Method for Model Checking Context-Aware Exception HandlingProceedings of the 2013 27th Brazilian Symposium on Software Engineering10.1109/SBES.2013.16(59-68)Online publication date: 1-Oct-2013
  • (2012)Towards a formal model to reason about context-aware exception handlingProceedings of the 5th International Workshop on Exception Handling10.5555/2666990.2666997(27-33)Online publication date: 9-Jun-2012
  • (2012)Towards a formal model to reason about context-aware exception handling2012 5th International Workshop on Exception Handling (WEH)10.1109/WEH.2012.6226595(27-33)Online publication date: Jun-2012
  • (2012)Toward Efficient Detection of Semantic Exceptions in Context-Aware SystemsProceedings of the 2012 9th International Conference on Ubiquitous Intelligence and Computing and 9th International Conference on Autonomic and Trusted Computing10.1109/UIC-ATC.2012.138(826-831)Online publication date: 4-Sep-2012
  • (2012)A Lingustic Approach for Robustness in Context Aware ApplicationsProceedings of the 2012 9th International Conference on Ubiquitous Intelligence and Computing and 9th International Conference on Autonomic and Trusted Computing10.1109/UIC-ATC.2012.137(24-31)Online publication date: 4-Sep-2012
  • (2012)Novel dynamic shadow approach for fault tolerance in mobile agent systems2012 6th International Conference on Signal Processing and Communication Systems10.1109/ICSPCS.2012.6507945(1-6)Online publication date: Dec-2012
  • Show More Cited By

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media