Towards Measuring the Adaptability of an AO4BPEL Process

Khavee Agustus Botangen, Jian Yu, Michael Sheng · DOI · OpenReview

Abstract

Adaptability is a significant property which enables software systems to continuously provide the required functionality and achieve optimal performance. The recognised importance of adaptability makes its evaluation an essential task. However, the various adaptability dimensions and implementation mechanisms make adaptive strategies difficult to evaluate. In service oriented computing, several frameworks that extend the WS-BPEL, the de facto standard in composing distributed business applications, focus on enabling the adaptability of processes. We aim to evaluate the adaptability of processes specified from the extended-BPEL frameworks. In this paper, we propose metrics to measure the adaptability of an AO4BPEL process. The metrics is grounded in the perspective that a process is capable of dynamically adapting to changes in business requirements. This opens potential future work on evaluating the adaptability of processes specified from various aspect-oriented WS-BPEL frameworks.

Introduction

In Service-Oriented Computing, WS-BPEL is the standard for orchestrating web services into complex business processes. However, standard BPEL is rigid; modifying process logic typically requires stopping and restarting the system. To address this, AO4BPEL utilizes Aspect-Oriented Programming (AOP) to "inject" new logic (advice) into specific points (pointcuts) of a running process dynamically.

While AO4BPEL provides the mechanism for change, a standardized way to measure process adaptability has been lacking. This paper introduces a quantitative framework to measure the adaptability of AO4BPEL processes using a Process Adaptability Metric (PAM), allowing architects to objectively evaluate and compare design flexibility.

Methodology: Quantifying Adaptability

The proposed framework employs a bottom-up mathematical approach to quantify adaptability across four stages:

  1. Variability Value (VV): For a single activity (e.g., "Book Flight"), the VV is the count of defined variabilities (Before, Around, or After advice).
  2. Variability Degree (VD): The VV is normalized to a scale of 0 to 1 by dividing it by a reference value ($R$), representing the maximum theoretical flexibility for that activity.
  3. Structural Aggregation: BPEL processes are hierarchical. The authors provide formulas to aggregate scores from individual activities to the root:
  4. Sequences/Flows: Calculated as the arithmetic mean of the children's scores.
  5. Switches/Pick Activities: Calculated as a weighted average based on branch execution probabilities.
  6. Process Adaptability Metric (PAM): The final score at the root activity, representing the overall process adaptability.
Mapping a BPMN process to a hierarchical tree structure with associated variabilities (v1-v6).

Case Study and Validation

The metrics were validated using a synthetic Travel Booking Process case study. This process incorporates common workflow patterns: sequential tasks (receiving requests), conditional logic (domestic vs. international flights), and concurrent tasks (booking hotels and flights). This structured approach allows for testing how different configurations of aspects impact the final PAM.

Key Results and Insights

The authors evaluated three scenarios by incrementally adding up to 15 variabilities across 5 core activities.

  • Linear Growth and Sensitivity: As variabilities increased, the PAM grew. Crucially, the metric proved sensitive to hierarchical structure; placing variabilities in different parts of the process tree yielded distinct PAM values, reflecting how structural placement affects overall flexibility.
  • Normalization: The use of a reference value ($R$) allows for standardized comparisons between processes of varying complexity.
  • Runtime Focus: Unlike static metrics, PAM specifically measures structural variability—the ability of process logic to morph during execution.
The relationship between the number of variabilities and the Variability Degree across different scenarios, demonstrating sensitivity to process structure.

In the test case, the process achieved a PAM of 0.29 with moderate aspect injection, establishing a concrete baseline for future research.

Limitations and Future Work

While promising, the current metric focuses solely on structural changes via AOP. Future work is needed to incorporate binding variability (swapping service providers at runtime). Additionally, the authors plan to validate these metrics against complex, industrial-scale BPEL processes and develop automation tools to parse AO4BPEL files and calculate PAM automatically.

Summary updated

BibTeX
@inproceedings{botangen2017towards,
  author = {Khavee Agustus Botangen and Jian Yu and Michael Sheng},
  title = {{Towards Measuring the Adaptability of an AO4BPEL Process}},
  booktitle = {ACSW},
  year = {2017},
  url = {https://openreview.net/forum?id=su99ajF0GY},
}
Figure