SOA or the Service Oriented Architecture is an architectural approach, which makes use of technology to present business processes as reusable services.
It is focused on the business and enables process transformation to new levels of integration, visualization, monitoring, and optimization.
It is not a technology, it is a concept and a strategy for using technologies to build business automation solutions.
We will now see what BPEL is and how it helps in the SOA.
Business Process Engineering Language is a technology used to build programs in SOA architecture.
Follow these steps to add a BPEL Process Service Component −
From the Application Navigator, select File > New > Applications > SOA Application.
This starts the Create SOA Application wizard.
In the Application Name dialog, enter an application name in the Application Name field.
In the Directory field, enter a directory path in which to create the SOA composite application and project.
Click Next.
In the Project Name dialog, enter a name in the Project Name field.
Click Next.
In the Project SOA Settings dialog, select Composite with the BPEL Process.
Click Finish.
The BPEL composite contains the following files −
composite.xml − This file describes the entire composite assembly of services, service components, references, and wires.
.bpel − This file contains the set of activities added to the process.
.componentType − This file describes the services and references for the BPEL process service component.
.wsdl − This file defines the input and output messages for this BPEL process flow, the supported client interface and operations, and other features.
In this section, we will learn the different concepts involved in the BPL process.
A central process (which can be another Web service) takes control of the involved Web services.
Coordinates the execution of different operations on the web services involved in the operation.
Only the central coordinator of the orchestration is aware of this goal, so the orchestration is centralized with explicit definitions of operations and the order of invocation of Web services.
Does not rely on a central coordinator.
Each Web service involved in the choreography knows exactly when to execute its operations and with whom to interact.
Each Web service involved in the choreography knows exactly when to execute its operations and with whom to interact.
All participants in the choreography need to be aware of the business process, operations to execute, messages to exchange, and the timing of message exchanges.