SlideShare ist ein Scribd-Unternehmen logo
1 von 17
FIRST STEPS WITH JBPM4
Joram Barrez
jBPM Community Day 2009
jBPM Community Day 2009




                                                                   WHOAMI
./whoami




• jBPM consultant at


• Co-founder of

• jBPM blog: http://www.jorambarrez.be
jBPM Community Day 2009




                                                                              GOALS
./Goals




• Tech demo: demonstration of new jBPM4 API


• Showing how easy it is to use jBPM in your application

• Extracting business insight from the new history tables

• Community discussion?

• All in the next 20 minutes or so …
jBPM Community Day 2009




                                                                                JBPM4 CONCEPTS
./jBPM4 API



                               Managing deployments

          RepositoryService    Deployment createDeployment()

                               deployment.addResourceFromClasspath(“quot;)

                               ProcessDefinitionQuery
                               createProcessDefinitionQuery();




              Process engine
jBPM Community Day 2009




                                                                                JBPM4 CONCEPTS
./jBPM4 API




          RepositoryService
                               Managing runtime executions

          ExecutionService     startProcessInstanceById(pd_id)

                               signalExecutionByXXX

                               Get/setVariable(s)




              Process engine
jBPM Community Day 2009




                                                                                JBPM4 CONCEPTS
./jBPM4 API




          RepositoryService


          ExecutionService
                               Managing tasks

               TaskService     takeTask(actor)

                               completeTask(outcom)

                               cancelTask(task)

                               AssignTask(actor)

                               findTaskXXX




              Process engine
jBPM Community Day 2009




                                                                                          JBPM4 CONCEPTS
./jBPM4 API




          RepositoryService


          ExecutionService

               TaskService
                               Managing past runtime data

              HistoryService   HistoryActivityInstanceQuery query
                               = historyService.createHistoryActivityInstanceQuery()
                               .activityName(quot;Waitquot;)
                               .executionId(“123quot;);
                               Query.execute

                               avgDurationPerActivity(pd_id);




              Process engine
jBPM Community Day 2009




                                                                              JBPM4 CONCEPTS
./jBPM4 API




          RepositoryService


          ExecutionService

               TaskService


              HistoryService


         ManagementService     Process engine maintenance

                               executeJob(long jobDbid)




              Process engine
jBPM Community Day 2009




                                                                          JBPM4 CONCEPTS
./jBPM4 API




          RepositoryService


          ExecutionService

               TaskService     Your app


              HistoryService

                               Only communication with engine
         ManagementService     through interfaces!



              Process engine
jBPM Community Day 2009




                                                                                          FEATURES
./Features on first sight

 • Clean client API (ideally you shouldn't be using anything else)


 • Simplified DB schema
       • runtime vs historical data separation!
       • eg process instance is in DB only during execution, afterwards it is
       deleted and stored in a history table


 • Performance boost (and no method-chaining)

 • Fancy web console (GWT)
jBPM Community Day 2009




                                            DEMO
./Demo use case
jBPM Community Day 2009




                                                                              DEMO
./Demo use case

• Problem: using coins for parking is sooooo 90's
• The solution




              +                    =
jBPM Community Day 2009




                                                                                        DEMO
./The process




                        Ask for customer
                                                          Bill customer
                          approval on
                            machine




           Check blacklist          Wait until customer
           And subscription         returns
                                    And send second sms
jBPM Community Day 2009




                                        DEMO
./demo




         Time spent
           jBPM
           GUI
           Bluetooth
jBPM Community Day 2009




                                                                     DEMO
./demo

                    GUI




                             controllers




         ParkingBpmService
DEMO
THE WORLD WITHOUT BPM

Weitere ähnliche Inhalte

Ähnlich wie Presentation jBPM Community Day 2009 - First steps with jBPM4

We4IT LCTY 2013 - x-pages-men - ibm domino xpages - performance in a nutshell
We4IT LCTY 2013 - x-pages-men - ibm domino xpages - performance in a nutshellWe4IT LCTY 2013 - x-pages-men - ibm domino xpages - performance in a nutshell
We4IT LCTY 2013 - x-pages-men - ibm domino xpages - performance in a nutshell
We4IT Group
 
Do & Don’ts of BPM -The Full Stack
Do & Don’ts of BPM-The Full StackDo & Don’ts of BPM-The Full Stack
Do & Don’ts of BPM -The Full Stack
elliando dias
 

Ähnlich wie Presentation jBPM Community Day 2009 - First steps with jBPM4 (20)

We4IT LCTY 2013 - x-pages-men - ibm domino xpages - performance in a nutshell
We4IT LCTY 2013 - x-pages-men - ibm domino xpages - performance in a nutshellWe4IT LCTY 2013 - x-pages-men - ibm domino xpages - performance in a nutshell
We4IT LCTY 2013 - x-pages-men - ibm domino xpages - performance in a nutshell
 
2009 11-04 mm (carson, california - csu-dh) bpm introduction
2009 11-04 mm (carson, california - csu-dh) bpm introduction2009 11-04 mm (carson, california - csu-dh) bpm introduction
2009 11-04 mm (carson, california - csu-dh) bpm introduction
 
Camunda bpm 7.0-release-webinar-en
Camunda bpm 7.0-release-webinar-enCamunda bpm 7.0-release-webinar-en
Camunda bpm 7.0-release-webinar-en
 
How to Become a Winner in the JVM Performance-Tuning Battle
How to Become a Winner in the JVM Performance-Tuning BattleHow to Become a Winner in the JVM Performance-Tuning Battle
How to Become a Winner in the JVM Performance-Tuning Battle
 
Do & Don’ts of BPM -The Full Stack
Do & Don’ts of BPM-The Full StackDo & Don’ts of BPM-The Full Stack
Do & Don’ts of BPM -The Full Stack
 
jBPM 5.2
jBPM 5.2jBPM 5.2
jBPM 5.2
 
Get your BPM ducks in a row - preparing for migration to jBPM 5
Get your BPM ducks in a row - preparing for migration to jBPM 5Get your BPM ducks in a row - preparing for migration to jBPM 5
Get your BPM ducks in a row - preparing for migration to jBPM 5
 
JBPM5 Community Training Course - Module #1 Introduction
JBPM5 Community Training Course - Module #1 IntroductionJBPM5 Community Training Course - Module #1 Introduction
JBPM5 Community Training Course - Module #1 Introduction
 
JBoss BRMS sneak peak, the future is now for your Business Processes
JBoss BRMS sneak peak, the future is now for your Business ProcessesJBoss BRMS sneak peak, the future is now for your Business Processes
JBoss BRMS sneak peak, the future is now for your Business Processes
 
What's new in designer
What's new in designerWhat's new in designer
What's new in designer
 
JBPM Past Present Future
JBPM Past Present FutureJBPM Past Present Future
JBPM Past Present Future
 
20111007 activiti
20111007 activiti20111007 activiti
20111007 activiti
 
JBoss jBPM, the future is now (YaJUG session)
JBoss jBPM, the future is now (YaJUG session)JBoss jBPM, the future is now (YaJUG session)
JBoss jBPM, the future is now (YaJUG session)
 
JITServerTalk.pdf
JITServerTalk.pdfJITServerTalk.pdf
JITServerTalk.pdf
 
Web Leaps Forward
Web Leaps ForwardWeb Leaps Forward
Web Leaps Forward
 
Intro to Drools - St Louis Gateway JUG
Intro to Drools - St Louis Gateway JUGIntro to Drools - St Louis Gateway JUG
Intro to Drools - St Louis Gateway JUG
 
RFT - Ashish Mathur
RFT - Ashish MathurRFT - Ashish Mathur
RFT - Ashish Mathur
 
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 by Eric SchabellJBoss jBPM, the future is now for all your Business Processes by Eric Schabell
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
JBoss jBPM, the future is now for all your Business ProcessesJBoss jBPM, the future is now for all your Business Processes
JBoss jBPM, the future is now for all your Business Processes
 
Plugin-able POS Solutions by Javascript @HDM9 Taiwan
Plugin-able POS Solutions by Javascript @HDM9 TaiwanPlugin-able POS Solutions by Javascript @HDM9 Taiwan
Plugin-able POS Solutions by Javascript @HDM9 Taiwan
 

Mehr von Joram Barrez (9)

Activiti v6 UI (Activiti Community Day Paris 2015)
 Activiti v6 UI (Activiti Community Day Paris 2015)  Activiti v6 UI (Activiti Community Day Paris 2015)
Activiti v6 UI (Activiti Community Day Paris 2015)
 
Launching Activiti v6 (Activiti Community Day Paris 2015)
Launching Activiti v6 (Activiti Community Day Paris 2015) Launching Activiti v6 (Activiti Community Day Paris 2015)
Launching Activiti v6 (Activiti Community Day Paris 2015)
 
Alfresco Devcon 2010: A new kind of BPM with Activiti
Alfresco Devcon 2010: A new kind of BPM with ActivitiAlfresco Devcon 2010: A new kind of BPM with Activiti
Alfresco Devcon 2010: A new kind of BPM with Activiti
 
Alfresco Devcon 2010: Introduction to Activiti BPM
Alfresco Devcon 2010: Introduction to Activiti BPMAlfresco Devcon 2010: Introduction to Activiti BPM
Alfresco Devcon 2010: Introduction to Activiti BPM
 
Activiti in Action (Devoxx 2010)
Activiti in Action (Devoxx 2010)Activiti in Action (Devoxx 2010)
Activiti in Action (Devoxx 2010)
 
Do and Don'ts of BPM - The Full Stack
Do and Don'ts of BPM - The Full StackDo and Don'ts of BPM - The Full Stack
Do and Don'ts of BPM - The Full Stack
 
Bejug - Activiti in Action (part 1)
Bejug - Activiti in Action (part 1)Bejug - Activiti in Action (part 1)
Bejug - Activiti in Action (part 1)
 
JBoss Enterprise Overview by Quinten Laureijs
JBoss Enterprise Overview by Quinten LaureijsJBoss Enterprise Overview by Quinten Laureijs
JBoss Enterprise Overview by Quinten Laureijs
 
Presentation Bejug March 2009
Presentation Bejug March 2009Presentation Bejug March 2009
Presentation Bejug March 2009
 

Kürzlich hochgeladen

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 

Kürzlich hochgeladen (20)

04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 

Presentation jBPM Community Day 2009 - First steps with jBPM4

  • 1. FIRST STEPS WITH JBPM4 Joram Barrez jBPM Community Day 2009
  • 2. jBPM Community Day 2009 WHOAMI ./whoami • jBPM consultant at • Co-founder of • jBPM blog: http://www.jorambarrez.be
  • 3. jBPM Community Day 2009 GOALS ./Goals • Tech demo: demonstration of new jBPM4 API • Showing how easy it is to use jBPM in your application • Extracting business insight from the new history tables • Community discussion? • All in the next 20 minutes or so …
  • 4. jBPM Community Day 2009 JBPM4 CONCEPTS ./jBPM4 API Managing deployments RepositoryService Deployment createDeployment() deployment.addResourceFromClasspath(“quot;) ProcessDefinitionQuery createProcessDefinitionQuery(); Process engine
  • 5. jBPM Community Day 2009 JBPM4 CONCEPTS ./jBPM4 API RepositoryService Managing runtime executions ExecutionService startProcessInstanceById(pd_id) signalExecutionByXXX Get/setVariable(s) Process engine
  • 6. jBPM Community Day 2009 JBPM4 CONCEPTS ./jBPM4 API RepositoryService ExecutionService Managing tasks TaskService takeTask(actor) completeTask(outcom) cancelTask(task) AssignTask(actor) findTaskXXX Process engine
  • 7. jBPM Community Day 2009 JBPM4 CONCEPTS ./jBPM4 API RepositoryService ExecutionService TaskService Managing past runtime data HistoryService HistoryActivityInstanceQuery query = historyService.createHistoryActivityInstanceQuery() .activityName(quot;Waitquot;) .executionId(“123quot;); Query.execute avgDurationPerActivity(pd_id); Process engine
  • 8. jBPM Community Day 2009 JBPM4 CONCEPTS ./jBPM4 API RepositoryService ExecutionService TaskService HistoryService ManagementService Process engine maintenance executeJob(long jobDbid) Process engine
  • 9. jBPM Community Day 2009 JBPM4 CONCEPTS ./jBPM4 API RepositoryService ExecutionService TaskService Your app HistoryService Only communication with engine ManagementService through interfaces! Process engine
  • 10. jBPM Community Day 2009 FEATURES ./Features on first sight • Clean client API (ideally you shouldn't be using anything else) • Simplified DB schema • runtime vs historical data separation! • eg process instance is in DB only during execution, afterwards it is deleted and stored in a history table • Performance boost (and no method-chaining) • Fancy web console (GWT)
  • 11. jBPM Community Day 2009 DEMO ./Demo use case
  • 12. jBPM Community Day 2009 DEMO ./Demo use case • Problem: using coins for parking is sooooo 90's • The solution + =
  • 13. jBPM Community Day 2009 DEMO ./The process Ask for customer Bill customer approval on machine Check blacklist Wait until customer And subscription returns And send second sms
  • 14. jBPM Community Day 2009 DEMO ./demo Time spent jBPM GUI Bluetooth
  • 15. jBPM Community Day 2009 DEMO ./demo GUI controllers ParkingBpmService
  • 16. DEMO