Docstoc

Using Event Driven Process Chains for Model Driven Development

Document Sample
Using Event Driven Process Chains for Model Driven Development Powered By Docstoc
					 Using Event-Driven Process Chains
         for Model-Driven
Development of Business Applications

           Daniel Lübke, Tim Lüecke,
     Kurt Schneider and Jorge Marx-Gómez

     University Hannover, Software Engineering
        daniel.luebke@inf.uni-hannover.de
Outline

• Motivation

• Task Model Description

• Client/Server Interaction

• Example

• Conclusions & Outlook




                Daniel Lübke: Using EPCs for Model-Driven Development of Business Applications   2
Distributed ERP Scenario

  Enterprise (SME)                                         Service
                                                          Provider
                                                             A


                                                                                   Service
                     Application
                                                                                  Provider
                       Server
                                                                                     B

                                                                                    Service
                                                                                   Provider
                      Local
                                                                                      C
                      Data
                     Storage
                                                           Service
   Clients                                                Provider
                                                             D


                 Daniel Lübke: Using EPCs for Model-Driven Development of Business Applications   3
Being Flexible using Web Services?

• Web Service Composition is (comparably) easy:
   – Standard Languages (BPEL, YAWL, …)
   – Workflow Updates are easy to do
   – Functionality can flexibly composed out of services


• However:
   – The workflows have to be used!
   – User Interaction is required
   – User Interfaces are time-consuming to develop (, test and maintain
     …)


• Therefore, this paper concentrates on the user interface


                  Daniel Lübke: Using EPCs for Model-Driven Development of Business Applications   4
Necessities for Development

• SMEs are highly competitive due to their flexibility
   – Processes need to be as flexible


• That requires

   – Inexpensive Changes
      • Otherwise process changes are too costly


   – Easy changes
      • Not top-personnel




                  Daniel Lübke: Using EPCs for Model-Driven Development of Business Applications   5
Composition Architecture


                                 Task which needs
                                  user interaction




             Daniel Lübke: Using EPCs for Model-Driven Development of Business Applications   6
Model Based User Interface Generation

• MB-UI has been a research field for many years
   – Often resulted in heavy-weight attempts
   – Breakthrough hindered by high effort compared to low advantages

   – Light-weight approaches are more likely to succeed


• Common to most approaches: Task Model
   – Describes the activities a user can do
   – Like: edit, show, decide, …




                  Daniel Lübke: Using EPCs for Model-Driven Development of Business Applications   7
Task Model in EPCs
    Perform action                Edit purchase              Select production         Check contract
       on order                   order                            plant


   Control                      Edit                         Select                      User

                                                    Order
   WS     Add Customer
                                                  received


   Web service                         Web service                               synchronized
    Invocation
    invocation                         Reception
                                        reception                                   splits


• EPCs mainly consist of Events, Functions and Connectors

• Those are extended with markers representing common
  task model elements

                         Daniel Lübke: Using EPCs for Model-Driven Development of Business Applications   8
User Interface Generation

• Data Schema is represented using XML Schema

• Hierarchical structure of primitive and complex types

• Data to be shown or edited is decomposed via a matching
  editor hierarchy




                Daniel Lübke: Using EPCs for Model-Driven Development of Business Applications   9
Client/Server-Interaction

                          Login

             C
                     Handle Event
 Interface




             L
   User




             I     Retrieve EPC/TM
             E
                      Evoke Event                                S
             N
                                                                 E
             T
                      End Process                                R
                                                                 V                     Process
                                                                 E                      Model
             C                                                   R
             L       Process
 Interface
   User




             I
             E    End Subprocess
             N
             T

                 Daniel Lübke: Using EPCs for Model-Driven Development of Business Applications   10
Example

                                                                     PM
                                                                   too low
                              Order
                             Received
                                                                    Visualize
                                   Check                            difference
                    ?       profit margin (PM)

                                                              Difference
                                 X
                                                              visualized

                                PM
          PM o.k.
                              too low                                 Make
                                                                     decision

Manager                 Manager decides
                                                                     X

                                 X
                                                          Edit
                                                        selected
               Approved              Rejected

                                                           Edit PM
                        X


                    Forward order
          WS        to production                       Approved         Rejected


                  Order
                forwared




                                                 Daniel Lübke: Using EPCs for Model-Driven Development of Business Applications   11
Advantages

• Application Development
   – Our approach reduces development/maintenance efforts
   – Unified User Interfaces
   – On-the-fly generation


• Generation of UI-code
   – Code can be edited
   – Development efforts are reduced


• Prototyping
   – Interviews with Stakeholders
       • Interactive Process/UI Feedback
   – Prototype Applications/Feasibility Studies

                   Daniel Lübke: Using EPCs for Model-Driven Development of Business Applications   12
Conclusions and Outlook

• User Interface Generation can save much development effort
   – Allows easy changes of process and workflow models

• MB-UI extensions integrate seamlessly into EPCs
   – Standard EPC hierarchical refinement
   – Easy annotation
   – Few new elements

• Approach adaptable to other Models/UIs as well
   – BPEL, YAWL, …
   – Portlets, Web Applications, …

            Thank you for your attention! Any questions?

         Daniel Lübke <daniel.luebke@inf.uni-hannover.de>

                 Daniel Lübke: Using EPCs for Model-Driven Development of Business Applications   13

				
DOCUMENT INFO
Shared By:
Categories:
Tags:
Stats:
views:0
posted:3/31/2013
language:English
pages:13
dominic.cecilia dominic.cecilia http://
About