Article ID Journal Published Year Pages File Type
461734 Journal of Systems and Software 2013 16 Pages PDF
Abstract

•We have designed a domain specific language for context modeling.•The language has a high-level abstraction and it is easy to use.•Context models are platform independent and can be reused between applications.•A Model-Driven Development approach is applied to generate software artifacts.•The proposal has been validated for the OCP and JCAF middlewares.

Context-awareness refers to systems that can both sense and react based on their environment. One of the main difficulties that developers of context-aware systems must tackle is how to manage the needed context information. In this paper we present MLContext, a textual Domain-Specific Language (DSL) which is specially tailored for modeling context information. It has been implemented by applying Model-Driven Development (MDD) techniques to automatically generate software artifacts from context models. The MLContext abstract syntax has been defined as a metamodel, and model-to text transformations have been written to generate the desired software artifacts. The concrete syntax has been defined with the EMFText tool, which generates an editor and model injector.MLContext has been designed to provide a high-level abstraction, to be easy to learn, and to promote reuse of context models. A domain analysis has been applied to elicit the requirements and design choices to be taken into account in creating the DSL. As a proof of concept of the proposal, the generative approach has been applied to two different middleware platforms for context management.

Related Topics
Physical Sciences and Engineering Computer Science Computer Networks and Communications
Authors
, , ,