Project Team Adam

Overall Objectives
Scientific Foundations
Application Domains
New Results
Contracts and Grants with Industry
Partnerships and Cooperations
PDF e-pub XML

Section: Software


Participants : Russel Nzekwa, Daniel Romero [correspondant] , Romain Rouvoy, Lionel Seinturier.

SPACES is a context mediation middleware that follows the REpresentational State Transfer (REST) principles  [61] . The current implementation of SPACES is based on the COSMOS context framework  [54] , [72] and the Comanche web server  [53] . Both COSMOS and Comanche are based on the Fractal component model and use the Julia implementation of the Fractal runtime environment  [53] .

The main features of the current SPACES implementation are presented below:

  1. Ubiquitous connectors: SPACES defines connectors that encapsulate the distribution concern. These connectors expose the COSMOS context nodes as REST resources with logical associated URLs, and enable interactions between consumers and producers via different communication protocols and the discovery of the available context sources. The current SPACES implementation supports interaction using the HTTP and twitter  [65] protocols. For discovery, the implementation uses the Service Location Protocol (SLP)  [63] .

  2. Context Representation: Following the REST principles, SPACES supports multiple representations of the context information: JSON  [56] , XML and Java serialization.

  3. Quality of context (QoC) information: The QoC properties are incorporated as service attributes in the SLP advertisements of the context information.

  4. Context selection: The restrictions in terms of QoC of the required context information are expressed as LDAP filters  [77] . SPACES benefits from the LDAP based queries of SLP to select the context providers.

We use XStream 1.3.13  [51] and JSON-lib 2.2.34  [50] to serialize context information as XML and JSON documents. For SLP and twitter we employ jSLP 1.0.0  [71] and twitter-4j 2.0.6  [80] .

SPACES is registered with the APP (Agence pour la Protection des Programmes) under reference IDDN 10-500002-000.