Concurrent activities and links

In business processes, activities often occur concurrently. In BPEL, such concurrent activities are modeled using the<flow> activity. Activities within<flow> start concurrently as soon as the<flow> is started. The<flow> completes when all nested activities complete. Gathering nested activities within<flow> is straightforward and very useful for expressing concurrency scenarios that are not too complicated. We have used it in the examples in this and the previous chapter.

To express more complex concurrency scenarios,<flow> provides the ability to express synchronization dependencies between activities. In other words, we can specify which activities can start and when (depending on other activities), and define ...

Get WS-BPEL 2.0 for SOA Composite Applications with IBM WebSphere 7 now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.