- 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.
- Greenplum:從大數(shù)據(jù)戰(zhàn)略到實現(xiàn)
- 商業(yè)分析思維與實踐:用數(shù)據(jù)分析解決商業(yè)問題
- 大數(shù)據(jù)架構(gòu)商業(yè)之路:從業(yè)務(wù)需求到技術(shù)方案
- 大數(shù)據(jù)治理與安全:從理論到開源實踐
- HikariCP連接池實戰(zhàn)
- Augmented Reality using Appcelerator Titanium Starter
- Mastering LOB Development for Silverlight 5:A Case Study in Action
- 數(shù)據(jù)分析師養(yǎng)成寶典
- Unreal Engine Virtual Reality Quick Start Guide
- Visual FoxPro數(shù)據(jù)庫技術(shù)基礎(chǔ)
- 云計算
- 中國云存儲發(fā)展報告
- 區(qū)塊鏈應(yīng)用開發(fā)指南:業(yè)務(wù)場景剖析與實戰(zhàn)
- Unity for Architectural Visualization
- 掌中寶:電腦綜合應(yīng)用技巧