jboss jbpm, the future is now for all your business processes by eric schabell

40
JBoss jBPM, the future is now for all your Business Processes Eric D. Schabell JBoss Solution Architect

Upload: jbug-london

Post on 11-Nov-2014

1.021 views

Category:

Technology


1 download

DESCRIPTION

Main talk by Eric Schabell presented at London JBUG event on the 17th of October 2011

TRANSCRIPT

Page 1: JBoss jBPM, the future is now for all your Business Processes by Eric Schabell

JBoss jBPM, the future is now for all your

Business Processes

Eric D. SchabellJBoss Solution Architect

Page 2: JBoss jBPM, the future is now for all your Business Processes by Eric Schabell

What is BPM?

Overview jBPM5

Flexible Processes

Cool Stuff

Page 3: JBoss jBPM, the future is now for all your Business Processes by Eric Schabell

Business Process Managementis a

systematic approachto making an organization's

workflowmore effective, more efficient

and more capable ofadapting

to an ever-changingenvironment.

Page 4: JBoss jBPM, the future is now for all your Business Processes by Eric Schabell

Workflow is?

A business process as an activity or set of activities that will accomplish a specific organizational goal.

Page 5: JBoss jBPM, the future is now for all your Business Processes by Eric Schabell

What is BPM?

Overview jBPM5

Flexible Processes

Cool Stuff

Page 6: JBoss jBPM, the future is now for all your Business Processes by Eric Schabell

From Workflow...

• Core engine is a workflow engine in pure Java– state transitions

– lightweight

– embeddable

– generic, extensible

CoreEngine

Page 7: JBoss jBPM, the future is now for all your Business Processes by Eric Schabell

Core Engine

KnowledgeBase

StatefulKnowledge

Session

ProcessDefinition

ProcessInstance

Page 8: JBoss jBPM, the future is now for all your Business Processes by Eric Schabell

ProcessRuntime interface

● startProcess(processId)● startProcess(processId, parameters)● signalEvent(type, event)● signalEvent(type, event, instanceId)● abortProcessInstance(instanceId)● getProcessInstance(instanceId)

Page 9: JBoss jBPM, the future is now for all your Business Processes by Eric Schabell

...to BPMS

CoreEngine BPMN

2.0

XML

EclipseBPMN2Editor

Web Designer(Oryx)

Page 10: JBoss jBPM, the future is now for all your Business Processes by Eric Schabell

BPMN 2.0

● OMG specification● Model● Notation● Execution semantics

● Understandable by all business users

● Process, collaboration, choreography● Extensible

Page 11: JBoss jBPM, the future is now for all your Business Processes by Eric Schabell

jBPM5 and BPMN2

● Focus on executable processes● Java environment● Native execution

● Subset● Common Executable ++

● High-level and domain-specific● Minimal custom extensions

Page 12: JBoss jBPM, the future is now for all your Business Processes by Eric Schabell

BPMN 2.0 Example

<definitions ... >

<process id="com.sample.bpmn.hello" name="Hello World" >

<startEvent id="_1" name="StartProcess" />

<sequenceFlow sourceRef="_1" targetRef="_2" />

<scriptTask id="_2" name="Hello" >

<script>System.out.println("Hello World");</script>

</scriptTask>

<sequenceFlow sourceRef="_2" targetRef="_3" />

<endEvent id="_3" name="EndProcess" />

</process>

</definitions>

Page 13: JBoss jBPM, the future is now for all your Business Processes by Eric Schabell

BPEL Vs BPMN

● Red Hat does not intend to create 2 BPM solutions

● BPMN2 is the strategic direction

● BPEL requirements will be fulfilled with implementation.

● Project Riftsaw – implementation of BPEL will be included in SOA-P 5.2

● Future BPM solutions will be built on BPMN2 standards

● JBoss BPM platform is our answer to all process flow / workflow solutions

Page 14: JBoss jBPM, the future is now for all your Business Processes by Eric Schabell

BPMN2 positioning

BPMN2Model

ProcessChoreography

Collaboration

ServicesWS-BPEL

jBPM

RiftSaw

Savara

SOA

Rules

Event

BRMS

Page 15: JBoss jBPM, the future is now for all your Business Processes by Eric Schabell

...to BPMS

CoreEngine BPMN

2.0

XMLPersistence

Trans-actions

JPA(runtime, history, services)

JTA(command-scoped, user-defined)

Page 16: JBoss jBPM, the future is now for all your Business Processes by Eric Schabell

...to BPMS

CoreEngine BPMN

2.0

XMLPersistence

Trans-actions

Events

HistoryLog

ManagementConsole

BAM

Page 17: JBoss jBPM, the future is now for all your Business Processes by Eric Schabell

...to BPMS

CoreEngine BPMN

2.0

XMLPersistence

Trans-actions

Events

IntegrationDomain-specific

Processes

Human TaskService (WS-HT)ESB

Page 18: JBoss jBPM, the future is now for all your Business Processes by Eric Schabell

What is BPM?

Overview jBPM5

Flexible Processes

Cool Stuff

Page 19: JBoss jBPM, the future is now for all your Business Processes by Eric Schabell

Being able to adapt...

Page 20: JBoss jBPM, the future is now for all your Business Processes by Eric Schabell

Exceptional Control Flow

90%

5%

3%

2%

Page 21: JBoss jBPM, the future is now for all your Business Processes by Eric Schabell

Exceptional Control Flow

90%

Rule1When...Then...

Rule2When...Then...

Rule3When...Then...

5% 3% 2%

Page 22: JBoss jBPM, the future is now for all your Business Processes by Eric Schabell

Processes + Rules + Events

Page 23: JBoss jBPM, the future is now for all your Business Processes by Eric Schabell

Combining processes and rules

● Integration● From loose coupling (decision services)● To advanced integration (process rules)

● Unification● Rules and processes are different types of

business knowledge assets● Tooling (IDE, repository, management)

Page 24: JBoss jBPM, the future is now for all your Business Processes by Eric Schabell

Medical process

Page 25: JBoss jBPM, the future is now for all your Business Processes by Eric Schabell

What is BPM?

Overview jBPM5

Flexible Processes

Cool Stuff

Page 26: JBoss jBPM, the future is now for all your Business Processes by Eric Schabell

Web based artifact management

● BRM as knowledge repository

– BPMN2 processes

– Task and process forms

● Web designer (Oryx)

● Build, deploy, test, manage and collaboration features

Page 27: JBoss jBPM, the future is now for all your Business Processes by Eric Schabell

That's awesome!

Page 28: JBoss jBPM, the future is now for all your Business Processes by Eric Schabell

Domain-specific Processes

• Extend palette with domain-specific, declarative service nodes– define input / output parameters

– runtime binding

Page 29: JBoss jBPM, the future is now for all your Business Processes by Eric Schabell

Service Repository

[

[

"name" : "JavaNode",

"parameters" : [

"class" : new StringDataType(),

"method" : new StringDataType(),

],

"displayName" : "Java Node",

"icon" : "icons/java.gif"

]

]

http://people.redhat.com/kverlaen/repository

Page 30: JBoss jBPM, the future is now for all your Business Processes by Eric Schabell

jBPM Eclipse Plugin

● Import services from repo● Import default handler● Support for local repo (filesystem)● Support for URI repo

At latest update site...

Page 31: JBoss jBPM, the future is now for all your Business Processes by Eric Schabell

There'smore?

Page 32: JBoss jBPM, the future is now for all your Business Processes by Eric Schabell

Get your ducks in a row...

Page 33: JBoss jBPM, the future is now for all your Business Processes by Eric Schabell

jBPMeverywhere

you canimagine...

Page 34: JBoss jBPM, the future is now for all your Business Processes by Eric Schabell

What about us?

jPDL != BPMN

Page 35: JBoss jBPM, the future is now for all your Business Processes by Eric Schabell
Page 36: JBoss jBPM, the future is now for all your Business Processes by Eric Schabell

Historical migration...

Page 37: JBoss jBPM, the future is now for all your Business Processes by Eric Schabell
Page 38: JBoss jBPM, the future is now for all your Business Processes by Eric Schabell

Full web designer integration!

Page 39: JBoss jBPM, the future is now for all your Business Processes by Eric Schabell

Eric D. Schabell | [email protected] | @ericschabell

The future is now...

Page 40: JBoss jBPM, the future is now for all your Business Processes by Eric Schabell

● jBPM5 community: http://www.jboss.org/jbpm● jBPM5 source: http://github.com/droolsjbpm/jbpm● jBPM5 Hudson: http://hudson.jboss.org/hudson/job/jBPM● Blog: http://kverlaen.blogspot.com● #jbpm on irc.codhaus.org / [email protected]● jBPM user forums: http://community.jboss.org/en/jbpm?view=discussions

● jBPM migration strategies: http://www.schabell.org/2010/03/jbpm-migration-strategies-introduction.html● Migration tool project: https://github.com/droolsjbpm/jbpmmigration● Migration story JUDCon 2010: http://www.schabell.org/2010/10/judcon-2010-berlin-get-your-bpm-ducks.html● Migration project update JUDCon 2011: http://www.schabell.org/2011/05/judcon-2011-jbpm-migration-tooling-no.html

Eric D. Schabell | [email protected] | @ericschabell