WebRatio 5: An Eclipse-Based CASE Tool for Engineering Web Applications

Marco Brambilla, Roberto Acerbis, Aldo Bongio, Marco Brambilla 0001, Stefano Butti

Abstract

WebRatio 5 is a model-driven Computer-Aided Software Engineering (CASE) tool designed to streamline the development of data-intensive web applications. By leveraging the Eclipse framework and the Web Modeling Language (WebML), WebRatio 5 allows developers to focus on high-level design rather than manual coding, automatically generating the underlying application logic, presentation layers, and documentation.

Introduction

The development of modern, data-intensive web applications often encounters a "complexity wall." Developers frequently spend a disproportionate amount of time on repetitive tasks—such as implementing CRUD operations, managing navigation logic, and ensuring architectural consistency—rather than addressing core business requirements. WebRatio 5 addresses this gap by providing a unified environment that covers the entire development lifecycle, from requirement specification to final implementation, ensuring that non-functional requirements like scalability and maintainability are met through automated generation.

Methodology and Modeling

WebRatio 5 is implemented as a suite of Eclipse plug-ins, inheriting professional-grade features such as version control integration and standardized workspace management. The core methodology is based on WebML, which requires developers to define three distinct models:

  1. Data Model: Defines the underlying data structures and relationships.
  2. Hypertext Model: Describes page organization and user navigation logic.
  3. Presentation Model: Manages the visual "look and feel" of the application.
WebRatio 5 interface showing (a) the Data Model editor and (b) the template editor for hypertext design.

Technical Architecture

The tool's architecture is divided into design-time and run-time components. At design-time, the Graphical Editing Framework (GEF) is used for visual diagramming, with models stored as XML documents. Code generation is handled by a combination of ANT, XSLT, and Groovy, which transforms high-level models into executable Java code.

The generated applications run on a Java-based framework optimized for performance. This framework utilizes "smart service creation"—caching and reusing service instances—and connection pooling to ensure efficient resource management.

The runtime architecture of WebRatio 5, illustrating the relationship between unit components, runtime descriptors, and the data access layer.

Key Innovations and Insights

WebRatio 5 introduces several critical shifts in web engineering:

  • Model-as-Code: The model serves as the primary specification. By verifying model correctness at the design stage, the tool prevents many common bugs from reaching the implementation phase.
  • Extensibility: Unlike closed "black-box" generators, WebRatio 5 allows developers to define custom components or "units." Developers can write Java classes for specific business services and integrate them into the visual editor via XML interfaces.
  • BPMN Integration: The inclusion of a Business Process Model and Notation (BPMN) editor allows designers to map high-level business processes, which the tool then uses to generate skeleton WebML models.
  • Automated Documentation: The tool automatically generates project documentation that remains synchronized with the "as-built" application, solving a major pain point in traditional software maintenance.

Conclusion and Future Work

WebRatio 5 provides a robust, unified environment for web application engineering. While it successfully automates code generation and documentation, the authors note that the tool is continuously evolving. Future work focuses on achieving full lifecycle coverage of every design step and refining the mapping between high-level BPMN processes and functional WebML models to reduce the need for manual refinement.

Summary updated

BibTeX
@inproceedings{brambilla2007webratio,
  author = {Marco Brambilla and Roberto Acerbis and Aldo Bongio and Marco Brambilla and Stefano Butti},
  title = {{WebRatio 5: An Eclipse-Based CASE Tool for Engineering Web Applications}},
  booktitle = {Icwe},
  year = {2007},
  doi = {10.1007/978-3-540-73597-7\_44},
}
Figure