Slide 3. Optimizing ESB / BPEL Using Java. • Why. – View end to end instance
data in ESB Control. – Increased performance due to not using HTTP/SOAP.
Oracle SOA Suite Enterprise Service Bus Oracle Integration Product Management
Optimizing ESB/BPEL by Using Java
Slide 2
Optimizing ESB / BPEL Using Java • Why – – – –
View end to end instance data in ESB Control Increased performance due to not using HTTP/SOAP Execute on the same JTA transaction Click through to/from BPEL and ESB Control instance data
• How – Install BPEL and ESB in the same container • SOA Suite install – basic or advanced • Separate standalone Mid tier installs into same OC4J
– Inbound: BPEL -> ESB • Force BPEL to use __ESB WSDL binding
– Outbound: ESB->BPEL • Replace ESB SOAP Service with direct routing rule
• Use Cases – SOA OrderBooking Demo • ESB Inbound: ESB invoking BPEL OrderBooking process • ESB Outbound: BPEL invoking ESB OrderFullfillment flow
Slide 3
View End to End Instance Data in ESB Control
ESB and BPEL Must be installed in the same container SOA Suite or Standalone Installs into same 10.1.3.1 Mid Tier
Slide 4
SOA OrderBooking – ESB Control
Open ESB Control Browse to ESB OrderFullfillment Definition tab Uncheck “Can be invoked from an external service” Click “Apply” Slide 5
SOA OrderBooking – BPEL Control
Open BPEL Control Browse to BPEL Processes Click on “Clear WSDL Cache” Slide 6
OrderBookingESB Project
Open OrderBookingESB project Double Click OrderBooking Routing Service Edit the Filter Expression Filter out exisiting Routing Rule with expression = “false()” Click “Ok” then “Save” Slide 7
OrderBookingESB Project
Add a new Routing Rule to invoke the SOAOrderBooking process directly Browse and select target for SOAOrderBooking “initiate“ operation Click “Ok”, “Save” then re register service.
Slide 8
Register OrderBookingESB project
View updated Project with new Routing Rule Right click the project and reregister with the ESB Integration Server
Slide 9
SOA OrderBooking End to End Flow
View new End to End Meta data Flow in ESB Control
Slide 10
SOA OrderBooking End to End Instance View
Initiate an order to run the demo View new End to End Instance data Flow in ESB Control Select the “SOAOrderBooking” BPEL process Expand to see service details Click “Navigate to BPEL instance to view the process Slide 11
SOA OrderBooking BPEL Control
View BPEL Process flow Navigate down to the “PostFullfillment” Activity Click to see ESB invocation details Click link to see instance data in ESB Control
Slide 12
SOA OrderBooking Summary This lesson shows how to configure the SOA OrderBooking demo to show the following features
9 BPEL /ESB End to End Instance View 9 Improve performance by using Java instead of HTTP/SOAP 9 Execute BPEL process and ESB flow in the same transaction 9 Illustrate integrate between the 2 Controls