ContextJ: Context-oriented Programming with Java
-
- Appeltauer Malte
- Hasso Plattner Institute, University of Potsdam
-
- Hirschfeld Robert
- Hasso Plattner Institute, University of Potsdam
-
- Haupt Michael
- Hasso Plattner Institute, University of Potsdam
-
- Masuhara Hidehiko
- Graduate School of Arts and Sciences, University of Tokyo
Abstract
The development of context-aware systems requires dynamic adaptation that challenges state-of-the-art programming language support. Context-oriented programming (COP) provides dedicated abstractions for first-class representation of context-dependent behavior. So far, COP has been implemented for dynamically-typed languages such as Lisp, Smalltalk, Python, Ruby, and JavaScript relying on reflection mechanisms, and for the statically-typed programming language Java based on libraries and pre-processors. ContextJ is our compiler-based COP implementation for Java that properly integrates COP's layer concept into the Java type system. In this paper, we introduce ContextJ's language constructs, semantics, and implementation. We present a case-study of a ContextJ-based desktop application.
Journal
-
- Information and Media Technologies
-
Information and Media Technologies 6 (2), 399-419, 2011
Information and Media Technologies Editorial Board
- Tweet
Details 詳細情報について
-
- CRID
- 1390282680241857152
-
- NII Article ID
- 130000770579
-
- ISSN
- 18810896
-
- Text Lang
- en
-
- Data Source
-
- JaLC
- CiNii Articles
- Crossref
-
- Abstract License Flag
- Disallowed