コンピュータ ソフトウェア
Print ISSN : 0289-6540
ContextJ: Java上の文脈指向プログラミング
Malte APPELTAUERRobert HIRSCHFELDMichael HAUPT増原 英彦
著者情報
ジャーナル フリー

2011 年 28 巻 1 号 p. 1_272-1_292

詳細
抄録

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.

著者関連情報
© 日本ソフトウェア科学会 2011
前の記事 次の記事
feedback
Top