arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1106.1531cs.PLcs.SE
收藏

Poplar:一个支持可演化组件集成的Java扩展

Poplar: A Java Extension for Evolvable Component Integration

Johan Nyström-Persson, Shinichi Honiden

摘要:

Java程序设计语言包含许多有助于基于组件的软件开发(CBSD)的功能,例如接口、可见性级别和对封装的强大支持。然而,组件演化经常会导致所谓的破坏性更改,这主要是因为组件以显式方法调用和字段访问的形式相互连接的刚性。我们提出了一个Java扩展,白杨树,我们目前正在开发。在Poplar中,组件间的依赖关系使用声明式查询来表示;使用规划算法生成的具体链接代码在编译时替换这些代码。Poplar包括一个基于类类型状态协议和标签的最小规约语言,以及一个轻量级的效果系统,它可以确保手写代码和生成的代码之间没有不必要的干扰。我们给出了几个例子,全自动组件集成使用白杨树,并展示了它的潜力,大大简化面向对象的软件开发,通过进化和静态检查的集成链接。

英文摘要:

The Java programming language contains many features that aid component-based software development (CBSD), such as interfaces, visibility levels, and strong support for encapsulation. However, component evolution often causes so-called breaking changes, largely because of the rigidity of component interconnections in the form of explicit method calls and field accesses. We present a Java extension, Poplar, which we are currently developing. In Poplar, inter-component dependencies are expressed using declarative queries; concrete linking code, generated using a planning algorithm, replaces these at compile time. Poplar includes a minimal specification language based on typestate-like protocols and labels, and a lightweight effect system, which ensures the absence of unwanted interference between hand-written code and generated code. We give several examples of fully automatic component integration using Poplar, and demonstrate its potential to simplify object-oriented software development greatly through evolvable and statically checkable integration links.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑