Business Process Modeling and Quick Prototyping with WebRatio BPM

Marco Brambilla, Marco Brambilla 0001, Stefano Butti, Piero Fraternali

Introduction

In modern enterprise software development, a significant challenge exists in bridging the gap between high-level business process designs and the actual technical implementation of web applications. This paper introduces WebRatio BPM, a model-driven tool designed to automate this transition. By transforming Business Process Model and Notation (BPMN) models into intermediate application models and subsequently into executable code, the tool enables rapid prototyping and reduces the time-to-market for complex enterprise systems.

The Challenge of Semantic Distance

Traditionally, there is a massive "semantic distance" between business process models and running applications. Business models focus on abstract roles, activities, and constraints, while applications are concerned with low-level technical details like database connections, user interface (UI) layouts, and service architectures. Manually translating these abstract models into code is often error-prone and creates a maintenance burden when business requirements change. WebRatio BPM addresses this by providing a framework for automated, model-driven generation.

A Three-Level Model-Driven Architecture

The authors propose a conceptual architecture consisting of three distinct layers to manage the complexity of application generation:

  1. Business Process Model: High-level workflows defined using BPMN.
  2. Application Model: An intermediate layer using WebML (Web Modeling Language) to define user interactions, navigation, and service orchestrations.
  3. Executable Code: The final application built on standard JEE and Service-Oriented Architectures (SOA).
The three-level conceptual architecture of WebRatio BPM, transforming high-level process models into executable code.

The core innovation lies in the automated transformations between these layers. BPMN constraints are translated into a relational database schema that tracks workflow state, while BPMN tasks are converted into WebML components. A specialized "Next unit" component queries the process database at runtime to determine the next enabled activities, effectively decoupling the UI from the underlying workflow logic.

From Model to Prototype

One of the primary benefits of this approach is "one-click prototyping." Analysts can design a workflow and immediately generate a functional web application with a default UI. This allows stakeholders to test the process flow and impersonate different user roles early in the development cycle.

Mapping between the WebML application model (left) and the automatically generated web user interface (right).

As shown in the mapping above, elements in the WebML model (such as user input forms and activity info) correspond directly to components in the generated web interface. This intermediate layer also allows developers to fine-tune the UI and usability without disrupting the core business logic defined in the BPMN model.

Industrial Validation and Results

The framework was validated through a large-scale industrial project for the leasing division of a major European bank. The project involved 52 business processes, over 1,100 activities, and 30 user roles.

Key results from this case study include:

  • High Development Velocity: The team deployed 4 major prototypes and 35 minor releases within a single year.
  • Significant Effort Reduction: Approximately 17% to 20% of the application model was generated automatically, representing a substantial saving in manual development hours.

Conclusion

WebRatio BPM demonstrates that a model-driven approach can effectively bridge the gap between business requirements and technical implementation. By utilizing an intermediate application model, the tool provides the flexibility needed for UI customization while maintaining strict adherence to the underlying business process. While specialized training in modeling languages like WebML is required, the gains in development speed and consistency make it a powerful solution for enterprise application development.

Summary updated

BibTeX
@inproceedings{brambilla2010business,
  author = {Marco Brambilla and Marco Brambilla and Stefano Butti and Piero Fraternali},
  title = {{Business Process Modeling and Quick Prototyping with WebRatio BPM}},
  booktitle = {Bpm (demos)},
  year = {2010},
}
Figure