Browse Prior Art Database

Class Variables in Business Processes

IP.com Disclosure Number: IPCOM000030451D
Original Publication Date: 2004-Aug-13
Included in the Prior Art Database: 2004-Aug-13
Document File: 1 page(s) / 4K

Publishing Venue

IBM

Abstract

Business Process Execution Language for Web Services (BPEL4WS) is an evolving OASIS standard for defining business processes that orchestrate the execution of Web Services. The language provides for the definition of variables. These variables are used in receiving data from invoked Web Services as well as sending data to Web Services. The variables are instantiated on a process instance base; that means each process instance has its own set of values for the variables defined in the process template. Standard programming languages, such as Java, not only support this type of variables, called instance variables, but also the notion of class variables. The content of a class variable is shared by all instances created from a class. It is suggested to add the notion of class variables to BPEL, so that all process instances can share a variable.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 66% of the total text.

Page 1 of 1

Class Variables in Business Processes

Business Process Execution Language for Web Services (BPEL4WS) is an evolving OASIS standard for defining business processes that orchestrate the execution of Web Services. The language provides for the definition of variables . These variables are used in receiving data from invoked Web Services as well as sending data to Web Services. Manipulation of the variables is typically done via the <assign> activity. Variables are defined via the <variable> statement. The set of variables is enclosed in the <variables> element. Variables can either be of type WSDL messages or XML schema. The following code snippet defines a variable which holds, within an order process, the order number:

<variables>

<variable name="orderNumber type="xsd:integer"/>

</variables>

    The variables are instantiated on a process instance base; that means each process instance has its own set of values for the variables defined in the process template. In our example each process instance of the order process has its own value of the variable orderNumber.

    Standard programming languages, such as Java, not only support this type of variables, called instance variables, but also the notion of class variables . The content of a class variable is shared by all instances created from a class . It is suggested to add the notion of class variables to BPEL, so that all process instances can share a variable. This can be done as shown in the following figure:

variables...