- WS-BPEL 2.0 Beginner's Guide
- Matjaz B. Juric Denis Weerasiri
- 165字
- 2021-08-05 18:01:36
Parallel service invocation
BPEL also supports parallel service invocation. In our example, we have invoked Bookstore A and Bookstore B sequentially. This way, we need to wait for the response from the first service and then for the response from the second service. If these services take longer to execute, the response times will be added together. If we invoke both services in parallel, we only need to wait for the duration of the longer-lasting call, as shown in the following screenshot:
Note
BPEL has several possibilities for parallel flows, which will be described in detail in Chapter 8, Dynamic Parallel Invocations. Here, we present the basic parallel service invocation using the <flow>
activity.

To invoke services in parallel, or to perform any other activities in parallel, we can use the <flow>
activity. Within the <flow>
activity, we can nest an arbitrary number of flows, and all will execute in parallel. Let's try and modify our example so that Bookstore A and B will be invoked in parallel.
- Python絕技:運用Python成為頂級數據工程師
- 深度剖析Hadoop HDFS
- 一個64位操作系統的設計與實現
- Python金融數據分析(原書第2版)
- 信息學競賽寶典:數據結構基礎
- 云數據中心網絡與SDN:技術架構與實現
- Hadoop大數據開發案例教程與項目實戰(在線實驗+在線自測)
- Mastering LOB Development for Silverlight 5:A Case Study in Action
- 深入理解InfluxDB:時序數據庫詳解與實踐
- Mastering ROS for Robotics Programming(Second Edition)
- 數據庫應用系統技術
- NoSQL數據庫原理(第2版·微課版)
- Practical Convolutional Neural Networks
- MATLAB基礎及其應用教程
- 商業銀行數據庫管理實踐