31

jBPM5: Are your processes - JBoss Developer order in which a series of steps need to be executed, ... –generic process engine supporting native BPMN 2.0 ... jBPM5: Are your processes

  • Upload
    lamcong

  • View
    213

  • Download
    0

Embed Size (px)

Citation preview

jBPM5: Are your processes ready for the future?

Kris VerlaenenKoen Aers

Overview

• Key characteristics

• From Workflow to BPM

• Ready for the future?• jBPM5: What, where?

• Eclipse Tooling

Key Characteristics of BPM

• Visibility

• Monitoring

• Higher-level

• Continuous improvement

• Speed of development

• Increased agility

A business process is a process that describesthe order in which a series of steps need to be executed,

using a flow chart.

Key Characteristics of jBPM5

• Open-source business process management project offering:– generic process engine supporting native

BPMN 2.0 execution– targeting developers and business users– collaboration, management and monitoring

using web-based consoles– powerfull rules and event integration

From Workflow to BPM

• Core engine is a workflow engine in pure Java– state transitions– lightweight– embeddable– generic, extensible

CoreEngine

Core Engine

KnowledgeBase

StatefulKnowledge

Session

ProcessDefinition

ProcessInstance

From Workflow to BPM

CoreEngine

From Workflow to BPM

CoreEngine BPMN

2.0

XML

BPMN 2.0

• OMG standard that defines– Graphical notation– Process definition format (XSD / XMI)– Execution semantics

• Focus on executable processes

• Extensible + Interoperability !• http://www.omg.org/spec/BPMN/2.0/

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>

Java Example

// (1) Create a new knowledge base and add process definition

KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder();

kbuilder.add( ResourceFactory.newClassPathResource("sample.bpmn"), ResourceType.BPMN2);

KnowledgeBase kbase = kbuilder.newKnowledgeBase();

// (2) Create new stateful knowledge session

StatefulKnowledgeSession ksession = kbase.newStatefulKnowledgeSession();

// (3) Start a new process instance

ksession.startProcess(“com.sample.bpmn.hello”);

From Workflow to BPM

CoreEngine BPMN

2.0

XML

Oryx Web-Based Editor

EclipseBPMN2Editor

From Workflow to BPM

CoreEngine BPMN

2.0

XMLPersistence

Trans-actions

JPA

JTA

From Workflow to BPM

CoreEngine BPMN

2.0

XMLPersistence

Trans-actions

Events

HistoryLog

ManagementConsole BAM

From Workflow to BPM

CoreEngine BPMN

2.0

XMLPersistence

Trans-actions

Events

IntegrationDomain-specific

Processes

Human TaskServiceESB

Domain-specific Processes

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

Human task service

• User task

• Human task service (WS-HT)– Task lists– Task life cycle

• Task clients– Task forms

Ready for the future?

Traditional systems have problems with change, complexity, flexibility, data-

intensive applications, etc.

• Adaptive Case Management (ACM)• Unstructured or non-lineair processes• Event-driven BPM (edBPM)

23

Processes + Rules + Events

Unstructured processes

jBPM5: What, where?

• Source http://github.com/krisv/jbpm

• Hudson http://hudson.jboss.org/hudson/job/jBPM5

• Blog http://kverlaen.blogspot.com/• #jbpm on irc.codehaus.org

[email protected]

• jBPM user forum

jBPM5 Installer• ant install.demo

– Download JBoss AS

– Download Eclipse (+GMF)

– Install Drools Guvnor into JBoss AS

– Install Oryx Designer into JBoss AS

– Install the jBPM gwt-console into JBoss AS

– Install the jBPM + Drools Eclipse plugin

• ant start.demo

– Start the H2 database

– Start the JBoss AS

– Start Eclipse

– Start the jBPM Human Task Service

jBPM5: Are your processes ready for the future?

Kris VerlaenenKoen Aers