JavaCtx: Seamless Toolchain Integration for Context-Oriented Programming

Guido Salvaneschi,Carlo Ghezzi,Matteo Pradella
DOI: https://doi.org/10.48550/arXiv.1104.1351
2011-04-07
Abstract:Context-oriented programming is an emerging paradigm addressing at the language level the issue of dynamic software adaptation and modularization of context-specific concerns. In this paper we propose JavaCtx, a tool which employs coding conventions to generate the context-aware semantics for Java programs and subsequently weave it into the application. The contribution of JavaCtx is twofold: the design of a set of coding conventions which allow to write context-oriented software in plain Java and the concept of context-oriented semantics injection, which allows to introduce the context-aware semantics without a source-to-source compilations process which disrupts the structure of the code. Both these points allow to seamless integrate JavaCtx in the existing industrial-strength appliances and by far ease the development of context-oriented software.
Programming Languages
What problem does this paper attempt to address?