Slide 1

Slide 1 text

Andreas Martin - Page 1 Master of Science in Business Information Systems FHNW Pre-Master Information Systems 5. Process Layer Andreas Martin 5. Process Layer http://www.flickr.com/photos/dirk_hofmann/4200450207

Slide 2

Slide 2 text

Andreas Martin - Page 2 Process Layer  Workflow Systems  camunda BPM  Hands-on  Hands-on 5: BPM CDI WEB APPLICATION  Hands-on 6: BPM JAVA EE 5. Process Layer

Slide 3

Slide 3 text

Andreas Martin - Page 3 Workflow Systems 5. Process Layer

Slide 4

Slide 4 text

Andreas Martin - Page 4 Workflow System Characteristics 5. Process Layer

Slide 5

Slide 5 text

Andreas Martin - Page 5 camunda BPM Open Source BPM and Workflow based on BPMN 2.0 5. Process Layer

Slide 6

Slide 6 text

Andreas Martin - Page 6 camunda BPM – the Approach 5. Process Layer Source: http://de.slideshare.net/camunda/open-source-bpm-mit-bpmn-20-und-java

Slide 7

Slide 7 text

Andreas Martin - Page 7 Features - Modeller: Process Modelling with BPMN 2.0 5. Process Layer Source: http://camunda.org

Slide 8

Slide 8 text

Andreas Martin - Page 8 Features - Platform: Visual Process Monitoring Find Process Instances 5. Process Layer Source: http://camunda.org

Slide 9

Slide 9 text

Andreas Martin - Page 9 Features - Platform: Visual Process Monitoring Inspect a Process Instance 5. Process Layer Source: http://camunda.org

Slide 10

Slide 10 text

Andreas Martin - Page 10 Features - Platform: Visual Process Monitoring Repair a Process Instance 5. Process Layer Source: http://camunda.org

Slide 11

Slide 11 text

Andreas Martin - Page 11 Features - Platform: Implement Processes Native Java API 5. Process Layer Source: http://camunda.org

Slide 12

Slide 12 text

Andreas Martin - Page 12 Features - Platform: Implement Processes Seamless Spring & Java EE Integration 5. Process Layer Source: http://camunda.org

Slide 13

Slide 13 text

Andreas Martin - Page 13 Features - Platform: Execute BPMN 2.0 5. Process Layer Source: http://camunda.org

Slide 14

Slide 14 text

Andreas Martin - Page 14 camunda BPM – History and Roadmap 5. Process Layer Source: http://de.slideshare.net/camunda/open-source-bpm-mit-bpmn-20-und-java

Slide 15

Slide 15 text

Andreas Martin - Page 15 camunda BPM - Infrastructure 5. Process Layer Source: http://de.slideshare.net/camunda/open-source-bpm-mit-bpmn-20-und-java

Slide 16

Slide 16 text

Andreas Martin - Page 16 camunda BPM - Components 5. Process Layer Source: http://de.slideshare.net/camunda/open-source-bpm-mit-bpmn-20-und-java

Slide 17

Slide 17 text

Andreas Martin - Page 17 camunda BPM – Java EE service 5. Process Layer @Named @Stateless public class CustomerService { @Inject @ProcessVariable public Object customerId; @Inject private BusinessProcess businessProcess; @EJB CustomerEJB customerEJB; public void loadCustomer() { Customer customer = customerEJB.findCustomerById(Long .valueOf((String) customerId)); if (customer != null) { businessProcess.setVariable("customerFirstName", customer.getFirstName()); businessProcess.setVariable("customerLastName", customer.getLastName()); } } }

Slide 18

Slide 18 text

Andreas Martin - Page 18 camunda BPM – HTML forms 5. Process Layer
Customer ID
Amount

Slide 19

Slide 19 text

Andreas Martin - Page 19 Hands-on 5 BPM CDI WEB APPLICATION 5. Process Layer

Slide 20

Slide 20 text

Andreas Martin - Page 20 Hands-on 5 2. Derive use cases from workflow graph. 3. Extract service model from use case model. 5. Process Layer 1. We are going to implement the “Loan Approval” process.

Slide 21

Slide 21 text

Andreas Martin - Page 21 Hands-on 5 4. Import “hands-on-5” project. 5. Model the execution graph using the workflow graph as blueprint. 6. Implement the services as modelled in service model. 7. The project already contains HTML forms – inspect them. 8. Add the service calls to the BPMN model and make sure that process model is executable. 9. Add the form references and conditions to the BPMN model. 10. Deploy and run the workflow. 5. Process Layer

Slide 22

Slide 22 text

Andreas Martin - Page 22 Hands-on 6 BPM JAVA EE 5. Process Layer

Slide 23

Slide 23 text

Andreas Martin - Page 23 Database Connection …will be used for the next hands-on  Modify the MySQL_premscis-xa-ds.xml file:  When using a Web Project in Eclipse, it is possible to deploy a datasource using a JBoss datasource file (…-ds.xml)  This file must be placed under: Project +---src\main\webapp\WEB-INF ¦ faces-config.xml ¦ jboss-web.xml ¦ MySQL_premscis-xa-ds.xml  Choose another student ‘number’ (DatabaseName) to avoid overwriting.  When using Camunda BPM in a Java EE environment you have to implement a “xa-datasource” 5. Process Layer com.mysql.jdbc.jdbc2.optional.MysqlXADataSource 80 mature.iwi.wirtschaft.fhnw.ch premscis mysql-connector-java-5.1.32-bin.jarcom.mysql.jdbc.Driver_5_1 premscis premscis

Slide 24

Slide 24 text

Andreas Martin - Page 24 Hands-on 6 …implement the Reference Project 5. Process Layer