Posts tagged bpel 2.0
Introduction of BPEL 2.0 forEach activity – valuable loop and standard based successor to FlowN
1BPEL 2.0 introduced the forEach activity – similar to for [-loop] found in many programming languages. Oracle SOA Suite 11g adopted BPEL 2.0, first in run time (PS2) and later in Design Time (JDeveloper) as well (PS3 an beyond). For BPEL processes created using BPEL 2.0, forEach is a looping mechanism – similar to repeatUntil and while – and also the successor to the proprietary Oracle extension to BPEL 1.x called FlowN. In that latter capacity, forEach is the activity that enables parallelism in BPEL processes to a dynamic degree.
The well known Flow activity also supports parallelism – but only for a static number of branches, known at design time. FlowN (1.x) and forEach (2.0) add the ability to execute a scope a dynamic number of times, determined at run time.
For example when an operation needs to be performed on multiple elements in a collection, such as all order lines in an order or all persons in a travel booking, forEach is valuable – especially when it makes sense to perform the operation on multiple elements at the same time.
Note however that parallelism in BPEL is a relative concept: a single BPEL process instance is never operated on in more than one JVM thread, so More >
SOA Suite 11gR1 PS3 – Some new BPEL features
1The Patch Set 3 for SOA Suite 11g R1 that was released last weekend brings bug fixes, stabilization, further integration between components and a bunch of new features. Most of them not spectacular, but quite useful all the same. More to please users of the product than perhaps potential buyers…
A few of these new features for the BPEL component are highlighted in this article – and are the first small deviations from the screenshots and the detailed guidelines that I have written in the SOA Suite 11g Handbook.
For BPEL the key new features are: BPEL 2.0 support (design time, as run time support apparently was available for a bit longer), variable initialization (as part of that BPEL 2.0 support)and a way (way, way) better Assign dialog! (read on, that is a must see).
Recent Comments