|
|
YOUR FEEDBACK
Did you read today's front page stories & breaking news?
SYS-CON.TV |
TOP THREE LINKS YOU MUST CLICK ON Pro-Spective
The Power of Process, the Benefit of BPEL
Taking advantage of IBM's BPEL extensions
By: BJ Grau
Aug. 17, 2005 01:00 PM
Digg This!
Page 2 of 2
« previous page
Here we'll refer to the process that does the invoking as the calling process and the one that it invokes as the invoked process. Rules regarding the interruptible and non-interruptible properties of the processes apply in this case. If the calling process is interruptible, then the invoked process can be either interruptible or non-interruptible. If the calling process is non-interruptible, then the invoked process must also be non-interruptible for obvious reasons. An invoked process, if it's interruptible, has an extended attribute available to it called Autonomy that can take the values Peer and Child. Peer implies that the invoked process runs on its own without access to the calling process's context and that it is also outside of the calling process's compensation sphere. It's completely autonomous in this case. When the Autonomy attribute is set to Child, then the calling process is considered to be the parent and the invoked process a child. In this case the invoked (child) process shares the context of the calling process (parent) and belongs to the same compensation sphere. When the Autonomy attribute is set to Child, the invoked process is effectively a sub-process nested inside the calling process. Sub-processes are sometimes referred to as micro flows. The Autonomy attribute has an impact on what compensation support can be selected for a sub-process. If a sub-process's autonomy attribute is set to Peer, the valid compensation sphere settings are Not Supported or Requires New. If autonomy is set to Child, then only Supports or Required are valid.
ATTRIBUTES OF INVOKE ACTIVITY
The BPEL specification provides a useful entity called a Pick Activity that's a hybrid between the Receive and Switch Activities. It waits for one out of a set of messages and continues the process with an activity chosen based on the first message received that matches one of the options in the Pick. Besides waiting for a specific message, the Pick activity can also continue execution based on the setting of an extended attribute named OnAlarm. OnAlarm can be configured to trigger based on a duration of time or a specific date. An example of where this may be useful is a situation in which you're waiting for a response from a Staff Activity and if the response isn't received by a certain date, the process needs to timeout. You can configure OnAlarm to trigger in a certain number of days and then send the process to a no-op, effectively timing the process out or making it start over (see Figures 6 and 7).
A JAVA EXPRESSION AS PART OF A WAIT ACTIVITY AND OTHER ENTITIES This same idea of flexible and granular control and decision making inside BPEL entities using a Java Expression also applies to the While and Switch Activities as well as Control links and Joins. There are more extended attributes for Activity such as id, displayName, description, documentation, and layout. These are simple extensions without any profound impact, but they do make process choreography more convenient by adding meaningful information for human consumption and understanding.
THE BUSINESS RELEVANT ATTRIBUTE
Conclusion More and more companies today are moving toward a Service Oriented Architecture that will enable their business to become more agile and adaptable. BPEL is the execution aspect required to implement such architecture. Together BPEL and IBM's BPEL extensions offer a powerful integration model to automate process integration in the enterprise and with partners. Page 2 of 2 « previous page WEBSPHERE LATEST STORIES . . .
SUBSCRIBE TO THE WORLD'S MOST POWERFUL NEWSLETTERS SUBSCRIBE TO OUR RSS FEEDS & GET YOUR SYS-CON NEWS LIVE!
|
SYS-CON FEATURED WHITEPAPERS MOST READ THIS WEEK BREAKING WEBSPHERE NEWS
|
|||||||||||||||||||||||||||||||||||||||