Skip to main navigation Skip to search Skip to main content

Abstracting context in event-based software

  • Ecole Polytechnique
  • Purdue University

Research output: Chapter in Book/Report/Conference proceedingChapterpeer-review

Abstract

With the recent immersion of advanced mobile devices in the daily lives of millions, pervasive computing is becoming a reality. Developing pervasive software systems is inherently difficult though it requires to deal with heterogeneous infrastructure besides peer-to-peer communication and device mobility. Thus, programming support for such applications must provide loose coupling between different participants, as well as loose coupling between applications and communication protocols. Event-based programming provides an appealing paradigm to decouple participants, however many event-based systems and languages have hardwired communication protocols, which limits their adaptability to heterogeneous deployment environments. In this paper we address this issue by abstracting the context in which events are created and handled, including protocols used to convey, compose, and consume these events. More precisely, we propose to extend an event-based programming model with context aspects - conspects for short. We demonstrate the elegant usage of conspects through several examples based on their implementation in EventJava and illustrate how they allow to modularize event-based pervasive software. We also provide a thorough empirical investigation of the performance overheads and benefits of conspects, including the costs of weaving them dynamically. Through empirical evaluations, we assess the benefits of conspects for switching protocols without any changes to the base applications through three case studies with EventJava. The three studies are (1) a tornado monitoring system deployed on different architectures ranging from desktop x86 to embedded LEON3, (2) a mobile social networking suite with protocols for different scenarios, and (3) the introduction of a novel adaptive communication protocol in our mobile social network suite as well as in a novel robotic swarm application.

Original languageEnglish
Title of host publicationTransactions on Aspect-Oriented Software Development IX
PublisherSpringer Verlag
Pages123-167
Number of pages45
ISBN (Print)9783642355509
DOIs
StatePublished - 2012

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume7271 LECTURE NO
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Keywords

  • aspect
  • context
  • distribution
  • Event
  • protocol

Fingerprint

Dive into the research topics of 'Abstracting context in event-based software'. Together they form a unique fingerprint.

Cite this