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.
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. Once the need for the CBP is established, review each of the services as well as the description of the operation and any metadata in the Oracle Enterprise Repository before deciding to create a new 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.
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.
Identify the message structure.
Construct the WSDL for the CBP.
Annotate the service interface.
Ensure WS-1 basic profile conformance.
Create a new 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 12, "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 24, "Configuring Oracle AIA Processes for Error Handling and Trace Logging".
Enable extensibility points in CBP.
For more information, see Section 13.1, "Developing Extensible ABCS".