FIRST STEPS WITH JBPM4
Joram Barrez
jBPM Community Day 2009
jBPM Community Day 2009




                                                                   WHOAMI
./whoami




• jBPM ...
jBPM Community Day 2009




                                                                              GOALS
./Goals


...
jBPM Community Day 2009




                                                                                JBPM4 CONCEPTS...
jBPM Community Day 2009




                                                                                JBPM4 CONCEPTS...
jBPM Community Day 2009




                                                                                JBPM4 CONCEPTS...
jBPM Community Day 2009




                                                                                          JBPM...
jBPM Community Day 2009




                                                                              JBPM4 CONCEPTS
....
jBPM Community Day 2009




                                                                          JBPM4 CONCEPTS
./jBP...
jBPM Community Day 2009




                                                                                          FEAT...
jBPM Community Day 2009




                                            DEMO
./Demo use case
jBPM Community Day 2009




                                                                              DEMO
./Demo use ...
jBPM Community Day 2009




                                                                                        DEMO
....
jBPM Community Day 2009




                                        DEMO
./demo




         Time spent
           jBPM
  ...
jBPM Community Day 2009




                                                                     DEMO
./demo

            ...
DEMO
THE WORLD WITHOUT BPM
Upcoming SlideShare
Loading in …5
×

Presentation jBPM Community Day 2009 - First steps with jBPM4

4,251 views

Published on

Published in: Technology, Spiritual
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
4,251
On SlideShare
0
From Embeds
0
Number of Embeds
1,530
Actions
Shares
0
Downloads
162
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

Presentation jBPM Community Day 2009 - First steps with jBPM4

  1. 1. FIRST STEPS WITH JBPM4 Joram Barrez jBPM Community Day 2009
  2. 2. jBPM Community Day 2009 WHOAMI ./whoami • jBPM consultant at • Co-founder of • jBPM blog: http://www.jorambarrez.be
  3. 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. 4. jBPM Community Day 2009 JBPM4 CONCEPTS ./jBPM4 API Managing deployments RepositoryService Deployment createDeployment() deployment.addResourceFromClasspath(“quot;) ProcessDefinitionQuery createProcessDefinitionQuery(); Process engine
  5. 5. jBPM Community Day 2009 JBPM4 CONCEPTS ./jBPM4 API RepositoryService Managing runtime executions ExecutionService startProcessInstanceById(pd_id) signalExecutionByXXX Get/setVariable(s) Process engine
  6. 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. 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. 8. jBPM Community Day 2009 JBPM4 CONCEPTS ./jBPM4 API RepositoryService ExecutionService TaskService HistoryService ManagementService Process engine maintenance executeJob(long jobDbid) Process engine
  9. 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. 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. 11. jBPM Community Day 2009 DEMO ./Demo use case
  12. 12. jBPM Community Day 2009 DEMO ./Demo use case • Problem: using coins for parking is sooooo 90's • The solution + =
  13. 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. 14. jBPM Community Day 2009 DEMO ./demo Time spent jBPM GUI Bluetooth
  15. 15. jBPM Community Day 2009 DEMO ./demo GUI controllers ParkingBpmService
  16. 16. DEMO
  17. 17. THE WORLD WITHOUT BPM

×