You are previewing BPEL Cookbook.
O'Reilly logo
BPEL Cookbook

Book Description

"

Ten practical real-world case studies combining business process management and web services orchestration in this book and eBook

  • Real-world BPEL recipes for SOA integration and Composite Application development

  • Combining business process management and web services orchestration

  • Techniques and best practices with downloadable code samples from ten real-world case studies

In Detail

Service Oriented Architecture is generating a buzz across the whole IT industry. Propelled by standards-based technologies like XML, Web Services, and SOAP, SOA is quickly moving from pilot projects to mainstream applications critical to business operations. One of the key standards accelerating the adoption of SOA is Business Process Execution Language for Web Services (BPEL).

BPEL was created to enable effective composition of web services in a service-oriented environment. In the past two years, BPEL has become the most significant standard to elevate the visibility of SOA from IT to business level. BPEL is not only commoditizing the integration market, but it is also offering organizations a whole new level of agility – ability to rapidly change applications in response to the changing business landscape. BPEL enables organizations to automate their business processes by orchestrating services within and across the firewall. It forces organizations to think in terms of services. Existing functionality is exposed as services. New applications are composed using services. Communication with external vendors and partners is through services. Services are reused across different applications. Services are, or should be, everywhere!

This book is not just another generic set of Service Oriented Architecture (SOA) best practices with only general recommendations and advice: instead it’s a unique cookbook that shows you how SOA applications are built using best practices that are proven in 10 real-world scenarios.

The book consists of three sections. The first two sections will inspire you. They showcase real-life projects on BPEL-based integration and development of composite applications. You’ll see that SOA is a reality today, learn what successful implementations are like, and how SOA can work for you right now. It will encourage you to take a plunge into the world of services and test-drive SOA yourself. If you are already in the middle of an SOA implementation, these sections will offer you fresh insight into your current approach, help you to deal with specific business challenges, and make sure what you do is in line with the best practice.

The third section will equip you with BPEL techniques to build better SOA applications. These techniques represent the practical implementation of best practice, with code snippets ranging from development to administration of an SOA application. They are generic enough to be applied in any of your existing projects yet specific enough to enable you reap the full benefits from your SOA implementation.

"

Table of Contents

  1. BPEL Cookbook
    1. BPEL Cookbook
    2. Credits
    3. About the Editors
    4. About the Authors
    5. Foreword
    6. Dismantling SOA Hype: A Real-World Perspective
      1. The Structure of this Book
        1. Section 1: Service-Oriented Integration
        2. Section 2: Building Modern Applications
        3. Section 3: SOA Techniques
      2. Conclusion
      3. Conventions
      4. Reader Feedback
      5. Customer Support
        1. Downloading the Code for the Book
        2. Errata
        3. Questions
    7. 1. Extending Enterprise Application Integration
      1. Case Study Background
      2. Implementing the Customer Details Management Module
        1. Step 1: Expose TIBCO and webMethods Processes as Web Services
        2. Step 2: Orchestrate Web Services
        3. Step 3: Add Exception Management Capability
                1. Case 1
                2. Case 2
                3. Case 6
        4. Step 4: Secure Business Communication
          1. Outbound Security
          2. Inbound Security
        5. Step 5: Centralize Logging and Error Handling
      3. Conclusion
    8. 2. Service-Oriented ERP Integration
      1. Functional Scenario
      2. Solution Overview
      3. Integrating PeopleSoft CRM with Oracle ERP
        1. Step 1: Design the BPEL Process
        2. Step 2: Configure OA Adapter
        3. Step 3: Configure PeopleSoft
          1. Configure the PeopleSoft Node to Interact with the BPEL Process
          2. Establish Relationship between EIP and Node
          3. Create Transformation Code
          4. Linking WSDL_ORDER Apps Engine Program with the Node
      4. Conclusion
    9. 3. Building the Service Value Chain
      1. Overview of the ESA Network
      2. Designing a Web Services Network
        1. Setting Up the Interface Relationship
        2. Simplifying Partner Enablement
        3. Creating a Central Service Registry
        4. Providing Self-Service Monitoring
      3. Conclusion
    10. 4. A Services-Oriented Approach to Business Rules Development
      1. Separating Rules from Processes
        1. Business Process Layer
        2. Web Service Layer
        3. Rules Layer
      2. Development and Maintenance
        1. Create Rules in a Ruleset
        2. Expose the Ruleset as a Web Service
        3. Invoke the Ruleset Web Service from BPEL
        4. Maintenance Phase
      3. Executing JRules with Oracle BPEL Process Manager
      4. Conclusion
    11. 5. Building Rich Internet Applications for Workflow and Process Monitoring
      1. RIA Background
      2. Sample Process
      3. Building the Application
        1. RIA Front End
        2. BPEL Process Manager API Back End
      4. Running the New Account Process
        1. Enabling Workflow
      5. Monitoring Process Activity
      6. Rendering the Process
      7. Viewing Audit Trail Data
      8. Conclusion
    12. 6. Building BPEL Processes on the Fly
      1. The Approach
      2. Sample Business Scenario
        1. Process Creation
        2. Storing the Definition in the Database
      3. Dynamically Deploying BPEL
        1. XQuery Processing
        2. Dynamic Deployment with Ant
      4. Conclusion
    13. 7. Making BPEL Processes Dynamic
      1. Dynamic Binding Overview
      2. Building Dynamic BPEL Processes
      3. Understanding the DynamicPartnerLink Sample
      4. Creating a Dynamic BPEL Process
      5. Increasing the Effectiveness of Dynamic Processes
        1. Eliminating Address Dependency at Run Time
          1. WSDL-Independent Services
        2. Invoking Multiple Dynamic Processes
      6. Conclusion
    14. 8. Using WSIF for Integration
      1. Understanding WSIF
        1. Java-to-XML Bindings
          1. XML Façades
          2. Developing the Java Class
          3. Defining WSIF Bindings in WSDL
          4. WSIF Binding for Java Class
          5. Testing the Example
      2. Exception Handling
        1. Define User Exception in Java
        2. Throw Java Exception
        3. Define Fault in WSDL
        4. Define WSIF Binding for Exception
        5. Custom Exception Serializers
        6. Custom Java Serializers
      3. WSIF Binding for EJBs
        1. WSDL for Session Bean
        2. Add Partner Link Type
        3. Supplement BPEL Process
        4. Add WSIF Binding for EJB
      4. Generating WSIF Bindings from JDeveloper
      5. Conclusion
    15. 9. BPEL with Reliable Processing
      1. Business Scenario
      2. Architecture
      3. Building the Sample
        1. Creating the Database Objects
        2. Creating the DB Polling Process
        3. Init Block
        4. Processing
          1. Process Flow
          2. Exception Handling
          3. Reusability
        5. Reply/Report Final Status
        6. Logging
        7. Rethrow Fault
      4. Conclusion
    16. 10. Managing a BPEL Production Environment
      1. BPEL Process Manager API and Dehydration Store
      2. Archiving Completed Instances
        1. Archiving with EJB
        2. Archiving with PL/SQL
      3. Deleting Callback and Invoke Messages
      4. Deleting Stale Instances
      5. Rerunning Failed Instances
      6. Conclusion