Thursday, January 12, 2012

WPS: Business Process (WS-BPEL) & It's Elements

Business Process :
                             Business processes are part of the service component layer. WS-BPEL(Web Service Business Process Execution Language) is the language for composing business processes. 

  •  BPEL facilitates the building of composite integration applications by allowing reuse of existing it assets exposed as services.
  • BPEL supports the required technology patterns for business: error handling, compensation, asynchronous processing.
  • BPEL Process can invoked as a SCA component
  • BPEL can invoke other SCA components
  • SDO is slandered data format for messages
  • BPEL implements interface partners and reference  partners.
Business processes are executed in process server as either  micro flows or long running process.
  • micro flow is used for executing short business processes or small unit of work with in a large business process.
  • Long running process involve servies that do not respond immediately run over a period of time and can involve people(human task).

Elements in Business Process :

1. Partners                             : Define parties interacting with the process
2. Variables                           : Specify information used while running the business process
3. Correlation Sets               : Match messages to the correct process instances
4. Fault Handlers                  : Recover from partial and unsuccessful work done in the current                                                   scope of the business process.
5. Compensation Handlers : Contains actions that perform reverse operations for a particular                                                    scope or activity
6. Event Handlers                 : Perform work based on an event or an asynchronous message
7. Activities                            : These are used to define the process logic.

WPS: Business Objects, Service Data Objects & Framework

Business Object & Framework : 

                     Business Objects are SOA core components and it provides an abstraction layer for data objects. Business Object Framework is intended to provide data abstraction for service component. Component interfaces use Business Objects as inputs and outputs.
 







Business Object FrameWork is composed by following components:

1. Business Object : It refers to the fundamentl data structure for representing business data and not to the overal stucture.
  • Business objects are modeled using xml schemas(XSD).
  • At run time BO's are reprasented in memory as an SDO instance usind commonj.sdo..DataObject
  • Business Objects are collection of elements with names and data types.
          We have two types of business objects:
                 1. Simple business object composed of sclars
                 2. Hierarchical business objects with elements that contain other business objects.
  • Business object compare utility shows the structure of business objects in two different modules or libraries and allows you to visually determine additions, removeals, and changes. Also the "Copy Report to Clipboard" option allows you to paste changes into a document or other report.
2. Business Graph : It is used to wrap a top level business object and provide additional information that is used to enhance the data. The data graph includes change summary, event summary, verb information. It is an optional container around a business object.
3. Business object type meta data : It is available to annotate business objects with application specific information.
4. Business object service : A set of services that fecilitate working with business objects.

Service Data Object & Framework :
                  SDO Provides a framework for data manipulation and SDO framework supports manipulate data without connection to source.

Key components of the SDO framework are:
1. Data Object: Fundamental data Structure for representing Business data.
2. Data Graph: A container for hierarchical set of data objects. It incledes the change summary that records modifications to the data.

3. Data Object MetaData : Metadata is the object's scheme definition. It contains information about the data in the data object (property types, relationships constraints.)