Saturday Jul 29, 2006

BPEL: Tutorials on creating simple Asynchronous & Synchronous Business Processes

A Simple Asynchronous BPEL Process
This tutorial provides an overview of the sample project, AsynchronousSample and illustrates deploying, executing and testing an asynchronous BPEL process using the FREE Java EE 5 Tools Bundle Beta from The Process is simple. It is basically an echo process, but it is an asynchronous echo, not a synchronous echo. A client sends the process a message. The process receives the input message and returns immediately. Then the process asynchronously calls the original client and sends the same message back.

[Read More]

Saturday Jul 15, 2006

BPEL: Modeling Event-Handling in business processes

WS-BPEL allows you to achieve enterprise-agility by providing a mechanism to orchestrate and invoke disparate web services either synchronously or asynchronously. At runtime, these business processes will have to have the ability to handle disparate events. Business processes need to wait for incoming messages (or events) that trigger their execution. BPEL already provides the <receive> and <pick> activities that await incoming messages to kick off a new business process instance to execute as we saw in this blog entry. The <receive> activity allows the business process to wait for a specific type of message to arrive on a specified portType.

[Read More]

Friday Jul 14, 2006

BPEL: How do I introduce intentional delays in a business process?

There may be cases where we may need to introduce an intentional delay for a specific duration, or delay execution until a specified time. For example, we may need to pause to instruct the business process to invoke a web service at a specified time. Or there may be cases where we may need to wait for some time before we can resume execution. The equivalent of Java's Thread.sleep() method in BPEL is the <wait> activity. [Read More]

Thursday Jul 13, 2006

BPEL: Specifying Dates, Times, and duration

In XML Schema, the duration datatype is used to represent durations of time (e.g., to represent - for 19 years 10 months and 28 days, or,  for 10 hours 37 minutes and 46 seconds) which can be thought of as time intervals. Similarly, the datetime and date datatypes in XML Schema, are used to reference specific instances of time (e.g., to represent - the 28th day of the 10th month of the year 2008 or time such as 10:28:19am).

[Read More]

Saturday Jul 08, 2006

BPEL: Lifecycle of Business Process Instances

Operations are message exchanges. WSDL Web Services define a stateless model and an unordered set of operations.

However, among other features, a language used to define business processes has to at a minimum provide for the following:
  • The ability to define rules for ordering operations,
  • The ability to sequence a set of operations,
  • Support to build a stateful business process,
  • The ability to support long-running business interactions,
  • A well-defined business process instance lifecycle,
  • Provide support for concurrency, and
  • Support choreography with external entities.
[Read More]

Monday Jul 03, 2006

BPEL: What is Correlation, message Property, Property Alias, and Correlation Set

The idea of associating business-application-specific data found in the messages to maintain references to specific business process instances is termed BPEL Correlation.

[Read More]

BPEL: What are partnerLinkTypes, roles, and partnerLinks.

BPEL is a Web Service Sequencing Language. A BPEL Process defines a conversation flow chart and a BPEL Process instance is a particular conversation following the chart which consists of only WSDL-described message exchanges. BPEL provides and consumes WSDL-defined services. BPEL execution systems can thus support multiple concurrent conversations.

[Read More]

Sunday May 28, 2006

The WS-BPEL Debugger

The WS-BPEL Debugger is a NetBeans Plug-in module that lets you debug your WS-BPEL code.Before using it, you should have started the BPEL Service Engine component in debug mode using the JBI Manager accessible from the NetBeans IDE Runtime tab.

[Read More]

The WS-BPEL XPath Assignment Editor (a.k.a., The BPEL Mapper)

The WS-BPEL XPath Expression Editor is a NetBeans plug-in editor for building XPath expressions which are used in various WS-BPEL elements. The WS-BPEL XPath Expression Editor allows the user to build XPath expressions in a WYSWYG way. It works on XML Schema (XSD) trees to generator XPath expressions.

[Read More]

Gopalan Suresh Raj, a Senior Software Architect, Published Author, and a Public Speaker, is a member of Sun Microsystems, Inc.'s Research and Architecture team. For the past several years he has been designing solutions using Java and C++.

Contact him at  or

His personal public profile is available at:


« July 2016