best practices for building composite applications using bpel, shared services and business events

13
“This presentation is for informational purposes only and may not be incorporated in a contract or agreement.”

Upload: jescie-duncan

Post on 03-Jan-2016

25 views

Category:

Documents


2 download

DESCRIPTION

Best Practices for Building Composite Applications using BPEL, Shared Services and Business Events David Shaffer Director Product Management, Oracle Corporation [email protected]. Agenda. What is SOA and EDA/ESB? Real-world Example Best Practices - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Best Practices for Building Composite Applications using BPEL, Shared Services and Business Events

“This presentation is for informational purposes only and may not be incorporated into a contract or agreement.”

Page 2: Best Practices for Building Composite Applications using BPEL, Shared Services and Business Events

“This presentation is for informational purposes only and may not be incorporated into a contract or agreement.”

Best Practices for Building Composite Applications using BPEL, Shared Services and Business Events

David ShafferDirector Product Management, Oracle [email protected]

Page 3: Best Practices for Building Composite Applications using BPEL, Shared Services and Business Events

“This presentation is for informational purposes only and may not be incorporated into a contract or agreement.”

Agenda

• What is SOA and EDA/ESB?• Real-world Example• Best Practices• Introduction to BPEL and the Oracle BPEL

Process Manager• Demo!

Page 4: Best Practices for Building Composite Applications using BPEL, Shared Services and Business Events

“This presentation is for informational purposes only and may not be incorporated into a contract or agreement.”

What is SOA?

ERP/Legacy Apps

Custom Apps& Services

Web services

WSDL/WSIF

XML/XML Schema

SOAP JCA JMS

BUSINESS SERVICES

Process FlowLogic

XSLT/XQuery

BPEL

ORCHESTRATE

Reduce friction, enhance visibility, thrive on change

PORTAL JSR-168

INTERACT/ACCESS

Struts/JSF

Portal

Web Application

API

WS

WS-Security

GATEWAY

SecurityReliabilityLoggingFailover

Dynamic Routing

WS-Policy, SAML

Web Services Mgmt

MonitoringOptimization

BAM

MONITOR & OPTIMIZE

JMX

Page 5: Best Practices for Building Composite Applications using BPEL, Shared Services and Business Events

“This presentation is for informational purposes only and may not be incorporated into a contract or agreement.”

What is EDA?

Devices RFID, Sensors

Network, Automated Call Distribution (ACD) Switches

Embedded systems

Security Authentication, authorization, audit trail

Database and Data Sources SQL, Legacy

Flat files, Excel, Logs

System Management Performance metrics, alerts, logs

System status – outages, utilization

Business Process Management Monitoring activity metrics, process

states

Messaging Systems JMS, TIBCO, MQSeries

Applications CRM, SCM, ERP, Financials

Web, External Business Partners

Business Events, Transactions

Devices RFID, Sensors

Network, Automated Call Distribution (ACD) Switches

Embedded systems

Security Authentication, authorization, audit trail

Database and Data Sources SQL, Legacy

Flat files, Excel, Logs

System Management Performance metrics, alerts, logs

System status – outages, utilization

Business Process Management Monitoring activity metrics, process

states

Messaging Systems JMS, TIBCO, MQSeries

Applications CRM, SCM, ERP, Financials

Web, External Business Partners

Business Events, Transactions

Important design concept, core to SOA• Supports dynamic business processes

• De-couples requestor from service provider (“Loose Coupling”)

• Fits asynchronous design patterns

• Business Activity Monitoring – Enables insight into distributed data

Page 6: Best Practices for Building Composite Applications using BPEL, Shared Services and Business Events

“This presentation is for informational purposes only and may not be incorporated into a contract or agreement.”

SOA/EDA InfrastructureInteraction Patterns

• Request/Reply• Requester to Provider and back

• Conversational• Coordinated exchange of messages

between two or more participants

• Notification/Response• One-way Notification to Provider,

Response from Provider to Requester

• Publish/Subscribe• Sender publishes to Topic, rather than

addressing to specific recipients

SOA

ClientClientClient Server

Interface

EDAPublisher Subscriber

EventMetadata

Page 7: Best Practices for Building Composite Applications using BPEL, Shared Services and Business Events

“This presentation is for informational purposes only and may not be incorporated into a contract or agreement.”

Example: DSL Provisioning at Belgacom

Application for the provisioning and activation of DSL lines. Belgacom is processing up to 15,000 DSL provisions / day through SOA and BPEL processes which link their customer interfaces and OSS layer, managing activation and repair.

Struts

BPEL

Telco Activation Services

DSL Activation Manager

6000+ network equipment endpoints (SLEE gateway)

SDSL Activation Manager

Sales/Customer Service Interfaces and Order Review

Exception Management

Billing Services

Account Management Services

Reporting Services

Register for New ServiceSelf-service web appCall CenterTroubleshooting Request

Application Server

Page 8: Best Practices for Building Composite Applications using BPEL, Shared Services and Business Events

“This presentation is for informational purposes only and may not be incorporated into a contract or agreement.”

Best PracticeLoosely coupled interfaces (XML, WSDL) for coarse-grained services

Make composite apps easier to build and maintain, increased chance for re-use, easier to version

Asynchronous messaging(WS-Addressing)

Processing efficiency, reliability

Data-driven / rules-driven processing

More flexible applications, fewer production code changes

Separate process flow logic Management, monitoring, compliance

SOA standards Future-proof applications, vendor independence, decreased learning curve

Expect to focus on exception management

70-80% of time spent on negative cases. Build more robust composite apps.

Policy-driven security Ensure security compliance, enhanced management

Benefit

Page 9: Best Practices for Building Composite Applications using BPEL, Shared Services and Business Events

“This presentation is for informational purposes only and may not be incorporated into a contract or agreement.”

BPEL by Example

Select Lowest Offer

10:00am

Handle Negative Credit Exception

Credit Rating

start

end

BPEL Flow

?

United Loan Star Loan

Get Rating

Send Loan Application

Receive Loan Offer

03:00pm

Send Loan Application

Receive Loan Offer

<process>

</process>

<switch>

<variable>

<faultHandlers>

<receive>

<invoke>

<invoke><flow>

</flow>

<partnerLink>

<partnerLink> <partnerLink>

Page 10: Best Practices for Building Composite Applications using BPEL, Shared Services and Business Events

“This presentation is for informational purposes only and may not be incorporated into a contract or agreement.”

The Oracle BPEL Process Manager

BPEL Console

MA

NA

GE

J2EE Application Server(Oracle AS, WebLogic, JBoss, WebSphere)

Core BPEL Engine

WSDL Binding Built-in Integration Services

File, FTP

Web Service

Java, JMS, JCA

Database

XQuery XSLT UserTasks

BPEL

Eclipse, JDeveloper

BPEL Designer

Oracle DB

BPEL Process Manager

JAVA

Dehydration Store(Oracle Database)

iWay

Enterprise-strength infrastructure for designing, deploying and managing BPEL business processes.

• Comprehensive and native BPEL implementation

• Easy-to-use modeling tool

• Scalable and reliable engine

• Flexible binding framework

• Rich management and monitoring

• Support for Oracle AS, JBoss, WebLogic and WebSphere

• Get up and running in less than 15 minutes!

WS

-Security, W

S-P

olicy, SA

ML

(OW

SM

)

Page 11: Best Practices for Building Composite Applications using BPEL, Shared Services and Business Events

“This presentation is for informational purposes only and may not be incorporated into a contract or agreement.”

PORTAL

Loan Flow Demo

LOAN FLOW BPEL PROCESS

receive

getSSN

invokeinvoke

select

PORTAL

Web

Serv

ices

Inte

rface

: X

ML,

SO

AP,

WS

DL,

WS

IF

Credit Rating.NET

Oracle eBusinessSuite

Async.Loan Providers

receivereceive

review

United Load Star Loan

end

5-15 min

getRating

Exception Task

Notification Service

Page 12: Best Practices for Building Composite Applications using BPEL, Shared Services and Business Events

“This presentation is for informational purposes only and may not be incorporated into a contract or agreement.”

Oracle Integration Standards-based Integration Platform

12

Oracle Enterprise Service Bus

BAMAdapters

B2B BPEL PMSecurity

RoutingTransformation

Messaging

Page 13: Best Practices for Building Composite Applications using BPEL, Shared Services and Business Events

“This presentation is for informational purposes only and may not be incorporated into a contract or agreement.”

AQ&Q U E S T I O N SQ U E S T I O N S

A N S W E R SA N S W E R S