Open Source BPM mit Activiti
Bernd Rücker, camunda services GmbH
Be part of the moment
Master of Science in Software Technology
Berater, Trainer, Coach
Softwareentwickler
                                             Bernd Rücker
                                           bernd.ruecker@camunda.com
„BPM mit der technischen Brille“

Projekterfahrung seit 2002: Technische
BPM/SOA-Architekturen, Java Enterprise
Edition (JEE)

Activiti Cycle Component Lead
Committer bei Activiti & JBoss jBPM

Blog: www.bpm-guide.de
•   Java Process Engine
•   Open Source (Apache 2.0)
•   POJO + MyBatis
•   „Library“ / „Framework“
•   Flexibel und Erweiterbar
•   BPMN 2.0
•   Projektstart 03/2010
•   01.12.2010: Release 5.0 GA
•   Motivation Alfresco: jBPM Replacement
Wer ist Activiti?
There is no Activiti Company…
..but there are professional Services




        Activiti supported as            Support for
                part of             Activiti BPM Platform
            Alfresco ECM                (standalone)
Nächstes Activiti Training:
„Enablement“ by camunda         11.04.-13.04.2011
                                            Stuttgart
Los geht’s mit einem kleinen
          Beispiel…
You know Twitter?
Image the Anti Agile Inc.
The Anti Agile Inc. needs Twitter QA!
Solution: The Twitter QA Process ;-)
Demo




       Twitter
        QA
Activiti & Java



                                                         Java!
             Test
             Case

            Session                     Process Engine
             Bean

             Web-
           Application


               …




                         Spring   EJB      JCA     JMS   WS
Demo-Deployment


activiti-
xxx.war               Web-Frontends


                            REST

activiti-              Activiti Engine
rest.war
                            (.jar)

                        Apache MyBatis



                   JDBC-Database-Connection
            (H2, Oracle, MySQL, PostgresSQL, DB2, …)
Services




see Apidocs: http://www.activiti.org/javadocs/org/activiti/engine/package-summary.html
Es gibt übrigens noch viel mehr…

  WebService-Anbindung
  Spring Integration
  Mule Integration
  OSGI Fähigkeit
  Apache Camel Integration
  Drools Integration
  JBoss Deployment und CDI-Integration
  Flexible Aufgabenzuweisungen
  Ökosystem: iPhone, Android, Liferay, …
  …
Unternehmensweit
              BPM + SOA


                                             Anpassbare
                                            Standard-SW




                              Und wofür ist das nun gut?




Software
 Projekt
Entwicklungsvorgehen mit Activiti Cycle




                                          Entwicklung




                            ?
 Process
 Analyst
Demo




       Roundtrip with
          Cycle
Only one
  The whole process                                                    possible
                                                                       approach




                                                                 Configurable
                                                                and extensible
                                                                 via Plug-Ins

see
http://docs.codehaus.org/display/ACT/Process+authoring+story+boards
Apropos Roundtrip: DIFF im kommerziellen Signavio
Mögliche Bereicherung des Entwicklungsprozesses
Activiti Komponenten in der Übersicht


   Explorer      Probe        Cycle   Modeler      Designer   Kickstart


                 REST

      Activiti              Cycle     Modeler
      Engine               Backend    Backend

                       camunda fox
                         Plug-Ins

          Database
     (H2, Oracle, MySQL,              Filesystem
      PostgresSQL, DB2)

          MS-SQL
          geplant
Was uns wichtig ist…

 • Developer-Friendliness over Zero Coding
 • Smart Communication over Single-Source-Models
 • Composite Architectures over one-stop-shops
 • Open Source over Out-of-the-Box
Poster zu
mitnehmen
heute hier!
Wer modelliert Geschäftsprozesse mit BPMN?




                                      Und viele weitere…
Business-IT-Alignment mit technischen that‘s
     Here‘s your to-be-
     process, ready to                         Modellen?
                            Huh, looks complicated!
                             Where is the part
     deploy. Could you
     please approve?                              my business?


                 Ehm, it‘s here. And there.
                   And over there. Well
                  somehow, some steps
                    and decisions are         I need gudielines for my
                  completely automated.         process, where can I
                                                     find that?
                    Those parts won‘t be
                   executed by the engine.
                    I cannot model them,
                       they‘d break the         And what are those
                        technical flow.         steps for? Nobody         Manager
                                                  specified them!
                                                                         approving
      IT           Yes but we need those
                  steps. Otherwise we will
                                                                          Tweets
                  get data inconsistencies     Inconti-what!? This is
                   in the process context.    just your coding again,
                                                and not my process!

                                               I won‘t approve this.
          Ah, F***
            Y**!
Das ist der Prozess, den der Manager sehen will
Big Picture


                 Process Engine
                   ist auch ein
                   Teilnehmer

 Verschiedene
  Teilnehmer
 kollaborieren
Tooling: Sichten im kommerziellen Signavio
Tooling: Sichten
Auch für die Technik: Eingebaut in Cycle
Feedback zu Activiti

  Ein ganz dickes Lob für Activiti! Es funktioniert auf Anhieb -
  und wie!
  Ich mag mir gar nicht vorstellen, was es an Zeit und Geld
  gekostet hätte, das mit z.B. dem IBM Process Server zu
  schaffen
  Leichtgewichtig, API sehr gut überschaubar
  Logging, Nachvollziehbarkeit, Timer- und Eskalationshandling
  sehr gut gelöst
  Erstaunlich gute Integration mit Spring
  ...
Praxiserfahrungen                     Das Activiti-Training der camunda war eine sehr
                                      hilfreiche Einführung. Wir haben nicht nur gelernt,
                                      wie und warum man diese Plattform einsetzen
                                      sollte, sondern auch viele Tricks und Kniffe aus der
                                      Praxis der Prozessautomatisierung erfahren.
                                      Dadurch erhielten wir sowohl eine grundsätzliche
                                      Orientierung, als auch die Befähigung, mit Activiti
                                      sofort loslegen zu können.

                                      Matthias Meyer
                                      CKC AG


  Der Workshop hat uns in unserer Entscheidung
  bestätigt, ein Workflow-System in unser System
  zu integrieren und keine Eigenimplementierung
  unserer integrierten Prozesse vorzunehmen.
  Während des Workshops haben wir einen sehr
  guten Einblick in BPMN 2.0 und insbesondere
  Activiti bekommen. Hier wurden wir auch bestärkt,
  dass wir mit Activiti ein leistungsfähiges
  Framework an die Hand bekommen und die
  Integration dank der Unterstützung von Camunda
  auch ohne größere Probleme klappen wird. Der
  Workshop hat unsere Erwartungen absolut erfüllt.

  Tobias Hilka, Vice President Application
  Software Development
  vps ID Systeme GmbH
Also: Anfangen!      Activiti Showcase & Demos:
                     www.bpm-guide.de
                     fox.camunda.com



                     Activiti Website:
                     www.activiti.org




                     Java Magazin Artikel




                     Training Beratung und
                     professioneller Support von
                     camunda :-)
                     www.camunda.com/activiti



                  Nächstes Activiti Training:
                        11.04.-13.04.2011
                                    Stuttgart
Selbsthilfegruppe: www.activiti-users.org
Bald auch…
Vielen Dank! Fragen?
camunda services GmbH
 Vielen Dank!                                  Zossener Str. 55-58
                                               1096 Berlin
                                                   1
                                               Telefon: +49 30 664 0409-00
                                               Telefax: +49 30 664 0409-29
                                               Email: info@camunda.com




                            Bernd Rücker
                             Geschäftsführer
                  bernd.ruecker@camunda.com


Java User Group
März 2011

                                               Der Praxis-Blog zu BPM:
                                               www.bpm-guide.de

20110406 activiti april

  • 1.
    Open Source BPMmit Activiti Bernd Rücker, camunda services GmbH
  • 2.
    Be part ofthe moment
  • 3.
    Master of Sciencein Software Technology Berater, Trainer, Coach Softwareentwickler Bernd Rücker bernd.ruecker@camunda.com „BPM mit der technischen Brille“ Projekterfahrung seit 2002: Technische BPM/SOA-Architekturen, Java Enterprise Edition (JEE) Activiti Cycle Component Lead Committer bei Activiti & JBoss jBPM Blog: www.bpm-guide.de
  • 4.
    Java Process Engine • Open Source (Apache 2.0) • POJO + MyBatis • „Library“ / „Framework“ • Flexibel und Erweiterbar • BPMN 2.0 • Projektstart 03/2010 • 01.12.2010: Release 5.0 GA • Motivation Alfresco: jBPM Replacement
  • 5.
  • 6.
    There is noActiviti Company… ..but there are professional Services Activiti supported as Support for part of Activiti BPM Platform Alfresco ECM (standalone)
  • 7.
    Nächstes Activiti Training: „Enablement“by camunda 11.04.-13.04.2011 Stuttgart
  • 8.
    Los geht’s miteinem kleinen Beispiel…
  • 9.
  • 10.
    Image the AntiAgile Inc.
  • 11.
    The Anti AgileInc. needs Twitter QA!
  • 12.
    Solution: The TwitterQA Process ;-)
  • 13.
    Demo Twitter QA
  • 14.
    Activiti & Java Java! Test Case Session Process Engine Bean Web- Application … Spring EJB JCA JMS WS
  • 15.
    Demo-Deployment activiti- xxx.war Web-Frontends REST activiti- Activiti Engine rest.war (.jar) Apache MyBatis JDBC-Database-Connection (H2, Oracle, MySQL, PostgresSQL, DB2, …)
  • 16.
  • 17.
    Es gibt übrigensnoch viel mehr… WebService-Anbindung Spring Integration Mule Integration OSGI Fähigkeit Apache Camel Integration Drools Integration JBoss Deployment und CDI-Integration Flexible Aufgabenzuweisungen Ökosystem: iPhone, Android, Liferay, … …
  • 18.
    Unternehmensweit BPM + SOA Anpassbare Standard-SW Und wofür ist das nun gut? Software Projekt
  • 19.
    Entwicklungsvorgehen mit ActivitiCycle Entwicklung ? Process Analyst
  • 20.
    Demo Roundtrip with Cycle
  • 21.
    Only one The whole process possible approach Configurable and extensible via Plug-Ins see http://docs.codehaus.org/display/ACT/Process+authoring+story+boards
  • 22.
    Apropos Roundtrip: DIFFim kommerziellen Signavio
  • 23.
    Mögliche Bereicherung desEntwicklungsprozesses
  • 24.
    Activiti Komponenten inder Übersicht Explorer Probe Cycle Modeler Designer Kickstart REST Activiti Cycle Modeler Engine Backend Backend camunda fox Plug-Ins Database (H2, Oracle, MySQL, Filesystem PostgresSQL, DB2) MS-SQL geplant
  • 25.
    Was uns wichtigist… • Developer-Friendliness over Zero Coding • Smart Communication over Single-Source-Models • Composite Architectures over one-stop-shops • Open Source over Out-of-the-Box
  • 26.
  • 27.
    Wer modelliert Geschäftsprozessemit BPMN? Und viele weitere…
  • 28.
    Business-IT-Alignment mit technischenthat‘s Here‘s your to-be- process, ready to Modellen? Huh, looks complicated! Where is the part deploy. Could you please approve? my business? Ehm, it‘s here. And there. And over there. Well somehow, some steps and decisions are I need gudielines for my completely automated. process, where can I find that? Those parts won‘t be executed by the engine. I cannot model them, they‘d break the And what are those technical flow. steps for? Nobody Manager specified them! approving IT Yes but we need those steps. Otherwise we will Tweets get data inconsistencies Inconti-what!? This is in the process context. just your coding again, and not my process! I won‘t approve this. Ah, F*** Y**!
  • 29.
    Das ist derProzess, den der Manager sehen will
  • 30.
    Big Picture Process Engine ist auch ein Teilnehmer Verschiedene Teilnehmer kollaborieren
  • 31.
    Tooling: Sichten imkommerziellen Signavio
  • 32.
  • 33.
    Auch für dieTechnik: Eingebaut in Cycle
  • 34.
    Feedback zu Activiti Ein ganz dickes Lob für Activiti! Es funktioniert auf Anhieb - und wie! Ich mag mir gar nicht vorstellen, was es an Zeit und Geld gekostet hätte, das mit z.B. dem IBM Process Server zu schaffen Leichtgewichtig, API sehr gut überschaubar Logging, Nachvollziehbarkeit, Timer- und Eskalationshandling sehr gut gelöst Erstaunlich gute Integration mit Spring ...
  • 35.
    Praxiserfahrungen Das Activiti-Training der camunda war eine sehr hilfreiche Einführung. Wir haben nicht nur gelernt, wie und warum man diese Plattform einsetzen sollte, sondern auch viele Tricks und Kniffe aus der Praxis der Prozessautomatisierung erfahren. Dadurch erhielten wir sowohl eine grundsätzliche Orientierung, als auch die Befähigung, mit Activiti sofort loslegen zu können. Matthias Meyer CKC AG Der Workshop hat uns in unserer Entscheidung bestätigt, ein Workflow-System in unser System zu integrieren und keine Eigenimplementierung unserer integrierten Prozesse vorzunehmen. Während des Workshops haben wir einen sehr guten Einblick in BPMN 2.0 und insbesondere Activiti bekommen. Hier wurden wir auch bestärkt, dass wir mit Activiti ein leistungsfähiges Framework an die Hand bekommen und die Integration dank der Unterstützung von Camunda auch ohne größere Probleme klappen wird. Der Workshop hat unsere Erwartungen absolut erfüllt. Tobias Hilka, Vice President Application Software Development vps ID Systeme GmbH
  • 36.
    Also: Anfangen! Activiti Showcase & Demos: www.bpm-guide.de fox.camunda.com Activiti Website: www.activiti.org Java Magazin Artikel Training Beratung und professioneller Support von camunda :-) www.camunda.com/activiti Nächstes Activiti Training: 11.04.-13.04.2011 Stuttgart
  • 37.
  • 38.
  • 39.
  • 40.
    camunda services GmbH Vielen Dank! Zossener Str. 55-58 1096 Berlin 1 Telefon: +49 30 664 0409-00 Telefax: +49 30 664 0409-29 Email: info@camunda.com Bernd Rücker Geschäftsführer bernd.ruecker@camunda.com Java User Group März 2011 Der Praxis-Blog zu BPM: www.bpm-guide.de