SlideShare una empresa de Scribd logo
1 de 24
Descargar para leer sin conexión
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
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
Andreas Martin - Page 3
Workflow Systems
5. Process Layer
Andreas Martin - Page 4
Workflow System Characteristics
5. Process Layer
Andreas Martin - Page 5
camunda BPM
Open Source BPM and Workflow based on BPMN 2.0
5. Process Layer
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
Andreas Martin - Page 7
Features - Modeller: Process Modelling with BPMN 2.0
5. Process Layer
Source: http://camunda.org
Andreas Martin - Page 8
Features - Platform: Visual Process Monitoring
Find Process Instances
5. Process Layer
Source: http://camunda.org
Andreas Martin - Page 9
Features - Platform: Visual Process Monitoring
Inspect a Process Instance
5. Process Layer
Source: http://camunda.org
Andreas Martin - Page 10
Features - Platform: Visual Process Monitoring
Repair a Process Instance
5. Process Layer
Source: http://camunda.org
Andreas Martin - Page 11
Features - Platform: Implement Processes
Native Java API
5. Process Layer
Source: http://camunda.org
Andreas Martin - Page 12
Features - Platform: Implement Processes
Seamless Spring & Java EE Integration
5. Process Layer
Source: http://camunda.org
Andreas Martin - Page 13
Features - Platform: Execute BPMN 2.0
5. Process Layer
Source: http://camunda.org
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
Andreas Martin - Page 15
camunda BPM - Infrastructure
5. Process Layer
Source: http://de.slideshare.net/camunda/open-source-bpm-mit-bpmn-20-und-java
Andreas Martin - Page 16
camunda BPM - Components
5. Process Layer
Source: http://de.slideshare.net/camunda/open-source-bpm-mit-bpmn-20-und-java
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());
}
}
}
Andreas Martin - Page 18
camunda BPM – HTML forms
5. Process Layer
<form class="form-horizontal">
<div class="control-group">
<label class="control-label">Customer ID</label>
<div class="controls">
<input form-field type="string" name="customerId"></input>
</div>
</div>
<div class="control-group">
<label class="control-label">Amount</label>
<div class="controls">
<input form-field type="number" name="amount"></input>
</div>
</div>
</form>
Andreas Martin - Page 19
Hands-on 5
BPM CDI WEB APPLICATION
5. Process Layer
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.
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
Andreas Martin - Page 22
Hands-on 6
BPM JAVA EE
5. Process Layer
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
+---srcmainwebappWEB-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
<?xml version="1.0" encoding="UTF-8"?>
<datasources>
<xa-datasource jndi-name="java:jboss/datasources/MySQL_premscis_xa" pool-name="MySQL_premscis" enabled="true" use-java-
context="true">
<xa-datasource-class>com.mysql.jdbc.jdbc2.optional.MysqlXADataSource</xa-datasource-class>
<xa-datasource-property name="PortNumber">80</xa-datasource-property>
<xa-datasource-property name="ServerName">mature.iwi.wirtschaft.fhnw.ch</xa-datasource-property>
<xa-datasource-property name="DatabaseName">premscis</xa-datasource-property>
<driver>mysql-connector-java-5.1.32-bin.jarcom.mysql.jdbc.Driver_5_1</driver>
<security>
<user-name>premscis</user-name>
<password>premscis</password>
</security>
</xa-datasource>
</datasources>
Andreas Martin - Page 24
Hands-on 6
…implement the Reference Project
5. Process Layer

Más contenido relacionado

Destacado

An Introduction to Multilayered Software Architecture
An Introduction to Multilayered Software ArchitectureAn Introduction to Multilayered Software Architecture
An Introduction to Multilayered Software Architecture
Andrei Pîrjoleanu
 
Reusable Decision Space for Mashup Tool Design
Reusable Decision Space for Mashup Tool DesignReusable Decision Space for Mashup Tool Design
Reusable Decision Space for Mashup Tool Design
Saeed Aghaee
 

Destacado (14)

An Introduction to Multilayered Software Architecture
An Introduction to Multilayered Software ArchitectureAn Introduction to Multilayered Software Architecture
An Introduction to Multilayered Software Architecture
 
RESTful Service Composition with JOpera
RESTful Service Composition with JOperaRESTful Service Composition with JOpera
RESTful Service Composition with JOpera
 
Scribbling Interactions with a Formal Foundation
Scribbling Interactions with a Formal FoundationScribbling Interactions with a Formal Foundation
Scribbling Interactions with a Formal Foundation
 
2014 Pre-MSc-IS-2 Infrastructure
2014 Pre-MSc-IS-2 Infrastructure2014 Pre-MSc-IS-2 Infrastructure
2014 Pre-MSc-IS-2 Infrastructure
 
Quality attribute scenarios
Quality attribute scenariosQuality attribute scenarios
Quality attribute scenarios
 
Reusable Decision Space for Mashup Tool Design
Reusable Decision Space for Mashup Tool DesignReusable Decision Space for Mashup Tool Design
Reusable Decision Space for Mashup Tool Design
 
SOA2010 SOA with REST
SOA2010 SOA with RESTSOA2010 SOA with REST
SOA2010 SOA with REST
 
WS-* vs. RESTful Services
WS-* vs. RESTful ServicesWS-* vs. RESTful Services
WS-* vs. RESTful Services
 
Service Oriented Architectures and Web Services
Service Oriented Architectures and Web ServicesService Oriented Architectures and Web Services
Service Oriented Architectures and Web Services
 
The Blockchain as a Software Connector
The Blockchain as a Software ConnectorThe Blockchain as a Software Connector
The Blockchain as a Software Connector
 
BPM with REST
BPM with RESTBPM with REST
BPM with REST
 
A Framework for Rule-Based Dynamic Adaptation
A Framework for Rule-Based Dynamic AdaptationA Framework for Rule-Based Dynamic Adaptation
A Framework for Rule-Based Dynamic Adaptation
 
Entity Framework and Domain Driven Design
Entity Framework and Domain Driven DesignEntity Framework and Domain Driven Design
Entity Framework and Domain Driven Design
 
2014 Pre-MSc-IS-4 Business Logic Layer
2014 Pre-MSc-IS-4 Business Logic Layer2014 Pre-MSc-IS-4 Business Logic Layer
2014 Pre-MSc-IS-4 Business Logic Layer
 

Similar a 2014 Pre-MSc-IS-5 Process Layer

OpenERP e l'arte della gestione aziendale con Python
OpenERP e l'arte della gestione aziendale con PythonOpenERP e l'arte della gestione aziendale con Python
OpenERP e l'arte della gestione aziendale con Python
PyCon Italia
 
Camunda BPM 7.12 Release Webinar
Camunda BPM 7.12 Release WebinarCamunda BPM 7.12 Release Webinar
Camunda BPM 7.12 Release Webinar
camunda services GmbH
 
Sap fscm online training
Sap fscm online trainingSap fscm online training
Sap fscm online training
Santhosh Sap
 
Costandopportunitycostofarchitecturalinitiatives 090311132631-phpapp01
Costandopportunitycostofarchitecturalinitiatives 090311132631-phpapp01Costandopportunitycostofarchitecturalinitiatives 090311132631-phpapp01
Costandopportunitycostofarchitecturalinitiatives 090311132631-phpapp01
Tim Vibbert
 
Sap crm online training in india
Sap crm online training in indiaSap crm online training in india
Sap crm online training in india
SAP Online Training
 
Data Driven Development of Autonomous Driving at BMW
Data Driven Development of Autonomous Driving at BMWData Driven Development of Autonomous Driving at BMW
Data Driven Development of Autonomous Driving at BMW
DataWorks Summit
 
Abap course chapter 7 abap objects and bsp
Abap course   chapter 7 abap objects and bspAbap course   chapter 7 abap objects and bsp
Abap course chapter 7 abap objects and bsp
Milind Patil
 

Similar a 2014 Pre-MSc-IS-5 Process Layer (20)

DevOps meets BPM - Benjamin Herbert and Masroor Ahmad
DevOps meets BPM - Benjamin Herbert and Masroor AhmadDevOps meets BPM - Benjamin Herbert and Masroor Ahmad
DevOps meets BPM - Benjamin Herbert and Masroor Ahmad
 
[Webinar] Camunda Optimize Release 3.0
[Webinar] Camunda Optimize Release 3.0[Webinar] Camunda Optimize Release 3.0
[Webinar] Camunda Optimize Release 3.0
 
i-PANDAWA - SCRUM AGILE - Technology Deep Dive and Standard Operational Proce...
i-PANDAWA - SCRUM AGILE - Technology Deep Dive and Standard Operational Proce...i-PANDAWA - SCRUM AGILE - Technology Deep Dive and Standard Operational Proce...
i-PANDAWA - SCRUM AGILE - Technology Deep Dive and Standard Operational Proce...
 
Slidershare
SlidershareSlidershare
Slidershare
 
Magento 2 - hands on MeetMagento Romania 2016
Magento 2 -  hands on MeetMagento Romania 2016Magento 2 -  hands on MeetMagento Romania 2016
Magento 2 - hands on MeetMagento Romania 2016
 
Automated Historical Performance Analysis with kmemtracer
Automated Historical Performance Analysis with kmemtracerAutomated Historical Performance Analysis with kmemtracer
Automated Historical Performance Analysis with kmemtracer
 
OpenERP e l'arte della gestione aziendale con Python
OpenERP e l'arte della gestione aziendale con PythonOpenERP e l'arte della gestione aziendale con Python
OpenERP e l'arte della gestione aziendale con Python
 
Camunda BPM 7.12 Release Webinar
Camunda BPM 7.12 Release WebinarCamunda BPM 7.12 Release Webinar
Camunda BPM 7.12 Release Webinar
 
Sap fscm online training
Sap fscm online trainingSap fscm online training
Sap fscm online training
 
Vue.js - zastosowanie i budowa komponentów
Vue.js - zastosowanie i budowa komponentówVue.js - zastosowanie i budowa komponentów
Vue.js - zastosowanie i budowa komponentów
 
Data Binding and Forms in Angular 2
Data Binding and Forms in Angular 2Data Binding and Forms in Angular 2
Data Binding and Forms in Angular 2
 
OSMC 2021 | Still directing the director… and more!
OSMC 2021 | Still directing the director… and more!OSMC 2021 | Still directing the director… and more!
OSMC 2021 | Still directing the director… and more!
 
Sap
SapSap
Sap
 
IBM ECM System Monitor - Cenit Best Practices
IBM ECM System Monitor - Cenit Best PracticesIBM ECM System Monitor - Cenit Best Practices
IBM ECM System Monitor - Cenit Best Practices
 
Costandopportunitycostofarchitecturalinitiatives 090311132631-phpapp01
Costandopportunitycostofarchitecturalinitiatives 090311132631-phpapp01Costandopportunitycostofarchitecturalinitiatives 090311132631-phpapp01
Costandopportunitycostofarchitecturalinitiatives 090311132631-phpapp01
 
Building Multi-Tenant and SaaS products in PHP - CloudConf 2015
Building Multi-Tenant and SaaS products in PHP - CloudConf 2015Building Multi-Tenant and SaaS products in PHP - CloudConf 2015
Building Multi-Tenant and SaaS products in PHP - CloudConf 2015
 
Sap crm online training in india
Sap crm online training in indiaSap crm online training in india
Sap crm online training in india
 
Data Driven Development of Autonomous Driving at BMW
Data Driven Development of Autonomous Driving at BMWData Driven Development of Autonomous Driving at BMW
Data Driven Development of Autonomous Driving at BMW
 
10 of Our Favorite Salesforce Winter ’21 Features
10 of Our Favorite Salesforce Winter ’21 Features10 of Our Favorite Salesforce Winter ’21 Features
10 of Our Favorite Salesforce Winter ’21 Features
 
Abap course chapter 7 abap objects and bsp
Abap course   chapter 7 abap objects and bspAbap course   chapter 7 abap objects and bsp
Abap course chapter 7 abap objects and bsp
 

Último

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Último (20)

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 

2014 Pre-MSc-IS-5 Process Layer

  • 1. 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
  • 2. 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
  • 3. Andreas Martin - Page 3 Workflow Systems 5. Process Layer
  • 4. Andreas Martin - Page 4 Workflow System Characteristics 5. Process Layer
  • 5. Andreas Martin - Page 5 camunda BPM Open Source BPM and Workflow based on BPMN 2.0 5. Process Layer
  • 6. 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
  • 7. Andreas Martin - Page 7 Features - Modeller: Process Modelling with BPMN 2.0 5. Process Layer Source: http://camunda.org
  • 8. Andreas Martin - Page 8 Features - Platform: Visual Process Monitoring Find Process Instances 5. Process Layer Source: http://camunda.org
  • 9. Andreas Martin - Page 9 Features - Platform: Visual Process Monitoring Inspect a Process Instance 5. Process Layer Source: http://camunda.org
  • 10. Andreas Martin - Page 10 Features - Platform: Visual Process Monitoring Repair a Process Instance 5. Process Layer Source: http://camunda.org
  • 11. Andreas Martin - Page 11 Features - Platform: Implement Processes Native Java API 5. Process Layer Source: http://camunda.org
  • 12. Andreas Martin - Page 12 Features - Platform: Implement Processes Seamless Spring & Java EE Integration 5. Process Layer Source: http://camunda.org
  • 13. Andreas Martin - Page 13 Features - Platform: Execute BPMN 2.0 5. Process Layer Source: http://camunda.org
  • 14. 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
  • 15. Andreas Martin - Page 15 camunda BPM - Infrastructure 5. Process Layer Source: http://de.slideshare.net/camunda/open-source-bpm-mit-bpmn-20-und-java
  • 16. Andreas Martin - Page 16 camunda BPM - Components 5. Process Layer Source: http://de.slideshare.net/camunda/open-source-bpm-mit-bpmn-20-und-java
  • 17. 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()); } } }
  • 18. Andreas Martin - Page 18 camunda BPM – HTML forms 5. Process Layer <form class="form-horizontal"> <div class="control-group"> <label class="control-label">Customer ID</label> <div class="controls"> <input form-field type="string" name="customerId"></input> </div> </div> <div class="control-group"> <label class="control-label">Amount</label> <div class="controls"> <input form-field type="number" name="amount"></input> </div> </div> </form>
  • 19. Andreas Martin - Page 19 Hands-on 5 BPM CDI WEB APPLICATION 5. Process Layer
  • 20. 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.
  • 21. 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
  • 22. Andreas Martin - Page 22 Hands-on 6 BPM JAVA EE 5. Process Layer
  • 23. 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 +---srcmainwebappWEB-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 <?xml version="1.0" encoding="UTF-8"?> <datasources> <xa-datasource jndi-name="java:jboss/datasources/MySQL_premscis_xa" pool-name="MySQL_premscis" enabled="true" use-java- context="true"> <xa-datasource-class>com.mysql.jdbc.jdbc2.optional.MysqlXADataSource</xa-datasource-class> <xa-datasource-property name="PortNumber">80</xa-datasource-property> <xa-datasource-property name="ServerName">mature.iwi.wirtschaft.fhnw.ch</xa-datasource-property> <xa-datasource-property name="DatabaseName">premscis</xa-datasource-property> <driver>mysql-connector-java-5.1.32-bin.jarcom.mysql.jdbc.Driver_5_1</driver> <security> <user-name>premscis</user-name> <password>premscis</password> </security> </xa-datasource> </datasources>
  • 24. Andreas Martin - Page 24 Hands-on 6 …implement the Reference Project 5. Process Layer