You are here: Welcome to service-technology.org » Tools » Greta: a Graphical Runtime Environment for Adaptive Processes
Greta is a Graphical Runtime Environment for Adaptive Processes based on Eclipse. It provides a graphical editor to create scenario-based specifications of processes. The processes can be executed and analyzed in the editor. Greta can be installed as a Seda plugin.
In the context of service-technology.org, Greta serves as a proof-of-concept tool for adapting process and service behavior at run-time.
Modeling and analyzing complex services, workflows, and processes is a tedious and error prone task as the requirements and dynamics of different users and stakeholders of a system influence each other. The concept of a scenario as a piece of behavior that is relevant to a specific user helps structuring these requirements and dynamics. However, if the behavior of a system (for instance an emergency management system), is given by a set of scenarios of its users (e.g. medics, fire fighters and emergency managers), the question is: Which behavior can be constructed from the given scenarios.
Greta is a tool for modeling distributed behavior with scenarios. Greta can directly construct runs from scenarios with its operational behavioral semantics. This even allows to change the scenarios of a system a run-time.
This is the complete list of all case-studies available on service-technology.org that were conducted with Greta:
We suggest the following paper to get an overview on the problem that is addressed by Greta.
This is the complete list of all publications related to Greta:
Greta is released as free software under an EPL/AGPL licensing scheme, and can be used under the terms of
The latest source code is available at our SVN repository at svn://svn.gna.org/svn/service-tech/trunk/greta/.
You can run Greta as a standalone application based on our tool Seda. Download the pre-compiled Seda package for your system and install Greta as a plugin of Seda as explained below.
The easiest way to get Greta running on your machine is to install Great as an Eclipse feature using our Eclipse update site at http://download.gna.org/service-tech/greta/updatesite/. To install Greta take the following steps.
Greta is implemented as an Eclipse feature consisting of several Eclipse plugins. If you install Greta as an Eclipse plugin on your own Eclipse installation, we require the following software components and plugins:
Depending on the Eclipse version you have downloaded/you are using, some or all of these features are already included in your Eclipse installation. Likewise, the default Eclipse update site may have these features ready for download for you.
Updates for Greta are deployed via the Eclipse update mechanism; use Help > Software Updates … > Installed Software > Update… to update your Greta installation.
Greate can create and open models stored in its own formats .adaptivesystem and .adaptivesystem_diagram. For a very quick start, we suggest to download and open example models from http://download.gna.org/service-tech/greta/caseStudies/. We explain how to use Greta with a small adaptive workflow example.
greta examples) and import the example .zip into the new project (right-click on the project, Import … > Archive File)idle. This Adaptive Process is an instance of the process model that will be extended and executed during simulation. Currently, it displays the initial state of the system idle.o1,…,o6. These are oclets, describing the scenarios of your adaptive process. Oclet o5 is an anti-oclet, the other oclets are qualified oclets (in the current implementation, the header of a qualified oclet will state “normal”). Oclets are acyclic Petri nets consisting of two parts: The precondition and the contribution separated by the horizontal bar.You can edit the oclets and the adaptive process by rearranging places, transition, and arcs. With the tool palette on the right, you can add new net elements, or remove them. You can also add new oclets and remove existing oclets. A process model can have only one Adaptive Process.
To validate your process model, click the check well-formedness of oclets button (O with a question mark) in the toolbar. A message box will display diagnostic information in case the model contains an error. Valid oclets will be marked green, invalid oclets will get no marking. You may execute a model that contains invalid oclets, but only the valid ones will be used for the execution. If you modify a validated oclet in a way that may turn it into an invalid one, Greta will observe this and remove the green marking accordingly; press the check button again to re-validate your model.
Greta supports the animated execution (simulation) of adaptive processes. After you validated the model, you can execute it in Greta. You can control the execution of process models by the following toolbar.
The controls are explained from right to left:
The animated execution with large steps (button number 4) may be more comprehensible than the execution with single steps(button number 3). Execution with large and small steps requires the following user-interaction:
You can find more examples to download at http://download.gna.org/service-tech/greta/caseStudies/ and in our SVN repository at svn://svn.gna.org/svn/service-tech/trunk/greta/hub.top.greta.examples/.