TL;DR
BESSER is a new open-source low-code platform designed to move beyond simple "data-entry" web apps and into the realm of "smart" software. By leveraging a Python-based architecture and model-driven engineering, it allows developers to generate complex, AI-integrated systems while avoiding the vendor lock-in typical of proprietary low-code giants.
What Problem Does This Paper Address?
The software industry is currently caught between two worlds. On one side, traditional coding is slow and repetitive. On the other, popular low-code platforms (like Mendix, OutSystems, or Microsoft PowerApps) offer speed but come with heavy baggage: they are proprietary "black boxes" that create vendor lock-in and often struggle to integrate advanced features like AI, VR, or digital twins.
The authors argue that we need a middle ground: an open-source, extensible platform that follows the principles of Model-Driven Engineering (MDE). Specifically, they address the challenge of building "smart software"—systems that don't just store data but also classify, predict, and recommend using AI—without forcing developers to write thousands of lines of boilerplate code.
Methods
BESSER (which stands for BEtter Smart Software FastER) is built on a modular architecture centered around B-UML, a simplified and extended version of the Universal Modeling Language.
Key components of the method include:
- Multimodal Modeling: Users can define their software using textual syntax (conforming to PlantUML), a Python API, or even by uploading an image of a whiteboard sketch (which an LLM then converts into a model).
- Python-First Approach: Unlike most modeling tools built on the Java-based Eclipse stack, BESSER is built natively in Python. This allows for seamless integration with modern Machine Learning libraries (PyTorch, TensorFlow, etc.).
- Internal DSL: BESSER is implemented as an "Internal Domain-Specific Language." This means it lives inside Python, allowing developers to use standard Python code whenever the low-code abstractions aren't enough.
- Code Generation: The platform uses the Jinja template engine to perform Model-to-Text (M2T) transformations, generating executable code for backends like Django, REST APIs, and SQLAlchemy.
Datasets
As this is a systems/platform paper rather than a pure machine learning paper, it does not use a training dataset in the traditional sense. Instead, the authors evaluate the platform using a Running Example: The Digital Product Passport (DPP). This case study models a system for tracking product lifecycles (Design, Use, Manufacture, etc.) to support the circular economy, demonstrating how BESSER can generate a functional Django administrative interface from a high-level domain model.
Key Insights and Ideas
- Breaking the Java Hegemony: The decision to favor Python over Java is a strategic move to align low-code development with the current AI/ML ecosystem.
- LLMs as Modeling Assistants: One of the most "aha" moments is the integration of LLMs not just to write code, but to bridge the gap between a hand-drawn sketch on a whiteboard and a formal B-UML model.
- Flexibility over Compliance: Rather than trying to be 100% UML-compliant (which is often too rigid for modern needs), B-UML focuses on the parts of UML that are actually useful for code generation, such as structural class diagrams and OCL (Object Constraint Language) for business rules.
- The "Smart" Front-end: The roadmap includes the BESSER Bot Framework (BBF), which treats chatbots as Finite-State Machines (FSMs), allowing developers to model conversational AI as a core part of the application logic rather than a tacked-on plugin.
Key Results
The paper presents a functional prototype of the BESSER platform.
- Code Generation: The authors successfully demonstrated the generation of a Django-based web application from a PlantUML model.
- Extensibility: The platform's architecture allows for "Verticals"—specialized versions of the tool for specific domains. An example provided is BESSER for Clima, a dashboarding tool for climate solution performance developed as part of an EU project.
- Open Source Availability: The entire platform, including the B-UML language and various code generators, is available in a public repository, inviting community contribution and preventing vendor lock-in.
Limitations and Future Work
While BESSER is a promising start, the authors acknowledge several areas for growth:
- UI Generation: Currently, the platform excels at backend and data modeling, but "fully-fledged" web and mobile generators (targeting Flutter or React) are still in the mid-term roadmap.
- OCL Interpreter: While the platform supports defining business rules via OCL, a full interpreter to validate these constraints at runtime is still under development.
- Flexible Modeling: The authors aim to implement a mechanism that allows models to "evolve" more naturally, relaxing the rigid relationship between a model and its metamodel during the early design phases.
- Smart Components: Future versions will include more native support for modeling complex AI behaviors like recommender systems directly within the low-code environment.
Summary updated