ABSTRACT
Context-Oriented Programming languages enable the definition of systems that can adapt their behavior according to specific situations in their surrounding environment. Current approaches require developers to have prior knowledge about such situations and the adaptations applicable in each one. Such approach hinders the use of Context-Oriented Programming in modern open systems, in which the totality of the system may be unknown beforehand. We propose context slices which allow the autonomous discovery and composition of adaptations gathered from systems' surrounding environment. Context slices use zero configuration networking services to advertise and discover adaptations in the network, and an ontology structure to manage them. We show the applicability of context slices for cyber physical systems by means of an ambient assisted living scenario.
- E. Bainomugisha, J. Vallejos, C. De Roover, A. Lombide Carreton, and W. De Meuter. Interruptible Context-dependent Executions: A Fresh Look at Programming Context-aware Applications. Symp. on New Ideas and Reflections on Software. ACM, 2012. Google ScholarDigital Library
- D. Bianchini, V. D. Antonellis, and M. Melchiori. P2P-SDSD: on-the-Fly Service-Based Collaboration in Distributed Systems. Journal Metadata Semantic Ontologies 5.3 (2010). Google ScholarDigital Library
- S. González, K. Mens, M. Colacioiu, and W. Cazzola. Context Traits: Dynamic Behaviour Adaptation Through Run-Time Trait Recomposition. Intl. Conf. on Aspect-oriented software development. 12. ACM, 2013. Google ScholarDigital Library
- S. González et al. Subjective-C: Bringing Context to Mobile Platform Programming. Intl. Conf. on Software Language Engineering. Springer-Verlag, 2011. Google ScholarDigital Library
- L. Jin and L. Liu. An Ontology Slicing Method Based on Ontology Definition Metamodel*. Business Information Systems. Springer-Verlag, 2007. Google ScholarDigital Library
- S. Montanelli et al. The ESTEEM platform: enabling P2P semantic collaboration through emerging collective knowledge. Journal of Intelligent Information Systems 36.2 (2011). Google ScholarDigital Library
- G. Salvaneschi, C. Ghezzi, and M. Pradella. Context-oriented Programming: A Software Engineering Perspective. Journal of Systems and Software 85.8 (2012). Google ScholarDigital Library
- J. Vallejos. Modularising Context Dependency and Group Behaviour in Ambient-oriented Programming. PhD thesis. Vrije Universiteit Brussel, 2011.Google Scholar
- T. Van Cutsem, S. Mostinckx, E. Gonzalez Boix, J. Dedeker, and W. De Meuter. AmbintTalk: Object-oriented, Event-driven Programming In Mobile Ad-hoc Networks. European Conf. in Object-Oriented Programming. 2007.Google Scholar
Index Terms
- Context Slices: Lightweight discovery of behavioral adaptations
Recommendations
Programming language support to context-aware adaptation: a case-study with Erlang
SEAMS '10: Proceedings of the 2010 ICSE Workshop on Software Engineering for Adaptive and Self-Managing SystemsSoftware applications are increasingly situated in a world where context changes continuously. At the same time, applications need to provide continuous service, and the service provided often needs to change in order to adapt to the new contexts. ...
Context traits: dynamic behaviour adaptation through run-time trait recomposition
AOSD '13: Proceedings of the 12th annual international conference on Aspect-oriented software developmentContext-oriented programming emerged as a new paradigm to support fine-grained dynamic adaptation of software behaviour according to the context of execution. Though existing context-oriented approaches permit the adaptation of individual methods, in ...
Uniting global and local context behavior with context Petri nets
COP '12: Proceedings of the 4th ACM International Workshop on Context-Oriented ProgrammingContext-oriented programming enables adaptation of systems to their execution environment. Behavioral adaptations are defined in the system and then associated to a context. Such adaptations are made available at runtime when their context is deemed ...
Comments