Understanding Web Services, SOA & BPEL

download Understanding Web Services, SOA & BPEL

of 43

Transcript of Understanding Web Services, SOA & BPEL

  • 8/6/2019 Understanding Web Services, SOA & BPEL

    1/43

    Understanding Web Services,SOA BPEL & AIA

    Basheer Khan

  • 8/6/2019 Understanding Web Services, SOA & BPEL

    2/43

    Agenda

    Web Services

    Service-Oriented Architecture (SOA)

    Business Process Execution Language (BPEL)

    Application Integration Architecture (AIA)

    Next Steps

    Q & A

    4/1/2009 2

  • 8/6/2019 Understanding Web Services, SOA & BPEL

    3/43

    Web Services

  • 8/6/2019 Understanding Web Services, SOA & BPEL

    4/43

    What Is A Web Service?

    C2C Consumer to Consumer Person (consumer) to person

    Email (SMTP, RFC-822)

    B2C Business to Consumer

    Person to Application Web (HTTP, HTML)

    A2A Application to Application Application to Application

    Web services (XML, SOAP, UDDI, WSDL)

    4/1/2009 4

  • 8/6/2019 Understanding Web Services, SOA & BPEL

    5/43

    What Is A Web Service?

    A Web service

    Exposes and describes itself

    Allows other services to locate it on the Web

    Can be invoked

    Must return a response

    4/1/2009 5

  • 8/6/2019 Understanding Web Services, SOA & BPEL

    6/43

    How Does A Web Service Work?

    RegisterFind

    ServiceBroker

    ServiceProvider

    Service

    ConsumerClient

    ServiceContract

    Service

    4/1/2009 6

  • 8/6/2019 Understanding Web Services, SOA & BPEL

    7/43

    How Does A Web Service Work?

    Courtesy: IBM

    4/1/2009 7

  • 8/6/2019 Understanding Web Services, SOA & BPEL

    8/43

    Service-Oriented Architecture

  • 8/6/2019 Understanding Web Services, SOA & BPEL

    9/43

    Understanding SOA

    When we move to a new home

    Phone

    Gas

    Service

    Service

    we establish and use (everyday) a Service-Oriented Architecture!

    Home Sweet Home

    Cable TV

    Power

    Water

    Service

    Service

    Service

    4/1/2009 9

  • 8/6/2019 Understanding Web Services, SOA & BPEL

    10/43

    Understanding SOA

    Yet, why is it that most organizations today

    Banks Warehouses

    build their own bridges to interact between applications or with partners?

    XYZ, Inc

    Customers Vendors

    4/1/2009 10

  • 8/6/2019 Understanding Web Services, SOA & BPEL

    11/43

    SOA Characteristics

    Reusability leverages existing business processes across theenterprise and external trading partners

    Agility provides true business agility for rapid technologydeployment

    Interoperability provides framework that is platform or languageagnostic

    Visibility provides insight into available services and businessprocesses

    Manageability increases ability to monitor, secure, and manageservices and business processes

    4/1/2009 11

  • 8/6/2019 Understanding Web Services, SOA & BPEL

    12/43

    SOA Benefits

    Lower cost, flexible architecture

    Complies with industry standards and long term future direction

    Loosely coupled solution that is vendor and platform agnostic

    Enables rapid business application development by reusing existingfunctionality

    Enables the process-oriented or services-oriented organization that isextremely agile and adaptable to change

    Leverage existing IT legacy investments with lower risk, incrementalprojects

    4/1/2009 12

  • 8/6/2019 Understanding Web Services, SOA & BPEL

    13/43

    SOA Key Considerations

    Services must be provisioned and accessed in a secure manner

    Services must comply with corporate and regulatory policies

    Services must be highly available and reliable

    Service implementation and network topology Security and management policy

    Services and policies must be discoverable via a registry to promote reuse

    Services must meet SLA, performance, and scalability goals

    Services must be monitored and managed to ensure quality of service

    4/1/2009 13

  • 8/6/2019 Understanding Web Services, SOA & BPEL

    14/43

    Understanding SOA

    Web Client(Self Service)

    .NET Client(Support)

    Portal(Self Service)

    APPLICATION

    Portals

    J2EE Applications

    Servlets

    PROCESS FLOWS

    BPEL

    XSLT

    X uerOrchestration

    4/1/2009

    Database Mainframe Packaged Apps EJBs.NET/Axis

    BUSINESS SERVICES

    XML, XML Schema

    WSDL/WSIF

    SOAP, JCA, JMS

    JDBC JMS JCA RMISOAP

    WSDL WSDL WSDL WSDL WSDL

    Management and Security WS-Security

    WS-Policy, SAML

    14

  • 8/6/2019 Understanding Web Services, SOA & BPEL

    15/43

    Why is SOA important?

    Organizations have realized the immense benefit

    SOA brings by enabling reuse of existingservices, introducing agility and reducing cost

    There is a paradigm shift in the industry in terms

    o a op on. a or so ware ven ors,including Oracle, now embed native web servicesin their applications

    Applications Unlimited are now certified withFusion Middleware for SOA-enablement

    4/1/2009 15

  • 8/6/2019 Understanding Web Services, SOA & BPEL

    16/43

    BPEL Process Manager

  • 8/6/2019 Understanding Web Services, SOA & BPEL

    17/43

    What Is BPEL?

    Duplicate

    Number!

    SalesDB start

    Business Process Execution Language: Markup language for composing a set of

    discrete services into an end-to-end process flow

    10+ years of R&D fromMSFT and IBM

    SOAP but also Java, JCA

    end

    Router

    Billing Rich Flow Semantics Optimized Bindings

    XPATH+XSLT+XQuery

    WS-Security

    A Process is a Service

    4/1/2009 17

  • 8/6/2019 Understanding Web Services, SOA & BPEL

    18/43

    How Does BPEL Work?

    Unlike Enterprise Application Integration (EAI) tools

    that just orchestrated data, BPEL orchestrates bothdata and processes

    It combines web services from different applications

    to build end-to-end processes It enables standards-based communication between:

    One application to another

    User interfaces to back-end applications One organization to another (B2B)

    4/1/2009 18

  • 8/6/2019 Understanding Web Services, SOA & BPEL

    19/43

    How Does BPEL Work?

    PORTAL Web Service

    Java Service

    BPEL

    The OrchestratorIU

    J2EE

    TOMCAT

    ERP

    Oracle, SAP, etc.

    User Tasks

    Stored Procedures

    4/1/2009 19

  • 8/6/2019 Understanding Web Services, SOA & BPEL

    20/43

    How Does BPEL Work?

    BPEL guarantees delivery correctly, once

    ensuring no data loss and avoiding dataduplication (when an interface batch getsexecuted more than once)

    If any application is not available, BPEL storesthe state and ensures that the data delivered orprocess is executed on the target application

    once it is available again (similar to printspooling)

    4/1/2009 20

  • 8/6/2019 Understanding Web Services, SOA & BPEL

    21/43

    Comprehensive and nativeBPEL implementation

    Easy-to-use modeling tool

    Scalable and reliable engine

    BAM

    BPEL

    Console

    BPEL

    DesignerWorkflow Rule

    Oracle BPEL Process Manager

    BPEL Process ManagerHow Does BPEL Work?

    Flexible binding framework

    Rich management and

    monitoring

    Support for Oracle AS,

    WebLogic and WebSphere

    Get up and running in less

    than 15 minutes!Application Server ( Oracle, BEA, JBoss, IBM)

    Transformation Correlation

    WSIF Binding Queuing

    SAP EBS DB File

    XSLTMapper

    Adapter

    Factory

    ng ne

    Dehydration Store

    (Oracle Database)

    4/1/2009 21

  • 8/6/2019 Understanding Web Services, SOA & BPEL

    22/43

    Oracles SOA Approach (using BPEL)

    Since organizations have heterogeneous

    environments, Oracle introduced adapters tojumpstart SOA enablement

    Instead of develo in native core web services

    for every application, you can now configureDatabase (in less than 5 mins) to make adatabase table, view or procedure to behave as a

    web service!

    4/1/2009 22

  • 8/6/2019 Understanding Web Services, SOA & BPEL

    23/43

    WSIF + JCA + XML

    KEY FEATURES

    BPEL AdaptersHow Does BPEL Work?

    Requests and Events

    Optimized Bindings

    200+ Systems

    Fail Over Management

    4/1/2009 23

  • 8/6/2019 Understanding Web Services, SOA & BPEL

    24/43

    Increased Visibility

    Developing interfaces (processes) using BPEL

    provide greater end-to-end visibility and are veryeasy to debug/maintain.

    The Desi ner uses an eas click-dra -and-dro

    approach to building processes The Console displays the process exactly as it

    was design (What You See Is What You Get)

    4/1/2009 24

  • 8/6/2019 Understanding Web Services, SOA & BPEL

    25/43

    Native BPEL Support

    - -

    KEY FEATURES

    BPEL DesignerHow Does BPEL Work?

    UDDI and WSIL service browser

    Visual XPATH editor

    Visual Assign editor

    One-click build and deploy

    4/1/2009 25

  • 8/6/2019 Understanding Web Services, SOA & BPEL

    26/43

    Visual Monitoring

    Auditing

    KEY FEATURES

    BPEL ConsoleHow Does BPEL Work?

    BPEL Debugging

    In-flight Instance Administration

    Performance Tuning

    Partitioning/Domains

    4/1/2009 26

  • 8/6/2019 Understanding Web Services, SOA & BPEL

    27/43

    How Does BPEL Work?

    Mapping, transformation and translation of data

    elements is no longer embedded (tightly-coupled)in the source or target applications.

    Transformation of data elements is abstracted to

    a s an ar s- ase , mapp ng w c sdesigned using a simple, click-and-drag userinterface

    Abstracting the data mapping promotes reuse as

    well as saves effort during upgrades

    4/1/2009 27

  • 8/6/2019 Understanding Web Services, SOA & BPEL

    28/43

    Drag-and-drop Interface

    Built-in Librar of Functions

    KEY FEATURES

    BPEL TransformationsHow Does BPEL Work?

    Support for Lists and Iterations

    Auto-mapping

    Version Resiliency

    4/1/2009 28

  • 8/6/2019 Understanding Web Services, SOA & BPEL

    29/43

    How Does BPEL Work?

    BPEL provides a very robust, scalable

    architecture that provides high-availability byintroducing multiple nodes

    Performance is typically not an issue when using. e processes are usua y wa ng on e

    source or target applications.

    BPEL has been demonstrated to process around80,000 transactions per hour using a single

    server!

    4/1/2009 29

  • 8/6/2019 Understanding Web Services, SOA & BPEL

    30/43

    Plug and Play

    Cross Platform

    KEY FEATURES

    BPEL ArchitectureHow Does BPEL Work?

    Massively Scalable

    4/1/2009 30

  • 8/6/2019 Understanding Web Services, SOA & BPEL

    31/43

    A . Server

    ER

    BPEL Server

    BPEL High AvailabilityHow Does BPEL Work?

    Dehydration Store

    (Oracle Database)

    App. Server

    LOAD

    BALANC

    BPEL Server

    BPEL-OptimizedSOAP Stack

    Support for large BPELProcesses (20,000+ activities)

    StatelessArchitecture Clustering Fail Over

    4/1/2009 31

  • 8/6/2019 Understanding Web Services, SOA & BPEL

    32/43

    BPEL Demo

  • 8/6/2019 Understanding Web Services, SOA & BPEL

    33/43

    Application IntegrationArchitecture AIA

  • 8/6/2019 Understanding Web Services, SOA & BPEL

    34/43

    BPEL and AIA

    BPEL is the core product used to develop

    Process Integration Packs in OraclesApplication Integration Architecture

    Oracle Fusion A lications levera e BPEL for

    internal workflow and AIA for integration to otherapplications

    4/1/2009 34

  • 8/6/2019 Understanding Web Services, SOA & BPEL

    35/43

  • 8/6/2019 Understanding Web Services, SOA & BPEL

    36/43

    Understanding AIA

    AIA uses an intermediate Enterprise Business

    Object (EBO) to map between severalapplications

    The EBO contains a su erset of all ossible

    attributes for a given entity so that any applicationcan map to it.

    4/1/2009 36

  • 8/6/2019 Understanding Web Services, SOA & BPEL

    37/43

    Understanding AIA

    4/1/2009 37

  • 8/6/2019 Understanding Web Services, SOA & BPEL

    38/43

  • 8/6/2019 Understanding Web Services, SOA & BPEL

    39/43

    Integration Without AIA

    Customer

    - Name

    - Phone

    Customer

    - Company Name

    - Street

    Application A Application B

    4/1/2009

    - A ress

    - Fax

    - City

    - State- Zip

    - Office Phone

    - Office Fax

    39

  • 8/6/2019 Understanding Web Services, SOA & BPEL

    40/43

    Integration With AIA

    Customer

    - Name

    - Phone

    Customer

    - Company Name

    - Street

    Customer

    - Name

    - Street

    Application A Application BEBO

    4/1/2009

    - Address

    - Fax

    - City

    - State

    - Zip

    - Office Phone

    - Office Fax

    - ty

    - State- Zip

    - Industry

    - Phone

    - Fax- Website

    - etc.40

  • 8/6/2019 Understanding Web Services, SOA & BPEL

    41/43

    Next Steps

    Visit Oracle BPEL Home Page

    http://www.oracle.com/technology/bpel

    Download & tr Oracle BPEL it is FREE!

    4/1/2009 41

  • 8/6/2019 Understanding Web Services, SOA & BPEL

    42/43

    About Innowave

    Technology Consulting firm founded in 2005; HQ in Irvine, CA, USA

    Provide unique, innovative solutions using Oracle Applications andTechnology

    Expertise includes: Fusion Middleware, WebLogic Suite, SOA Suite,SOA Governance WSM OER BPEL OSB Business Rules BPA

    BPM, BAM, OBIEE, Web Center Suite, Identity Management Implement, upgrade, and enhance Oracle E-Business Suite,

    JD Edwards, PeopleSoft, and Siebel Applications

    Extensive experience and expertise managing global and local

    implementations across various industry verticals

    4/1/2009 42

  • 8/6/2019 Understanding Web Services, SOA & BPEL

    43/43