English

Poplar: A Java Extension for Evolvable Component Integration

Programming Languages 2011-06-10 v2 Software Engineering

Abstract

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.

Keywords

Cite

@article{arxiv.1106.1531,
  title  = {Poplar: A Java Extension for Evolvable Component Integration},
  author = {Johan Nyström-Persson and Shinichi Honiden},
  journal= {arXiv preprint arXiv:1106.1531},
  year   = {2011}
}

Comments

17 pages. Corrected typos

R2 v1 2026-06-21T18:19:21.525Z