Business Processes, Business Rules, ComplexEvent Processing with JBoss   Kris Verlaenen – jBPM Project Lead
What is a Business Process?  A business process is a process that describesthe order in which a series of steps need to be...
What is a Business Rule?A principle or regulation governing conduct,     action, procedure, arrangement, etc.
What is Complex Event          Processing?Processing multiple events from an event cloudwith the goal of identifying the m...
Why?Visibility            PerformanceHigher-level          MonitoringIncreased agility     Speed of development
Processes + Rules + Events
MotivationA business solution usually involves the  interaction between these technologies.Technology overlapBusiness over...
Processes       Rules        Events            Business Logic
Example: Build Management          Source: Hudson Execution and Scheduling Architecture
Example: Build Management         Source: Hudson Execution and Scheduling Architecture
Logistic Company - Solution      Vehicle        Aircraft      Traffic Flow     Traffic Incident     Weather    Event Strea...
VisionA knowledge-oriented platform for  developers and business users
Some technical detailsfor you developers out there !
Core EngineCore engine is an engine in pure Javaworkflow + expert systemlightweightembeddable                            C...
Core Engine                  StatefulKnowledge        Knowledge  Base            SessionDefinition        Instance
Java InterfacestartProcess(processId)signalEvent(type, event)abortProcessInstance(instanceId)getProcessInstance(instanceId...
Java Example// (1) Create knowledge base and add process definitionKnowledgeBuilder kbuilder = ...kbuilder.add( ..., "samp...
Java Example// (1) Create knowledge base and add process definitionKnowledgeBuilder kbuilder = ...kbuilder.add( ..., "samp...
Java Example// (1) Create knowledge base and add process definitionKnowledgeBuilder kbuilder = ...kbuilder.add( ..., "samp...
BPMN 2.0 as the new    standard
BPMN 2.0OMG specification  Model  Notation  Execution semanticsUnderstandable by business usersExtensibleInteroperability ...
What we built around that !
Life                     BusinessCycle                      Analyst                             Model                     ...
r                                ito   Your                              on  Applicati                                jBPM...
Example: Reward System
Reward SystemBusiness  User                    Developer
Reward SystemEnd User                           HR
Ready for the future?Traditional BPM systems have problems with change, complexity, flexibility, data-        intensive ap...
Combining Processes,       Rules and EventsIntegration  From loose coupling  To advanced integrationUnification  Processes...
Exceptional Control Flow90%5%3%2%
Exceptional Control Flow90%        Rule1      Rule2       Rule3        When       When        When        ...        ...  ...
Example: Clinical DSS
Other FeaturesPluggable persistence / transactions  JPA / JTADomain-specific services  Service repositoryFlexible session ...
Want to get started?
jBPM InstallerOut-of-the-box working environmentSample processComponents  Eclipse (jBPM + Drools)  AS7    Guvnor    Design...
What, where?jBPM home pageDrools home pageSource http://github.com/droolsjbpmHudsonBlog http://kverlaen.blogspot.com/#jbpm...
Roadmap  Feb          Jun           Dec        Apr  11            11             11          12jBPM 5.0                   ...
JBoss Enterprise Product Delivery ModelExample: jBPM Community and Enterprise Product         3              3.2          ...
Business processes, business rules, complex event processing, the JBoss way
Business processes, business rules, complex event processing, the JBoss way
Upcoming SlideShare
Loading in …5
×

Business processes, business rules, complex event processing, the JBoss way

1,983 views
1,786 views

Published on

JAX.de 2012 presentation "Business processes, business rules, complex event processing, the JBoss way

Published in: Technology, Business
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,983
On SlideShare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
72
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Business processes, business rules, complex event processing, the JBoss way

  1. 1. Business Processes, Business Rules, ComplexEvent Processing with JBoss Kris Verlaenen – jBPM Project Lead
  2. 2. What is a Business Process? A business process is a process that describesthe order in which a series of steps need to be executed, using a flow chart.
  3. 3. What is a Business Rule?A principle or regulation governing conduct, action, procedure, arrangement, etc.
  4. 4. What is Complex Event Processing?Processing multiple events from an event cloudwith the goal of identifying the meaningful events within the event cloud. Event detection Event correlation Event abstraction
  5. 5. Why?Visibility PerformanceHigher-level MonitoringIncreased agility Speed of development
  6. 6. Processes + Rules + Events
  7. 7. MotivationA business solution usually involves the interaction between these technologies.Technology overlapBusiness overlap Attribute the same importance to the three complementary business modeling techniques
  8. 8. Processes Rules Events Business Logic
  9. 9. Example: Build Management Source: Hudson Execution and Scheduling Architecture
  10. 10. Example: Build Management Source: Hudson Execution and Scheduling Architecture
  11. 11. Logistic Company - Solution Vehicle Aircraft Traffic Flow Traffic Incident Weather Event Stream Event Stream Event Stream Event Stream Event Stream Knowledge Bases Shipment Event Stream New Inferred Facts Facts Stop Event Stream Reasoning Knowledge Based Reasoning CEP [Temporal Reasoning ] Spatial Reasoning Source: E. Tirelli & A. Mollenkopf - ORF2009
  12. 12. VisionA knowledge-oriented platform for developers and business users
  13. 13. Some technical detailsfor you developers out there !
  14. 14. Core EngineCore engine is an engine in pure Javaworkflow + expert systemlightweightembeddable Coregeneric, extensible Engine
  15. 15. Core Engine StatefulKnowledge Knowledge Base SessionDefinition Instance
  16. 16. Java InterfacestartProcess(processId)signalEvent(type, event)abortProcessInstance(instanceId)getProcessInstance(instanceId)insert(data)update(data)remove(data)fireAllRules()
  17. 17. Java Example// (1) Create knowledge base and add process definitionKnowledgeBuilder kbuilder = ...kbuilder.add( ..., "sample.bpmn", ResourceType.BPMN2);KnowledgeBase kbase = kbuilder.newKnowledgeBase();// (2) Create new stateful knowledge sessionStatefulKnowledgeSession ksession = kbase.newStatefulKnowledgeSession();// (3) Start a new process instanceksession.startProcess(“com.sample.bpmn.hello”);
  18. 18. Java Example// (1) Create knowledge base and add process definitionKnowledgeBuilder kbuilder = ...kbuilder.add( ..., "sample.drl", ResourceType.DRL);KnowledgeBase kbase = kbuilder.newKnowledgeBase();// (2) Create new stateful knowledge sessionStatefulKnowledgeSession ksession = kbase.newStatefulKnowledgeSession();// (3) Start a new process instanceksession.insert(new Person(“krisv“));ksession.fireAllRules();
  19. 19. Java Example// (1) Create knowledge base and add process definitionKnowledgeBuilder kbuilder = ...kbuilder.add( ..., "sample.bpmn", ResourceType.BPMN2);kbuilder.add( ..., "sample.drl", ResourceType.DRL);KnowledgeBase kbase = kbuilder.newKnowledgeBase();// (2) Create new stateful knowledge sessionStatefulKnowledgeSession ksession = kbase.newStatefulKnowledgeSession();// (3) Start a new process instanceksession.insert(new Person(“krisv“));ksession.startProcess(“com.sample.bpmn.hello”);ksession.fireAllRules();
  20. 20. BPMN 2.0 as the new standard
  21. 21. BPMN 2.0OMG specification Model Notation Execution semanticsUnderstandable by business usersExtensibleInteroperability between vendors
  22. 22. What we built around that !
  23. 23. Life BusinessCycle Analyst Model Developer System Business Monitor DeployAdministrator Logic Execute End User
  24. 24. r ito Your on Applicati jBPM Console M on e Core Services ut ec Your Core History Task Ex Services Engine Log Service y lo ep Guvnor D Repository el Web-Based Eclipse Editor od DesignerM Developer Business Analyst
  25. 25. Example: Reward System
  26. 26. Reward SystemBusiness User Developer
  27. 27. Reward SystemEnd User HR
  28. 28. Ready for the future?Traditional BPM systems have problems with change, complexity, flexibility, data- intensive applications, etc. Adaptive Case Management (ACM) Unstructured, non-lineair or flexible processes Event-driven BPM (edBPM)
  29. 29. Combining Processes, Rules and EventsIntegration From loose coupling To advanced integrationUnification Processes and (event) rules are different types of business knowledge assets Tooling (IDE, repository, management)
  30. 30. Exceptional Control Flow90%5%3%2%
  31. 31. Exceptional Control Flow90% Rule1 Rule2 Rule3 When When When ... ... ... Then Then Then ... ... ... 5 3 2 % % %
  32. 32. Example: Clinical DSS
  33. 33. Other FeaturesPluggable persistence / transactions JPA / JTADomain-specific services Service repositoryFlexible session architectureSpring / Camel / OSGi integrationMany, many more ...
  34. 34. Want to get started?
  35. 35. jBPM InstallerOut-of-the-box working environmentSample processComponents Eclipse (jBPM + Drools) AS7 Guvnor Designer Console
  36. 36. What, where?jBPM home pageDrools home pageSource http://github.com/droolsjbpmHudsonBlog http://kverlaen.blogspot.com/#jbpm, #drools on irc.codehaus.org
  37. 37. Roadmap Feb Jun Dec Apr 11 11 11 12jBPM 5.0 5.2 5.1 Service repository 5.3 5.x 6.x Web Designer Examples AS7 Eclipse Designer Documentation Web Designer JUnit test Form and test generation Form Builder Simulation and testing Openshift Mobile, Social and adaptive processes
  38. 38. JBoss Enterprise Product Delivery ModelExample: jBPM Community and Enterprise Product 3 3.2 JBoss SOA-P 5 Full Support (3yrs) Transition (1yr) Maintenance (1yr) Flow Enterprise versions provide long-term 4 support, regular releases including fixes, 5 new features, and new platforms certifications. JBoss BRMS 5.3 Full Support (3yrs) Transition (1yr) 6 New community features may be backported to Enterprise 7 versions While community projects continue to rapidly evolve, enterprise middleware products focus on long term stability.

×