BPMN2BPEL transformation with Fujaba - a Case Study

Size: px
Start display at page:

Download "BPMN2BPEL transformation with Fujaba - a Case Study"

Transcription

1 BPMN2BPEL transformation with Fujaba - a Case Study Ruben Jubeh SE, Kassel University Wilhelmshöher Allee Kassel ruben.jubeh@uni-kassel.de ABSTRACT We have modeled a BPMN to BPEL synthesis transformation for the GraBaTs 2009 Tool Contest with the Fujaba Tool Suite. The basic problem of transformation is to create a hierachical a block structure out of a given flow graph. We use the same approach as already successfully implemented in the Fujaba code generator CodeGen2, which transforms amongst others SDM diagrams with arbitrary control flow into java code, which is as well formed as block structure. 1. INTRODUCTION This paper reports on our case study with the Fujaba environment, cf. [ on building a BPMN to BPEL transformation for the GraBaTs 2009 tool contest.the transformation reads a BPMN XML file as input and writes a corresponding BPEL XML file. The transformation is specified using Story Driven Modeling (SDM). Business Process Model Notation (BPMN) is a graphical notation for specifying business processes in a workflow. In this case study, the input BPMN models used just utilize a subset of the BPMN features. These simplified models consist of a set of typed nodes and directed arcs, forming a flow graph. Business Process Execution Language (BPEL) is an executable language for specifying interactions with Web Services. In contrast to BPMN, it is not a graphical notation, but a block structured language specified in XML. The central problem of this case study is now to transform BPMN into BPEL. A BPMN model is a directed graph. That graph has a dedicated entry node where traversal could start, but has possibly many paths from the entry node to the exit node. Paths split at a gateway node, either indicating a fork/parallel execution or a conditional branch. The graph might even contain cycles, depicting an iterative workflow. BPEL on the other hand, is a block oriented language. It forms a parse tree or abstract syntax tree. To generate BPEL, we need to construct such a tree. In our BPEL class diagram, all elements are TreeNodes, which have a parentchild relationship. Our transformation takes the flow graph and transforms individual fragments iteratively into a tree, which finally builds the output BPEL program structure. We used the same approach successfully for the Fujaba code generator, called CodeGen2 [1]. The code generator transforms Fujaba class diagrams and SDM diagrams into source code and is specified in SDM as well. SDM diagrams consist of a (control) flow of activities, similar to the BPMN model. Those activities (among other types) represent nodes and transitions form directed edges of the whole control flow. A SDM diagram might have cycles, branches etc. as well, and transitions might be guarded, like in this case study. A subcomponent of the code generator, called the sequencer, is responsible for transforming the control flow into a block structured tree. Nodes of that tree, called the Token Layer, refer the original diagram elements. The token tree is constructed iteratively: the algorithm tries to identify a fragment in the control flow, replaces it with one token, adds the nodes of the fragment as token children, and continues with the next iteration. Code can be generated when just one root token remains by traversing the token tree in a bottom-up manner. We will explain that approach in more detail in section META MODELS AND FRAMEWORK At first we imported and reverse engineered the ProM [3] meta models for BPMN and BPEL, which seem to be quite complete. But they directly depend on a 3rd party graph library which handles the associations between the model elements, so type checking associations between concrete BPMN respective BPEL elements were not available. For that reason, we decided to re-model all required meta model elements by ourselfs. Furthermore, programming against a legacy / pure java library is difficult because the fujaba code generation relies on its own standard of access methods for associations. Figure 1: Graph class diagram The BPMN and BPEL model is build upon a very simple graph model, as shown in figure 1. Nodes belong to a NodeSet indicated by the contains-association and have connecting directed edges via the edges-association. There are subclasses which form the flow graph underlying BPMN

2 (FlowGraph and FlowNode) and a tree, which is the final underlying structure for BPEL. As we use an iterative transformation from the flow graph into a program tree, TreeNode and ProgramStructureTree are subclasses of the flow graph classes, so the program tree can form a directed flow graph as well. Note that FlowNode and TreeNodes refer to each other, so a mapping for the transformation is stored in our data model. For a BPMN model, there must be exactly one entry and one exit node. Nodes that split and join the workflow are called gateways in BPMN. Regular nodes are either gateways or activities. Only split nodes can have two or more successors, only join nodes can have more than one predeccessor node. There are two types of splits and joins: XOR splits indicate a switch-case flow, whereas AND splits indicate parallel execution. AND join nodes are used to synchronize parallel flow. This gives seven types of nodes, these are represented as separate classes in our BPMN class diagram, see figure 2. The common superclass Node has a many-to-many selfassociation edges, which allows to build a directed graph of nodes. As arcs/edges might have a guard, we store that guard in a separate object with source and target associations to FlowNode. This allows inconsistencies between those three associations, but this way it is much simpler to specify the graph transformation rules, as one doesn t have to specify a in-between edge object for each edge. Fujaba doesn t support edge attributes, for this use case this feature would have made the model more intuitive. Figure 3: BPEL class diagram 3. THE TRANSFORMATION Figure 4: Transformation class diagram Figure 2: BPMN class diagram Our BPEL meta model is shown in figure 3. All language constructs used are represented as individual classes. Associations are not necessary, because the common superclass TreeNode has a one-to-many self association children with preserved order, which allows to build a hierarchical tree of BPEL elements. Importing and exporting XML was implemented by hand using the JDOM library. The import/export code adapts to the Fujaba generated model elements and is as small as about 100 LOC each. Besides these classes, everything else was modeled using Fujaba. Figure 4 shows the class diagram of our transformation. The central class Transformation refers to both the input flow graph and the output program tree. It delegates the work to so called ReductionHandlers. Each reduction handler is responsible for identifying a certain basic structure in the input flow graph and transforming that fragment into a block structure by adding new nodes to the the program tree, whose child nodes become the previously identified fragment. That way, each transformation step performed by one handler instance removes at least one node from the flow graph and adds at least one node to the program tree. Currently, we implemented five reduction handlers. A handler provides a transform(node:treenode) method, which tries to identify a basic structure at the given node and then reduces it. In the following, we will have a detailed look at two of them: The sequence handler, although being the simplest transformation intuitively, is quite complex, because we have different cases reducing the sequence. The whole graph transformation rule for this reduction consists of five story ac-

3 tivities, connected with success/failure-guarded transitions in between. Note that a reduction should only return true, when it successfully identified and reduced a basic structure. The precondition, which is the first story activity, is that two BPEL activities are connected sequentially with just one incoming and outgoing edge each. Now we have to distinguish between three cases, which will be explained in reverse order, because we have the most specialized case first (both nodes are already a sequence) and continue with the next more general one if it fails: Two activities are in a direct flow (last story activity). The rule creates a BPELSequence instance, which replaces the two activities in the flow graph by disconnecting them and connecting the sequence instead to the pre/post set (multi-instance objects) nodes (edgeslink). The sequence becomes the parent node of the activities (children-link). Note that the sequence needs to be connected to the program tree (contains-link) and preserves the referring flow nodes (refers-link). There is already a sequence, either before or after the the current matching start tree node. All we have to do is push the activity node down as additional child of the sequence, and connect its predecessor resp. successors to the sequence. This is performed in story activity 3 and 4 respectively. Both connected nodes are already a sequence, which is the second story activity. We add all children of the second sequence to the first one and connect all successor nodes to it. The second sequence instance is deleted finally. node instance, which gets the two flow body nodes assigned as children. Similar to the sequence reduction, we have to connect the context (predeccessors, successors multi-instance nodes) and the program tree to it as well. The gateway nodes will remain unconnected. The remaining reduction handlers look similar to the parallel handler, consisting of a match activity, which identifies a basic structure of four nodes as max, and a operation activity, which creates at least one concrete BPEL tree node instance. We will explain the transformation with a running example, which is a simple workflow with two nested parallel flows, each one containing an activity (see figure 7). The transformation works as follows: 1. Copy the whole flow graph by creating a corresponding BPEL tree node. For the start node, a BPELReceive is created, for regular nodes, BPELInvoke instances are created. Gateways map to plain tree nodes. The number of nodes is reduced by one, because there is no mapping for the end node required. The copied nodes are connected using the edges association and form exactly the same graph structure. The result of the copy process for the given example is depicted in figure 11. The created tree nodes refer to their corresponding flow nodes, because in case of a gateway just the flow node holds the concrete type information. 2. The reduction iteration is a double nested iteration: we iterate over all reduction handlers and try to apply a reduction to the program tree, which is a flow graph at the first iteration. Each handler iterates over all tree nodes and tries to apply itself on it. The iterations are repeated until no handler can reduce any node anymore. It is easy to tell whether the transformation is finished successfully, because ten the tree contains no flow-connected nodes anymore. 3. The post-processing step verifies the program tree. As long as the given flow graph is transformable, the result tree contains only a single node having no parent, which will be assigned as root, Note that usually the start node is always the child of the root node, which is a sequence. Figure 7: Transforming a simple parallel flow example: given flow graph The ParallelHandler is responsible to identify a parallel flow with an And-Split and -Join gateway. The graph transformation rule consists of a matching story activity and an operation story activity (could be simplified into one). It looks for the gateways by searching the corresponding flow nodes holding the gateway type. The matched tree node must have two successors and a common join. Then it reduces this four basic structure nodes by creating a BPELFlow Figure 8: Transforming a simple parallel flow example: step 1 Note that for quasi-structured flow graphs, this algorithm is slightly modified, as described in section 4. We will now apply the basic transformation algorithm to our example (figure 7): In figure 11 you see the initial flow graph, identically with the one from figure 7 on the left and the corresponding

4 Figure 9: Transforming a simple parallel flow example: step 2 Figure 10: Transforming a simple parallel flow example: step 3 created initial program tree on the right. The tree is yet to be build, and the nodes still form the initial flow graph structure. Now three iterations will be performed to transform the graph (the program tree connected with flow edges is shown in left-to-right order in the following figures): 1. On the first iteration (figure 8, the ParallelHandler matches the node t12, together with the nodes b16, b18 and t19 a basic structure for parallel flow is identified. An instance b20:bpelflow is created, b18 and b16 become it s children, and the nodes t19 and t12 are removed from the tree. 2. Next, the parallel handler again matches: starting with t17, b15, b20 and t13 form another parallel flow. Note that b20 has tree children from the previous iteration step: b16 and b18. Those are pushed further down the program tree: a new b12:bpelflow instance has the children b20 and b15. Tree nodes t13 and t17 will be dropped. We still have one flow edge left, and already a program tree of depth = 3. The result of this iteration is shown in figure Finally, the sequence handler matches the nodes b14 and b21. A new b21:bpelsequence tree node is created, and the existing tree together with the node b14 is pushed down as children of b12. We now have the resulting program tree with b21 as root node, shown in figure QUASI-STRUCTURED FLOW GRAPHS Our rules ensure that split and join gateways have no more than two successors/predecessors. To transform a quasistructured flow graph (for an example, see figure 12), one Figure 12: Quasi structured flow graph could replace a gateway with more than two edges by a sequence of two (or more) gateways, each one limited to two edges. That way, the quasi-structured flow graph gets transformable again. The difficult part is to identify the edge that should connect to the created gateway. We are not using an analysis to determine that, we just try all edges iteratively in a backtracking algorithm, shown in figure 13. It modifies the flow graph, and when the reduction handler chain can continue transforming the graph, the method returns. Otherwise, the modification of the flow graph is reverted we continue with a different node/edge pair. This approach is not very runtime efficient, because for complex quasi-structured flow graphs, we basically do a brute-force modification with exponential runtime. But our experiences with CodeGen2 have shown that this is not a problem, because given flows are rarely that complex to make the transformation slow. 5. SUMMARY AND OUTLOOK This case study was a nice exercise for our Fujaba Case Tool. The transformation rules are intuitive and the iterative approach is easy to understand. Our approach reduces the problem down to (at the moment) five simple graph transformations, which identify basic structures and transform them individually. That way, the implementation can be easily extended to support more BPMN/BPEL features. The development of the transformation was greatly supported by the edobs [2] eclipse plugin, which visualizes the runtime object graphs, so one can follow the execution of the transformation in detail by stepping with the debugger and watch how the graph is modified. Adding a reverse transformation would double the graph transformation rules. Basically, we would run all transformation rules in reverse. Fujaba does not support that directly as language construct, so the rules have to be modeled in separate methods, without direct relation to the forward transformation. A triple graph grammar based approach might help here, as it would provide a bidirectional mapping between the flow graph and program tree modification operations. 6. REFERENCES [1] L. Geiger, C. Schneider, and C. Record. Template- and modelbased code generation for MDA-tools. In 3rd International Fujaba Days, Paderborn, Germany, [2] The EDobs Dynamic Object Browser [3] ProM Framework - Process Mining Toolkit

5 Figure 5: Graph transformation rule for reducing sequences Figure 6: Graph transformation rule for reducing and-flow to parallel execution

6 Figure 11: Transforming a simple parallel flow example: initial graph copy Figure 13: graph transformation for quasi-structured flows

Design Patterns with Fujaba Intense Course, 5th-9th October Ruben Jubeh

Design Patterns with Fujaba Intense Course, 5th-9th October Ruben Jubeh Design Patterns with Fujaba Intense Course, 5th-9th October 2009 Ruben Jubeh ruben.jubeh@uni-kassel.de Kassel University Department of Software Engineering Wilhelmshöher Allee 73 34121 Kassel Germany Timetable

More information

Statechart Modeling with Fujaba

Statechart Modeling with Fujaba GraBaTs 04 Preliminary Version Statechart Modeling with Fujaba Leif Geiger Albert Zündorf University of Kassel, Software Engineering Research Group, Wilhelmshöher Allee 73, 34121 Kassel, Germany {leif.geiger

More information

Reconciling TGGs with QVT

Reconciling TGGs with QVT Faculty for Computer Science Software Engineering Group Warburger Straße 100 33098 Paderborn Germany A Study of Model Transformation Technologies: Reconciling TGGs with QVT Diploma Thesis by Joel Greenyer

More information

The Process Checklist Generator: Establishing Paper-based Process Support

The Process Checklist Generator: Establishing Paper-based Process Support The Process Checklist Generator: Establishing Paper-based Process Support Marcel Bankau, Michaela Baumann, Michael Heinrich Baumann?, Stefan Schönig, and Stefan Jablonski University of Bayreuth, Universitätsstraße

More information

CHAPTER 5 GENERATING TEST SCENARIOS AND TEST CASES FROM AN EVENT-FLOW MODEL

CHAPTER 5 GENERATING TEST SCENARIOS AND TEST CASES FROM AN EVENT-FLOW MODEL CHAPTER 5 GENERATING TEST SCENARIOS AND TEST CASES FROM AN EVENT-FLOW MODEL 5.1 INTRODUCTION The survey presented in Chapter 1 has shown that Model based testing approach for automatic generation of test

More information

EMF Code Generation with Fujaba

EMF Code Generation with Fujaba EMF Code Generation with Fujaba Leif Geiger Universität Kassel Wilhelmshöher Allee 73 34121 Kassel leif.geiger@uni-kassel.de Thomas Buchmann Universität Bayreuth Universitätsstr. 30 95447 Bayreuth thomas.buchmann@unibayreuth.de

More information

Appendix D: Mapping BPMN to BPD Profile

Appendix D: Mapping BPMN to BPD Profile Appendix D: Mapping BPMN to BPD Profile Members of bpmi.org and the OMG are interested in the unification of the UML 2.0 and BPMN notation for the support of the business user. This draft mapping is in

More information

The Process Checklist Generator: Establishing Paper-based Process Support

The Process Checklist Generator: Establishing Paper-based Process Support The Process Checklist Generator: Establishing Paper-based Process Support Marcel Bankau, Michaela Baumann, Michael Heinrich Baumann, Stefan Schönig, and Stefan Jablonski University of Bayreuth, Universitätsstraße

More information

Compositional Model Based Software Development

Compositional Model Based Software Development Compositional Model Based Software Development Prof. Dr. Bernhard Rumpe http://www.se-rwth.de/ Seite 2 Our Working Groups and Topics Automotive / Robotics Autonomous driving Functional architecture Variability

More information

2.2 Syntax Definition

2.2 Syntax Definition 42 CHAPTER 2. A SIMPLE SYNTAX-DIRECTED TRANSLATOR sequence of "three-address" instructions; a more complete example appears in Fig. 2.2. This form of intermediate code takes its name from instructions

More information

Towards Transformations from BPMN to Heterogeneous Systems. Tobias Küster and Axel Heßler

Towards Transformations from BPMN to Heterogeneous Systems. Tobias Küster and Axel Heßler Towards Transformations from BPMN to Heterogeneous Systems Tobias Küster and Axel Heßler BPMN is the new standard modelling notation for all kinds of business processes, and many tools provide a transformation

More information

On Application of Structural Decomposition for Process Model Abstraction. Artem Polyvyanyy Sergey Smirnov Mathias Weske

On Application of Structural Decomposition for Process Model Abstraction. Artem Polyvyanyy Sergey Smirnov Mathias Weske On Application of Structural Decomposition for Process Model Abstraction Artem Polyvyanyy Sergey Smirnov Mathias Weske BPSC 2009 24 March 2009 Motivation 2 Research project with AOK Brandenburg Goal: detailed

More information

Towards Generating Domain-Specific Model Editors with Complex Editing Commands

Towards Generating Domain-Specific Model Editors with Complex Editing Commands Towards Generating Domain-Specific Model Editors with Complex Editing Commands Gabriele Taentzer Technical University of Berlin Germany gabi@cs.tu-berlin.de May 10, 2006 Abstract Domain specific modeling

More information

The Difficulty of Replacing an Inclusive OR-Join

The Difficulty of Replacing an Inclusive OR-Join The Difficulty of Replacing an Inclusive OR-Join Cédric Favre and Hagen Völzer Translating an inclusive OR-join Identify customer New customer Existing customer Create customer record Retrieve Customer

More information

Combined Modeling and Programming with State Machines

Combined Modeling and Programming with State Machines Combined Modeling and Programming with State Machines Kjetil Andresen Master s Thesis Spring 2014 Combined Modeling and Programming with State Machines Kjetil Andresen 1st May 2014 ii Abstract As part

More information

Graph transformation-based Refactorings using Fujaba

Graph transformation-based Refactorings using Fujaba Graph transformation-based Refactorings using Fujaba Leif Geiger 1 Software Engineering Group 1, Department of Computer Science and Electrical Engineering, Wilhelmshöher Allee 73, 34121 Kassel, Germany

More information

The Fujaba Statechart Synthesis Approach

The Fujaba Statechart Synthesis Approach The Fujaba Statechart Synthesis Approach Thomas Maier, Albert Zündorf University of Kassel, Germany thomas.maier@uni-kassel.de, albert.zuendorf@uni-kassel.de Abstract The Fujaba project tries to provide

More information

State Machine Diagrams

State Machine Diagrams State Machine Diagrams Introduction A state machine diagram, models the dynamic aspects of the system by showing the flow of control from state to state for a particular class. 2 Introduction Whereas an

More information

Building Distributed Web Applications based on Model Versioning with CoObRA: an Experience Report

Building Distributed Web Applications based on Model Versioning with CoObRA: an Experience Report Building Distributed Web Applications based on Model Versioning with CoObRA: an Experience Report Nina Aschenbrenner, Jörn Dreyer, Marcel Hahn, Ruben Jubeh, Christian Schneider, Albert Zündorf Kassel University,

More information

Story Driven Testing - SDT

Story Driven Testing - SDT Story Driven Testing - SDT Leif Geiger Software Engineering, University of Kassel Wilhelmshöher Allee 73 34121 Kassel, Germany leif.geiger@uni-kassel.de Albert Zündorf Software Engineering, University

More information

Triple Graph Grammars: Concepts, Extensions, Implementations, and Application Scenarios

Triple Graph Grammars: Concepts, Extensions, Implementations, and Application Scenarios Triple Graph Grammars: Concepts, Extensions, Implementations, and Application Scenarios Technical Report tr-ri-07-284 Ekkart Kindler and Robert Wagner Department of Computer Science University of Paderborn

More information

CSE 12 Abstract Syntax Trees

CSE 12 Abstract Syntax Trees CSE 12 Abstract Syntax Trees Compilers and Interpreters Parse Trees and Abstract Syntax Trees (AST's) Creating and Evaluating AST's The Table ADT and Symbol Tables 16 Using Algorithms and Data Structures

More information

Canonization Service for AProMoRe

Canonization Service for AProMoRe QUT Faculty of Science and Technology Canonization Service for AProMoRe Done by: Abdurrahman Alshareef Supervised by: Marcello La Rosa Semester 2-2010 Table of Contents Versions history...3 Preview...4

More information

Comparing Relational Model Transformation Technologies Implementing QVT with Triple Graph Grammars

Comparing Relational Model Transformation Technologies Implementing QVT with Triple Graph Grammars Noname manuscript No. (will be inserted by the editor) Comparing Relational Model Transformation Technologies Implementing QVT with Triple Graph Grammars Joel Greenyer 1, Ekkart Kindler 2 1 Software Engineering

More information

BPMN to BPEL case study solution in VIATRA2

BPMN to BPEL case study solution in VIATRA2 BPMN to BPEL case study solution in VIATRA2 Gábor Bergmann and Ákos Horváth Budapest University of Technology and Economics, Department of Measurement and Information Systems, H-1117 Magyar tudósok krt.

More information

Using Actions Charts for Reactive Web Application Modelling

Using Actions Charts for Reactive Web Application Modelling Using Actions Charts for Reactive Web Application Modelling Nina Geiger, Tobias George, Marcel Hahn, Ruben Jubeh, Albert Zündorf University of Kassel, Software Engineering, Department of Computer Science

More information

Diagnostic Information for Control-Flow Analysis of Workflow Graphs (aka Free-Choice Workflow Nets)

Diagnostic Information for Control-Flow Analysis of Workflow Graphs (aka Free-Choice Workflow Nets) Diagnostic Information for Control-Flow Analysis of Workflow Graphs (aka Free-Choice Workflow Nets) Cédric Favre(1,2), Hagen Völzer(1), Peter Müller(2) (1) IBM Research - Zurich (2) ETH Zurich 1 Outline

More information

TREES. Trees - Introduction

TREES. Trees - Introduction TREES Chapter 6 Trees - Introduction All previous data organizations we've studied are linear each element can have only one predecessor and successor Accessing all elements in a linear sequence is O(n)

More information

A GrGen.NET solution of the Model Migration Case for the Transformation Tool Contest 2010

A GrGen.NET solution of the Model Migration Case for the Transformation Tool Contest 2010 A GrGen.NET solution of the Model Migration Case for the Transformation Tool Contest 2010 Sebastian Buchwald Edgar Jakumeit June 3, 2010 1 Introduction The challenge of the Model Migration Case [1] is

More information

What are the characteristics of Object Oriented programming language?

What are the characteristics of Object Oriented programming language? What are the various elements of OOP? Following are the various elements of OOP:- Class:- A class is a collection of data and the various operations that can be performed on that data. Object- This is

More information

Consolidation of Interacting BPEL Process Models with Fault Handlers

Consolidation of Interacting BPEL Process Models with Fault Handlers Consolidation of Interacting BPEL Process Models with Fault Handlers Sebastian Wagner, Oliver Kopp, and Frank Leymann Institute of Architecture of Application Systems, University of Stuttgart, Germany

More information

MDD with OMG Standards MOF, OCL, QVT & Graph Transformations

MDD with OMG Standards MOF, OCL, QVT & Graph Transformations 1 MDD with OMG Standards MOF, OCL, QVT & Graph Transformations Andy Schürr Darmstadt University of Technology andy. schuerr@es.tu-darmstadt.de 20th Feb. 2007, Trento Outline of Presentation 2 Languages

More information

ANALYZING PROCESS MODELS USING GRAPH REDUCTION TECHNIQUES

ANALYZING PROCESS MODELS USING GRAPH REDUCTION TECHNIQUES NLYZING PROCESS MODELS USING GRPH REDUCTION TECHNIQUES WSIM SDIQ ND MRI E. ORLOWSK Distributed Systems Technology Centre Department of Computer Science & Electrical Engineering The University of Queensland,

More information

DDS Dynamic Search Trees

DDS Dynamic Search Trees DDS Dynamic Search Trees 1 Data structures l A data structure models some abstract object. It implements a number of operations on this object, which usually can be classified into l creation and deletion

More information

Faster Or-join Enactment for BPMN 2.0

Faster Or-join Enactment for BPMN 2.0 Faster Or-join Enactment for BPMN 2.0 Hagen Völzer, IBM Research Zurich Joint work with Beat Gfeller and Gunnar Wilmsmann Contribution: BPMN Diagram Enactment Or-join Tokens define the control state Execution

More information

Supporting Modeling in the Large in Fujaba

Supporting Modeling in the Large in Fujaba Supporting Modeling in the Large in Thomas Buchmann Angewandte Informatik 1 Universität Bayreuth D-95440 Bayreuth thomas.buchmann@unibayreuth.de Alexander Dotor Angewandte Informatik 1 Universität Bayreuth

More information

BPEL Business Process Execution Language

BPEL Business Process Execution Language BPEL Business Process Execution Language Michal Havey: Essential Business Process Modeling Chapter 5 1 BPEL process definition In XML Book describe version 1 Consist of two type of files BPEL files including

More information

Programming Languages & Translators PARSING. Baishakhi Ray. Fall These slides are motivated from Prof. Alex Aiken: Compilers (Stanford)

Programming Languages & Translators PARSING. Baishakhi Ray. Fall These slides are motivated from Prof. Alex Aiken: Compilers (Stanford) Programming Languages & Translators PARSING Baishakhi Ray Fall 2018 These slides are motivated from Prof. Alex Aiken: Compilers (Stanford) Languages and Automata Formal languages are very important in

More information

12 Abstract Data Types

12 Abstract Data Types 12 Abstract Data Types 12.1 Foundations of Computer Science Cengage Learning Objectives After studying this chapter, the student should be able to: Define the concept of an abstract data type (ADT). Define

More information

The SDMLib solution to the MovieDB case for TTC2014

The SDMLib solution to the MovieDB case for TTC2014 The SDMLib solution to the MovieDB case for TTC2014 Christoph Eickhoff, Tobias George, Stefan Lindel, Albert Zündorf Kassel University, Software Engineering Research Group, Wilhelmshöher Allee 73, 34121

More information

Enterprise Architect Training Courses

Enterprise Architect Training Courses On-site training from as little as 135 per delegate per day! Enterprise Architect Training Courses Tassc trainers are expert practitioners in Enterprise Architect with over 10 years experience in object

More information

Using Actions Charts for Reactive Web Application Modeling

Using Actions Charts for Reactive Web Application Modeling Using Actions Charts for Reactive Web Application Modeling Nina Geiger, Tobias George, Marcel Hahn, Ruben Jubeh, and Albert Zündorf University of Kassel, Software Engineering, Department of Computer Science

More information

Generating Executable BPEL Code from BPMN Models

Generating Executable BPEL Code from BPMN Models Generating Executable BPEL Code from BPMN Models Márk Asztalos, Tamás Mészáros, László Lengyel Budapest University of Technology and Economics Department of Automation and Applied Informatics {asztalos,

More information

Interactions A link message

Interactions A link message Interactions An interaction is a behavior that is composed of a set of messages exchanged among a set of objects within a context to accomplish a purpose. A message specifies the communication between

More information

Activities Radovan Cervenka

Activities Radovan Cervenka Unified Modeling Language Activities Radovan Cervenka Activity Model Specification of an algorithmic behavior. Used to represent control flow and object flow models. Executing activity (of on object) is

More information

Dynamic reverse engineering of Java software

Dynamic reverse engineering of Java software Dynamic reverse engineering of Java software Tarja Systä 1 Abstract. An experimental environment has been built to reverse engineer the run-time behavior of Java software. Event trace information is generated

More information

CS301 - Data Structures Glossary By

CS301 - Data Structures Glossary By CS301 - Data Structures Glossary By Abstract Data Type : A set of data values and associated operations that are precisely specified independent of any particular implementation. Also known as ADT Algorithm

More information

How We Refactor, and How We Know It

How We Refactor, and How We Know It Emerson Murphy-Hill, Chris Parnin, Andrew P. Black How We Refactor, and How We Know It Urs Fässler 30.03.2010 Urs Fässler () How We Refactor, and How We Know It 30.03.2010 1 / 14 Refactoring Definition

More information

How to integrate the BPMConverter

How to integrate the BPMConverter How to integrate the BPMConverter BP2014w1-Team July 9, 2015 This How-To describes possibilities to integrate the BPMConverter into a project. We will motivate why conversion is useful and afterwards introduce

More information

Implementing a Numerical Data Access Service

Implementing a Numerical Data Access Service Implementing a Numerical Data Access Service Andrew Cooke October 2008 Abstract This paper describes the implementation of a J2EE Web Server that presents numerical data, stored in a database, in various

More information

UML Fundamental. OutLine. NetFusion Tech. Co., Ltd. Jack Lee. Use-case diagram Class diagram Sequence diagram

UML Fundamental. OutLine. NetFusion Tech. Co., Ltd. Jack Lee. Use-case diagram Class diagram Sequence diagram UML Fundamental NetFusion Tech. Co., Ltd. Jack Lee 2008/4/7 1 Use-case diagram Class diagram Sequence diagram OutLine Communication diagram State machine Activity diagram 2 1 What is UML? Unified Modeling

More information

3. Business Process Diagrams

3. Business Process Diagrams BPMN Working Draft 3. Business Process Diagrams This section provides a summary of the BPMN graphical objects and their relationships. More details on the concepts will be provided in Business Process

More information

Lezione 14 Model Transformations for BP Analysis and Execution

Lezione 14 Model Transformations for BP Analysis and Execution Lezione 14 Model Transformations for BP Analysis and Execution Ingegneria dei Processi Aziendali Modulo 1 - Servizi Web Unità didattica 1 Protocolli Web Ernesto Damiani 1 Università di Milano 1 Business

More information

Constraint Satisfaction Problems

Constraint Satisfaction Problems Constraint Satisfaction Problems Search and Lookahead Bernhard Nebel, Julien Hué, and Stefan Wölfl Albert-Ludwigs-Universität Freiburg June 4/6, 2012 Nebel, Hué and Wölfl (Universität Freiburg) Constraint

More information

CSE P 501 Compilers. Parsing & Context-Free Grammars Hal Perkins Winter /15/ Hal Perkins & UW CSE C-1

CSE P 501 Compilers. Parsing & Context-Free Grammars Hal Perkins Winter /15/ Hal Perkins & UW CSE C-1 CSE P 501 Compilers Parsing & Context-Free Grammars Hal Perkins Winter 2008 1/15/2008 2002-08 Hal Perkins & UW CSE C-1 Agenda for Today Parsing overview Context free grammars Ambiguous grammars Reading:

More information

RECODER - The Architecture of a Refactoring System

RECODER - The Architecture of a Refactoring System RECODER - The Architecture of a Refactoring System Andreas Ludwig Prof. U. Aßmann http://recoder.sf.net Overview ➊Programming in the Large Problems, Concepts, The Approach ➋The Architecture of RECODER

More information

Business-Driven Software Engineering Lecture 5 Business Process Model and Notation

Business-Driven Software Engineering Lecture 5 Business Process Model and Notation Business-Driven Software Engineering Lecture 5 Business Process Model and Notation Jochen Küster jku@zurich.ibm.com Agenda BPMN Introduction BPMN Overview BPMN Advanced Concepts Introduction to Syntax

More information

CSE P 501 Compilers. Parsing & Context-Free Grammars Hal Perkins Spring UW CSE P 501 Spring 2018 C-1

CSE P 501 Compilers. Parsing & Context-Free Grammars Hal Perkins Spring UW CSE P 501 Spring 2018 C-1 CSE P 501 Compilers Parsing & Context-Free Grammars Hal Perkins Spring 2018 UW CSE P 501 Spring 2018 C-1 Administrivia Project partner signup: please find a partner and fill out the signup form by noon

More information

Extending BPEL with transitions that can loop

Extending BPEL with transitions that can loop Extending BPEL with transitions that can loop ActiveVOS linksaretransitions BPEL Extension AN ACTIVE ENDPOINTS PAPER AUTHOR: DR MICHAEL ROWLEY 2009 Active Endpoints Inc. ActiveVOS is a trademark of Active

More information

Computer Science and Software Engineering University of Wisconsin - Platteville. 3. Search (Part 1) CS 3030 Lecture Notes Yan Shi UW-Platteville

Computer Science and Software Engineering University of Wisconsin - Platteville. 3. Search (Part 1) CS 3030 Lecture Notes Yan Shi UW-Platteville Computer Science and Software Engineering University of Wisconsin - Platteville 3. Search (Part 1) CS 3030 Lecture Notes Yan Shi UW-Platteville Read: Textbook Chapter 3.7-3.9,3.12, 4. Problem Solving as

More information

Constraint Satisfaction Problems

Constraint Satisfaction Problems Constraint Satisfaction Problems CE417: Introduction to Artificial Intelligence Sharif University of Technology Spring 2013 Soleymani Course material: Artificial Intelligence: A Modern Approach, 3 rd Edition,

More information

Introduction to Parsing Ambiguity and Syntax Errors

Introduction to Parsing Ambiguity and Syntax Errors Introduction to Parsing Ambiguity and Syntax rrors Outline Regular languages revisited Parser overview Context-free grammars (CFG s) Derivations Ambiguity Syntax errors Compiler Design 1 (2011) 2 Languages

More information

CHAIN OF RESPONSIBILITY (DP 223)

CHAIN OF RESPONSIBILITY (DP 223) CHAIN OF RESPONSIBILITY (DP 223) Object Behavioral Intent Avoid coupling the sender of a request to its receiver by giving more than one object a chance to handle the request. Chain the receiving objects

More information

CSE 373 MAY 10 TH SPANNING TREES AND UNION FIND

CSE 373 MAY 10 TH SPANNING TREES AND UNION FIND CSE 373 MAY 0 TH SPANNING TREES AND UNION FIND COURSE LOGISTICS HW4 due tonight, if you want feedback by the weekend COURSE LOGISTICS HW4 due tonight, if you want feedback by the weekend HW5 out tomorrow

More information

Computer Science 210 Data Structures Siena College Fall Topic Notes: Trees

Computer Science 210 Data Structures Siena College Fall Topic Notes: Trees Computer Science 0 Data Structures Siena College Fall 08 Topic Notes: Trees We ve spent a lot of time looking at a variety of structures where there is a natural linear ordering of the elements in arrays,

More information

(2,4) Trees. 2/22/2006 (2,4) Trees 1

(2,4) Trees. 2/22/2006 (2,4) Trees 1 (2,4) Trees 9 2 5 7 10 14 2/22/2006 (2,4) Trees 1 Outline and Reading Multi-way search tree ( 10.4.1) Definition Search (2,4) tree ( 10.4.2) Definition Search Insertion Deletion Comparison of dictionary

More information

LECTURE 11 TREE TRAVERSALS

LECTURE 11 TREE TRAVERSALS DATA STRUCTURES AND ALGORITHMS LECTURE 11 TREE TRAVERSALS IMRAN IHSAN ASSISTANT PROFESSOR AIR UNIVERSITY, ISLAMABAD BACKGROUND All the objects stored in an array or linked list can be accessed sequentially

More information

Analysis on Demand: Instantaneous Soundness Checking of Industrial Business Process Models

Analysis on Demand: Instantaneous Soundness Checking of Industrial Business Process Models Analysis on Demand: Instantaneous Soundness Checking of Industrial Business Process Models Dirk Fahland a, Cédric Favre b, Jana Koehler 1c, Niels Lohmann d, Hagen Völzer b, Karsten Wolf d a Humboldt-Universität

More information

Business process modeling and automation IDU0330 Lecture 3 BPMN Enn Õunapuu ICT-643

Business process modeling and automation IDU0330 Lecture 3 BPMN Enn Õunapuu ICT-643 Business process modeling and automation IDU0330 Lecture 3 BPMN Enn Õunapuu enn.ounapuu@ttu.ee ICT-643 Agenda for BPMN BPM reference model BPMN basic elements Modelling methodology BPMN diagramming style

More information

Introduction to Parsing Ambiguity and Syntax Errors

Introduction to Parsing Ambiguity and Syntax Errors Introduction to Parsing Ambiguity and Syntax rrors Outline Regular languages revisited Parser overview Context-free grammars (CFG s) Derivations Ambiguity Syntax errors 2 Languages and Automata Formal

More information

a graph is a data structure made up of nodes in graph theory the links are normally called edges

a graph is a data structure made up of nodes in graph theory the links are normally called edges 1 Trees Graphs a graph is a data structure made up of nodes each node stores data each node has links to zero or more nodes in graph theory the links are normally called edges graphs occur frequently in

More information

Process Modelling. Fault Tolerant Systems Research Group. Budapest University of Technology and Economics

Process Modelling. Fault Tolerant Systems Research Group. Budapest University of Technology and Economics Process Modelling Budapest University of Technology and Economics Fault Tolerant Systems Research Group Budapest University of Technology and Economics Department of Measurement and Information Systems

More information

White Paper Understanding BPMN Connections

White Paper Understanding BPMN Connections White Paper Understanding BPMN Connections WP0070 April 2013 In this whitepaper the syntax and semantics of using different types of BPMN 2.0 connections is explained. Since BPMN is a graph-oriented language,

More information

The TTC 2011 Reengineering Challenge Using MOLA and Higher-Order Transformations

The TTC 2011 Reengineering Challenge Using MOLA and Higher-Order Transformations The TTC 2011 Reengineering Challenge Using MOLA and Higher-Order Transformations Agris Sostaks, Elina Kalnina, Audris Kalnins, Edgars Celms, and Janis Iraids Institute of Computer Science and Mathematics,

More information

White Paper Workflow Patterns and BPMN

White Paper Workflow Patterns and BPMN White Paper Workflow Patterns and BPMN WP0121 December 2013 In general, a pattern describes a solution for a recurring problem. Patterns are commonly used in architecture as a formal way of documenting

More information

Generation of Interactive Questionnaires Using YAWL-based Workflow Models

Generation of Interactive Questionnaires Using YAWL-based Workflow Models Management Studies, December 2015, Vol. 3, No. 11-12, 273-280 doi: 10.17265/2328-2185/2015.1112.002 D DAVID PUBLISHING Generation of Interactive Questionnaires Using YAWL-based Workflow Models Raimond

More information

LECTURE 3 ALGORITHM DESIGN PARADIGMS

LECTURE 3 ALGORITHM DESIGN PARADIGMS LECTURE 3 ALGORITHM DESIGN PARADIGMS Introduction Algorithm Design Paradigms: General approaches to the construction of efficient solutions to problems. Such methods are of interest because: They provide

More information

Formal specification of semantics of UML 2.0 activity diagrams by using Graph Transformation Systems

Formal specification of semantics of UML 2.0 activity diagrams by using Graph Transformation Systems Formal specification of semantics of UML 2.0 activity diagrams by using Graph Transformation Systems Somayeh Azizi 1, Vahid Panahi 2 Computer science department, Sama Technical and vocational, Training

More information

UNIT 5 - UML STATE DIAGRAMS AND MODELING

UNIT 5 - UML STATE DIAGRAMS AND MODELING UNIT 5 - UML STATE DIAGRAMS AND MODELING UML state diagrams and modeling - Operation contracts- Mapping design to code UML deployment and component diagrams UML state diagrams: State diagrams are used

More information

Business Information Systems Lecture 3 BPMN. Enn Õunapuu

Business Information Systems Lecture 3 BPMN. Enn Õunapuu Business Information Systems Lecture 3 BPMN Enn Õunapuu enn@cc.ttu.ee Lecture plan Overall approach BPMN Examples 3 Business process definition The word process is defined in the dictionary as a series

More information

Intermediate Code Generation

Intermediate Code Generation Intermediate Code Generation In the analysis-synthesis model of a compiler, the front end analyzes a source program and creates an intermediate representation, from which the back end generates target

More information

Register Allocation via Hierarchical Graph Coloring

Register Allocation via Hierarchical Graph Coloring Register Allocation via Hierarchical Graph Coloring by Qunyan Wu A THESIS Submitted in partial fulfillment of the requirements for the degree of MASTER OF SCIENCE IN COMPUTER SCIENCE MICHIGAN TECHNOLOGICAL

More information

AADL Graphical Editor Design

AADL Graphical Editor Design AADL Graphical Editor Design Peter Feiler Software Engineering Institute phf@sei.cmu.edu Introduction An AADL specification is a set of component type and implementation declarations. They are organized

More information

Control-Flow Analysis

Control-Flow Analysis Control-Flow Analysis Dragon book [Ch. 8, Section 8.4; Ch. 9, Section 9.6] Compilers: Principles, Techniques, and Tools, 2 nd ed. by Alfred V. Aho, Monica S. Lam, Ravi Sethi, and Jerey D. Ullman on reserve

More information

Part 1: jquery & History of DOM Scripting

Part 1: jquery & History of DOM Scripting Karl Swedberg: Intro to JavaScript & jquery 0:00:00 0:05:00 0:05:01 0:10:15 0:10:16 0:12:36 0:12:37 0:13:32 0:13:32 0:14:16 0:14:17 0:15:42 0:15:43 0:16:59 0:17:00 0:17:58 Part 1: jquery & History of DOM

More information

Hierarchies. QlikView Technical Brief. 26 Nov 2013, HIC

Hierarchies. QlikView Technical Brief. 26 Nov 2013, HIC Hierarchies QlikView Technical Brief 26 Nov 2013, HIC www.qlikview.com Contents Contents... 2 Introduction... 3 Examples in real life... 3 Different types of hierarchies... 4 Balanced or Unbalanced?...

More information

FINALTERM EXAMINATION Fall 2009 CS301- Data Structures Question No: 1 ( Marks: 1 ) - Please choose one The data of the problem is of 2GB and the hard

FINALTERM EXAMINATION Fall 2009 CS301- Data Structures Question No: 1 ( Marks: 1 ) - Please choose one The data of the problem is of 2GB and the hard FINALTERM EXAMINATION Fall 2009 CS301- Data Structures Question No: 1 The data of the problem is of 2GB and the hard disk is of 1GB capacity, to solve this problem we should Use better data structures

More information

Algorithm Design Paradigms

Algorithm Design Paradigms CmSc250 Intro to Algorithms Algorithm Design Paradigms Algorithm Design Paradigms: General approaches to the construction of efficient solutions to problems. Such methods are of interest because: They

More information

Stacks, Queues and Hierarchical Collections

Stacks, Queues and Hierarchical Collections Programming III Stacks, Queues and Hierarchical Collections 2501ICT Nathan Contents Linked Data Structures Revisited Stacks Queues Trees Binary Trees Generic Trees Implementations 2 Copyright 2002- by

More information

Chapter 4 :: Semantic Analysis

Chapter 4 :: Semantic Analysis Chapter 4 :: Semantic Analysis Programming Language Pragmatics, Fourth Edition Michael L. Scott Copyright 2016 Elsevier 1 Chapter04_Semantic_Analysis_4e - Tue November 21, 2017 Role of Semantic Analysis

More information

Process Modelling using Petri Nets

Process Modelling using Petri Nets Process Modelling using Petri Nets Katalina Grigorova Abstract: This paper discusses the reasons, which impose Petri nets as a conceptual standard for modelling and analysis of workflow. Petri nets notation

More information

Trees. Carlos Moreno uwaterloo.ca EIT https://ece.uwaterloo.ca/~cmoreno/ece250

Trees. Carlos Moreno uwaterloo.ca EIT https://ece.uwaterloo.ca/~cmoreno/ece250 Carlos Moreno cmoreno @ uwaterloo.ca EIT-4103 https://ece.uwaterloo.ca/~cmoreno/ece250 Today's class: We'll discuss one possible implementation for trees (the general type of trees) We'll look at tree

More information

Software Service Engineering

Software Service Engineering Software Service Engineering Lecture 4: Unified Modeling Language Doctor Guangyu Gao Some contents and notes selected from Fowler, M. UML Distilled, 3rd edition. Addison-Wesley Unified Modeling Language

More information

UNIT-IV BASIC BEHAVIORAL MODELING-I

UNIT-IV BASIC BEHAVIORAL MODELING-I UNIT-IV BASIC BEHAVIORAL MODELING-I CONTENTS 1. Interactions Terms and Concepts Modeling Techniques 2. Interaction Diagrams Terms and Concepts Modeling Techniques Interactions: Terms and Concepts: An interaction

More information

Program generation for schema-based, typed data access

Program generation for schema-based, typed data access Program generation for schema-based, typed data access Ralf Lämmel Software Engineer Facebook, London Program generation A use case at Facebook Purpose of generation: typed data access ("O/R mapping" et

More information

Oracle BPM 11g: Implement the Process Model

Oracle BPM 11g: Implement the Process Model Oracle BPM 11g: Implement the Process Model Duration: 5 Days What you will learn This Oracle BPM 11g: Implement the Process Model training is ideal for process developers who want to learn how to implement

More information

Parser Design. Neil Mitchell. June 25, 2004

Parser Design. Neil Mitchell. June 25, 2004 Parser Design Neil Mitchell June 25, 2004 1 Introduction A parser is a tool used to split a text stream, typically in some human readable form, into a representation suitable for understanding by a computer.

More information

4.1 Review - the DPLL procedure

4.1 Review - the DPLL procedure Applied Logic Lecture 4: Efficient SAT solving CS 4860 Spring 2009 Thursday, January 29, 2009 The main purpose of these notes is to help me organize the material that I used to teach today s lecture. They

More information

Workflow : Patterns and Specifications

Workflow : Patterns and Specifications Workflow : Patterns and Specifications Seminar Presentation by Ahana Pradhan Under the guidance of Prof. Rushikesh K. Joshi Department of Computer Science and Engineering Indian Institute of Technology,

More information

UNIT-4 Behavioral Diagrams

UNIT-4 Behavioral Diagrams UNIT-4 Behavioral Diagrams P. P. Mahale Behavioral Diagrams Use Case Diagram high-level behaviors of the system, user goals, external entities: actors Sequence Diagram focus on time ordering of messages

More information