Skip to main content
QUICK REVIEW

[Paper Review] Towards Architectural Programming of Embedded Systems

Arne Haber, Jan Oliver Ringert|arXiv (Cornell University)|Sep 8, 2014
Advanced Software Engineering MethodologiesComputer Science16 references7 citations
TL;DR

This paper proposes architectural programming for embedded systems by integrating architectural descriptions directly into Java, enabling unified modeling of architecture, data structures, and behavior within a single language view. A prototype compiler demonstrates the feasibility and challenges of this approach, eliminating the need for separate mappings between architectural and implementation views.

ABSTRACT

Integrating architectural elements with a modern programming language is essential to ensure a smooth combination of architectural design and programming. In this position statement, we motivate a combination of architectural description for distributed, asynchronously communicating systems and Java as an example for such an integration. The result is an ordinary programming language, that exhibits architecture, data structure and behavior within one view. Mappings or tracing between different views is unnecessary. A prototypical implementation of a compiler demonstrates the possibilities and challenges of architectural programming.

Motivation & Objective

  • To address the disconnect between architectural design and low-level implementation in embedded systems.
  • To enable seamless integration of architectural elements with a modern programming language like Java.
  • To eliminate the need for traceability or mapping between separate architectural and code views.
  • To demonstrate the feasibility of architectural programming through a prototype compiler.
  • To explore challenges in type safety, modularity, and tooling for architectural programming.

Proposed method

  • Extends Java with architectural constructs such as components, connectors, and interfaces to express system structure.
  • Introduces a domain-specific language (DSL) embedded in Java to describe system architecture within the same source code.
  • Uses a compiler pipeline to analyze and type-check architectural and behavioral code together.
  • Applies design patterns like component-based decomposition and event-driven communication for distributed systems.
  • Employs a metamodeling approach to represent architectural elements as first-class citizens in the language.
  • Validates the approach through a prototype implementation targeting embedded, asynchronously communicating systems.

Experimental results

Research questions

  • RQ1How can architectural descriptions be natively integrated into a general-purpose programming language like Java?
  • RQ2What are the benefits and trade-offs of unifying architecture, data, and behavior in a single programming view?
  • RQ3Can a compiler effectively enforce consistency between architectural structure and implementation logic?
  • RQ4What are the practical challenges in type safety, modularity, and tool support for architectural programming?
  • RQ5How does architectural programming affect the development and verification of distributed embedded systems?

Key findings

  • The integration of architectural constructs into Java enables a unified view of system structure, data, and behavior without requiring separate modeling artifacts.
  • The prototype compiler successfully validates architectural and behavioral code together, reducing the risk of inconsistencies.
  • The approach eliminates the need for traceability or mapping between architectural and implementation views, simplifying development.
  • Challenges in type safety and modularity were identified, particularly in handling asynchronous communication and component composition.
  • The method supports model-driven development principles by enabling formal verification and code generation from architectural models.
  • The evaluation confirms that architectural programming is feasible and beneficial for embedded systems, especially in complex, distributed environments.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.