A new component-oriented programming language with the first-class connector

  • Authors:
  • Bo Chen;ZhouJun Li;HuoWang Chen

  • Affiliations:
  • Computer College of National University of Defense Technology, Changsha, Hunan, P.R. China;School of Computer Science and Engineering, Beihang University, Beijing, P.R. China;Computer College of National University of Defense Technology, Changsha, Hunan, P.R. China

  • Venue:
  • JMLC'06 Proceedings of the 7th joint conference on Modular Programming Languages
  • Year:
  • 2006

Quantified Score

Hi-index 0.00

Visualization

Abstract

The idea of a connector, which explicitly describes the interactions among components, is one of the important contributions of the research on software architecture. The importance of the connector as a first-class entity in software architecture has been increasingly recognized. In this paper we argue that such an important abstraction also deserves first-class support from programming languages. We present a new component-oriented programming language, SAJ (Software Architecture based Java), which integrates some architectural concepts such as the component, the port and particularly the connector into Java. The connector is treated as a first-class entity in SAJ as is the component so that software architecture can be made more explicit at implementation level and the simultaneous reuse of the component and the connector can be realized. The component model and the connector model underlying SAJ are also discussed in detail. We formalize our language giving both the type system and operational semantics and prove the type soundness property.