首页    期刊浏览 2024年12月03日 星期二
登录注册

文章基本信息

  • 标题:ContextJ: Java上の文脈指向プログラミング
  • 本地全文:下载
  • 作者:Malte APPELTAUER ; Robert HIRSCHFELD ; Michael HAUPT
  • 期刊名称:コンピュータ ソフトウェア
  • 印刷版ISSN:0289-6540
  • 出版年度:2011
  • 卷号:28
  • 期号:1
  • 页码:1_272-1_292
  • DOI:10.11309/jssst.28.1_272
  • 出版社:Japan Society for Software Science and Technology
  • 摘要:

    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.

国家哲学社会科学文献中心版权所有