English

JavaCtx: Seamless Toolchain Integration for Context-Oriented Programming

Programming Languages 2011-04-08 v1

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.

Keywords

Cite

@article{arxiv.1104.1351,
  title  = {JavaCtx: Seamless Toolchain Integration for Context-Oriented Programming},
  author = {Guido Salvaneschi and Carlo Ghezzi and Matteo Pradella},
  journal= {arXiv preprint arXiv:1104.1351},
  year   = {2011}
}
R2 v1 2026-06-21T17:50:52.317Z