|Oracle® Fusion Middleware Developer's Guide for Oracle Application Integration Architecture Foundation Pack
11g Release 1 (184.108.40.206.3)
Part Number E17364-08
|PDF · Mobi · ePub|
This chapter provides an overview of Composite Business Processes (CBP) and discusses how to define the contract for CBP, create a contract for a CBP, implement the CBP as a BPEL service.
This chapter includes the following sections:
Composite Business Processes (CBPs) are the implementation of process services. Process services orchestrate a series of human and automated steps, including enterprise-wide policies captured in business rules. These services run the implementations of the business processes in the Oracle Application Integration Architecture (AIA) Reference Process Models.
AIA recommends using BPEL for implementing CBPs. CBPs are long-running processes that may run from few seconds to days. A CBP has an interface and message structure that is detailed enough to capture all of the information about the source of the triggering event. In most cases, the event is triggered by customer-facing applications.
For more information about detailed definition and high-level design and development guidelines, see "The AIA Shared Service Inventory" in the Oracle Fusion Middleware Concepts and Technologies Guide for Oracle Application Integration Architecture Foundation Pack.
The AIA methodology for designing and implementing a CBP is contract first methodology. Therefore, the contract must be defined and created before the CBP is implemented.
To define the contract for a CBP:
Identify the CBP.
Identify the pattern for the CBP.
The first task involved in designing a new service is to verify whether it is necessary. After the need for the CBP is established, review each of the services and the description of the operation and any metadata in the Oracle Enterprise Repository before deciding to create a service or an operation.
A CBP may be needed when an enterprise-wide business process is needed for a business event. This process is described in the Reference Process Model and spans multiple operational units for enterprises.
To identify a CBP:
From the BPA Reference Process Model, identify the business process to implement.
Click the link to Oracle Enterprise Repository (OER), and review the details in the OER.
If no link is available, create a definition for the CBP as part of the relevant AIA Project in the AIA Project Lifecycle Workbench application.
To create the contract for a CBP:
Identify the message structure.
Construct the WSDL for the CBP.
Annotate the service interface.
Ensure WS-1 basic profile conformance.
To implement the CBP:
Create a WSDL.
Create a WSDL for the CBP following the CBP naming standards and the WSDL templates provided.
Implement the CBP as a one-way BPEL process.
For more information about the details of creating BPEL projects in Oracle JDeveloper, see the Oracle BPEL Process Manager Developer's Guide.
Refer to Chapter 15, "Constructing the ABCS" for details about implementing a one-way pattern
Enable error handling and logging.
Enterprise Business Services (EBSs) should handle errors to allow clients or administrators to resubmit or re-trigger processes. This is accomplished using a central error handler.
For more information, see Chapter 26, "Configuring Oracle AIA Processes for Error Handling and Trace Logging".
Enable extensibility points in CBP.
For more information, see Section 16.1, "Developing Extensible ABCS".