-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
WS-BPEL 2.0 Beginner's Guide
By :
Until now we have seen how to do parallel activity execution with a <flow> activity. We also learned about the <while> and <repeatUntil> activities, which support for repetitive executions. Suppose the BPEL process needs to read 10 data entries from a database. The BPEL process should execute the same data retrieval command with a different index in each command. This is a repetitive task, so we can use <while> or <repeatUntil> to achieve it. However, this can be parallelized as well. Each data retrieval command is executed in a parallel manner than in a sequential repetitive manner. How can a BPEL process execute a set of repetitive tasks in parallel?
The <forEach> activity comes to the rescue. It lets us define repetitive tasks in sequential or in parallel. Let's see how it works.
In this chapter, we will cover the following topics:
Change the font size
Change margin width
Change background colour