camunda BPM @ JUG München

Post on 24-Jan-2015

761 views 3 download

description

 

Transcript of camunda BPM @ JUG München

camunda BPM

15.07.2013 – Java User Group München

bernd.ruecker@camunda.com

Willkommen

Bernd Rücker

camunda services GmbH

Meine Mission

BPM für JEDEN Java-Entwickler

Demo

Standalone

Unit Testing

Fluent Testing API contributed by

https://github.com/camunda/camunda-bpm-fluent-testing

Oder BDD

Feature: Performance process happy path

Scenario: should start and wait on timer

Given the process definition "bpmn/performance.bpmn"

When the initial payload variable "timerDate" is set correctly

And the process "process_performance" is started with payload

Then the step "timer_waitForDate" is reached

And the payload "tree" variable is set correctly

And the payload "timerDate" variable is set correctly

1

@When("the process \"$instanceName\" is started with payload")

@Given("the process \"$instanceName\" is started with payload")

public void processIsStartedWithPayload(String instanceName) {

assertNotNull(initialPayload);

support.startProcessInstanceByKey(instanceName,

initialPayload);

}

Spring

Process Engine = Infrastruktur

Process Engine

Container

My process application2

Java Classes

BPMN 2.0 Processes

JPA, EJB, JTA …

My process application1

Java Classes

BPMN 2.0 Processes

My process application1

process engine (jar)

Java Classes

BPMN 2.0 Processes

… My process application2

process engine (jar)

Java Classes

BPMN 2.0 Processes

Websphere, WebLogic, …

camunda BPM Komponenten

Glassfish

Tomcat

JBoss

WebSphere

WebLogic

Der richtige Ansatz?

Best of Breed

Integration

• Apache CXF

• Apache Camel

• Mule ESB

• Talend ESB

• IBM ESB

• Apache CMIS

• ...

GUI

• HTML 5, PHP

• JSF, Vaadin, GWT

• xyz Portal Server

• Swing

• Orbeon

• ...

Prozesse

camunda BPM

+ Reporting

• Jasper

• BIRT

• ...

Rules

• JBoss Drools

• IBM ILOG

• ...

Documents

• Alfresco ECM

• ...

...what ever!

• Java

• ... (REST)

“Die offene Plattform erlaubt

uns die Abbildung unserer individuellen Anforderungen mit einer Konsequenz, die geschlossene BPM-Suiten nicht erreichen können.“ (Marko Lehn, Teamlead Software Engineering, Zalando GmbH)

ESB Integration

Process Engine

Consumer Consumer

Provider

REST REST

Beispiel: Kontoeröfnung

1.

2.

3.

In BPMN

BPMN Teil 2

Kollaboration

Demo

Real-Life-Versicherungsbeispiel

ESB

Sachbearbeiter

Genehmiger

Deployment-Szenarien

Application Server App Server Camel

camunda BPM

Anwendung

camunda BPM

Anwendung

camel

Variante 1: Camel Teil der Anwendung

Variante 3 Camel als Standalone Server

Application Server

camunda BPM

Anwendung

camel

Variante 2 Camel Dienst des Application

Server

Prozessfluss

Persistenter Zustandsautomat

Business-IT-Alignment (mit BPMN 2.0)

Human Task Management

Service-Orchestrierung

Wer macht was?

„Connectivity“

Abstraktion der Schnittstellen-Technologie

Orttransparenz / Routing

Transformation

Aufpassen: Content Based Routing

Quelle: JBoss ESB

Quelle: Mule

Was bringt uns das?

„Passion“ / Freude

Produktivität

Kein Vendor-Lock-In

Black Box BPM-Suite

Wer setzt camunda BPM ein? und v

iele

mehr…

Okay Dudes – but why did you fork Activiti?

Quelle: http://dudespaper.com/look-both-ways.html/

Quelle: http://en.wikipedia.org/wiki/Alfresco_%28software%29 http://www.verkehrsrundschau.de/zalando-eroeffnet-logistikzentrum-in-erfurt-1186912.html

Use Cases

Activiti®

camunda BPM

your BPM solution

BPMN 2.0 & roundtrip

operations incl.

monitoring huge scenarios

best of breed +

ease of use

Business Analysts

Leidenschaftliches Vollzeit-Team

+

Maven dependencies: activiti-engine.jar => camunda-engine.jar

Package names: org.activiti => org.camunda.bpm

A couple of (internal) classes are renamed

Not changed:

Database schema and table names (fork of Activiti 5.11)

Migration is easy

Ctrl+Shift+O

Eclipse BPMN 2.0 Modeler

Shared Process Engine & Container Integration

REST API

Web Tools (Cockpit, Tasklist and Cycle)

Performance Improvements

Improved error handling and KPI logging

BPMN 2.0 coverage

Keep up-to-date: http://camundabpm.blogspot.de

Differences

Roadmap always online 7.0 GA Release 31.08.2013

Anfangen!

www.camunda.org

Was anzubieten?

community@camunda.org

Und vorbeikommen!

Erarbeitung von Best Practices

Erster Termin: 29.07.2013 |17.00 – 18.30

WebEX - Anmeldung über camunda.org

Themen Backlog

−Daten in Prozessen

−Prozessversionierung

−Threading & Transaktionssteuerung

−Fehlerbehandlung

−Testing

−Integration & ESB

−Reporting

−…

Online Arbeitsgruppe „Best Practices“

Vielen Dank! Neuer Job gesucht? www.camunda.com/jobs/