You are previewing Getting Started with Oracle SOA Suite 11g R1 – A Hands-On Tutorial.
O'Reilly logo
Getting Started with Oracle SOA Suite 11g R1 – A Hands-On Tutorial

Book Description

Fast track your SOA adoption – Build a service-oriented composite application in just hours

  • Offers an accelerated learning path for the much anticipated Oracle SOA Suite 11g release

  • Beginning with a discussion of the evolution of SOA, this book sets the stage for your SOA learning experience

  • Includes a comprehensive overview of the Oracle SOA Suite 11g Product Architecture

  • Explains how Oracle uses standards like Services Component Architecture (SCA) and Services Data Object (SDO) to simplify application development

  • Describes how Oracle has unified services and events into one platform

  • Created to be an iterative tutorial, introducing one feature at a time

  • Includes exercises for associated technologies such as Governance, B2B transactions, and Business Activity Monitoring (BAM)

  • Built around a real-life scenario to illustrate all the key features

  • Full of illustrations, diagrams, and tips for developing SOA applications faster, with clear step-by-step instructions and practical examples

In Detail

Accelerate your learning path to Oracle SOA Suite 11g with this easy-to-use and comprehensive hands-on tutorial. This tutorial is built upon proven training content that has been acclaimed by hundreds of developers at SOA Suite 11g rollout training courses.

Getting Started With Oracle SOA Suite 11g walks you through the development of a services-oriented composite application based on a real-life scenario. The solution is built in an iterative fashion, with each chapter introducing new features one by one. This fully illustrated step-by-step tutorial is based on proven training content that has been praised by hundreds of developers in product training courses forming the SOA Suite 11g rollout.

SOA has evolved from being a buzzword into a mature technology, and is now used in mission-critical systems all around the world. With Oracle SOA Suite 11g, Oracle provides a complete, integrated, standards-based and best-of-breed solution to build and manage large, highly demanding SOA projects.

The book starts by introducing key SOA concepts, and emerging standards such as Service Component Architecture (SCA), that are key to understanding Oracle SOA Suite 11g. The remainder of the book, written in the form of a tutorial, will quickly guide new and experienced developers through the complete breadth of features and components offered by Oracle SOA Suite 11g. This tutorial is modular, and you will learn how to build a services-oriented composite application project iteratively with each chapter introducing new technology components and adding a functional increment. Ready-to-deploy solutions are provided for each and every step, so developers can jump into the tutorial at any point in the book, beginning with the solution for the previous chapter. Chapter instructions are written at three levels of complexity: detailed step by step instructions for the newbie, high level functional and design notes for those who want the challenge of building without the details, and a quick-build list of objects for experienced users who just want to build the application.

Learn from the experts – teach yourself Oracle SOA Suite 11g through an accelerated, hands-on learning experience

Table of Contents

  1. Getting Started with Oracle SOA Suite 11g R1 – A Hands-On Tutorial
    1. Table of Contents
    2. Getting Started with Oracle SOA Suite 11g R1 – A Hands-On Tutorial
    3. Credits
    4. Foreword
    5. About the Authors
    6. Acknowledgment
    7. Preface
      1. What this book covers
      2. Who this book is for
        1. Conventions
      3. Reader feedback
      4. Blog
      5. Customer support
        1. Downloading the example code for the book
        2. Errata
        3. Piracy
        4. Questions
    8. 1. SOA and Its Evolution
      1. SOA and services—what and why
      2. SOA—past, present, and future
      3. Composition, SCA, and service platform
      4. Summary
    9. 2. Product Architecture
      1. Oracle SOA Suite 11g: Release drivers
      2. Challenges solved by Oracle SOA Suite 11g
        1. Simplifying the design-time environment
          1. Composite Editor to assemble heterogeneous technologies
          2. Streamlining life cycle management
          3. Metadata Storage (MDS) for tighter control and governance
          4. Event-Delivery Network (EDN) to reconcile Event-Driven and Service-Oriented Architectures
        2. Unifying runtimes for performance and simplified deployment
          1. Removing inefficiencies through the Service Infrastructure
          2. Eliminating redundancies by sharing components
          3. Simplifying installation and deployment
        3. Increasing visibility and streamlining management
          1. Enterprise Manager for end-to-end monitoring
          2. Global, policy-driven security
          3. Exception handling
      3. Summary of the Oracle SOA Suite 11g components
    10. 3. The Tutorial Project: Purchase Order Processing
      1. Structure of the tutorial
      2. Tutorial scenario
      3. Overview of the tutorial chapters
      4. Tutorial files
      5. Documentation
    11. 4. Product Installation
      1. Checking your installation
      2. What you will need and where to get it
        1. Memory and Disk Space requirements
        2. Downloading files
        3. Checking your database
        4. Checking your browser
        5. Checking your JDK
      3. Installing Admin Server and Managed Servers
        1. Installing WebLogic Server
        2. Dropping the existing schema
        3. Configuring schema
        4. Installing SOA
        5. Creating Domain
      4. Installing JDeveloper and SOA Composite Editor
      5. Installing JDeveloper
        1. Updating JDeveloper with latest SOA
      6. Additional actions
        1. Setting memory limits
        2. Starting and stopping
          1. Starting
          2. Console URLs
          3. Stopping servers
        3. WebLogic Server console settings
        4. EM settings for development
        5. If you need to uninstall JDeveloper and servers
      7. Configuration
        1. Installing the database schema
        2. Creating the JMS resources
        3. Creating the database resource
      8. Testing your installation
        1. Oracle Service Bus installation
        2. Testing your OSB installation
        3. Removing samples (optional)
        4. Uninstalling OSB
      9. Summary
    12. 5. Basic components: Web Services Binding, Mediator, and Database Adapter
      1. Introducing the basic components
      2. Tutorial: Building the credit card validation service
        1. Overview
        2. Designing the flow
          1. Creating a new application and project
          2. Adding the Database Adapter
          3. Adding the Mediator component
          4. Adding the Web Service binding
          5. Adding a transformation to the Mediator component
        3. Deploying and testing the composite application
          1. Creating a server connection in JDeveloper
          2. Deploying Composites to the Application Server
          3. Testing your composite using Enterprise Manager
      3. Summary
      4. Quick-build instructions
    13. 6. Accessing Files Using the File Adapter
      1. Introducing the File Adapter
      2. Tutorial: Building the purchase order routing service
        1. Designing the flow
          1. Creating a new application
          2. Adding the service interface
          3. Adding the routing component
          4. Adding the File Adapter
          5. Wiring the components together and adding a transformation
          6. Deploying the application
          7. Testing the application
      3. Summary
      4. Quick-build Instructions
    14. 7. Creating Processes Using Business Process Execution Language (BPEL)
      1. Introducing BPEL
        1. Long-running services
        2. BPEL language
        3. BPEL Editor
      2. Tutorial: Orchestration of credit card validation service in POProcessing
        1. Designing the flow
        2. Invoking the CreditCardStatus service
        3. Designing the BPEL approval process
        4. Modifying the Mediator component
        5. Deploying the application
        6. Testing the application
        7. Modifying the application for small orders
      3. Summary
      4. Quick-build Instructions
    15. 8. Creating Human Tasks
      1. Introducing the Human Task component
        1. Functional details
        2. Human Workflow Service
        3. Worklist application
      2. Tutorial: Adding Manual Approval in PO Processing
        1. Designing the flow
        2. Adding a Human Task to the composite
        3. Calling the Human Task from BPEL
        4. Creating the task form for task details
        5. Deploying and testing the application
      3. Summary
      4. Quick-build Instructions
    16. 9. Business Rules
      1. Introducing Business Rules decision service
        1. Rules design
      2. Tutorial: Adding an approval rule using the decision service in POProcessing
        1. Designing the flow
        2. Adding a Business Rule to POProcessing
        3. Deploying POProcessing composite
        4. Running the application
        5. Quick-build instructions
      3. Introducing Business Rules decision table
        1. Designing the flow
        2. Adding a BPEL Process and a Business Rule
        3. Defining the Business Rule
        4. Defining the BPEL process
        5. Invoking FulfillmentProcess
        6. Deploying the application
        7. Testing the application
      4. Quick-build Instructions
      5. Summary
    17. 10. Using the JMS Adapter
      1. Introducing the JMS Adapter
        1. WebLogic JMS
        2. JMS Adapter
      2. Tutorial: Orchestration of JMS services in the fulfillment process
        1. Adding the JMS adapters to the composite
        2. Invoking the services from BPEL
        3. Deploying the application
        4. Testing the application
      3. Summary
      4. Quick-build Instructions
    18. 11. Reusing and Virtualizing Services with Oracle Service Bus
      1. Introducing Oracle Service Bus
        1. What are the types of changes that OSB can absorb?
        2. Who are the users?
        3. OSB terminology: Business services and proxies
        4. What about governance and discovery?
        5. OSB for Financial Services
      2. Tutorial: Virtualization of services
        1. Designing the flow
        2. Creating the project and importing resources
        3. Configuring Business Service
        4. Configuring the Proxy
        5. Configuring Message Flow
        6. Re-wiring POProcessing composite
        7. Testing the end-to-end application
      3. Summary
      4. Quick-build Instructions
    19. 12. Exploring Application Life Cycle Management
      1. Introducing life cycle management features
      2. Tutorial: Solution deployment
        1. Development environment approach
          1. Surfacing binding properties at the composite level
          2. Generating and modifying a configuration plan
        2. Test environment approach
          1. Compiling and packaging from the command line with ANT
          2. Deploying from the command line with ANT
        3. Production environment approach
          1. Deploying from Enterprise Manager
      3. Summary
      4. Quick-build Instructions
    20. 13. Unit-testing the Composite Application
      1. Introducing the built-in testing framework
      2. Tutorial: Automated unit testing
        1. Creating the unit test
        2. Setting the inbound message
        3. Setting the simulated message
        4. Setting the assertion for success
        5. Setting the assertion for failure
        6. Testing the application
      3. Summary
      4. Quick-build instructions
    21. 14. Adding Exception Handling
      1. Introducing exception handling
        1. System faults
        2. Business faults
        3. Exception handling in Oracle SOA Suite 11g
        4. Exception-handling strategies
        5. Policy-based fault-handling framework
          1. Defining a policy
          2. Binding a policy
      2. Tutorial: Fault handling and fault policies
        1. Handling remote faults
        2. Testing service unavailability
        3. Creating a fault policy
        4. Handling exceptions in BPEL
        5. Using a custom Java fault handler
        6. Handling Mediator faults
      3. Summary
      4. Quick-build Instructions
    22. 15. Securing Services
      1. Introducing security policy management
        1. Securing your composites using Oracle Web Services Manager
        2. Identity management
        3. Use SSL
        4. A quick look at the policy management UI
      2. Tutorial: Securing the credit card validation service
        1. Defining a new user
        2. Attaching the policies
        3. Detaching policies
        4. Attaching and detaching policies in JDeveloper
      3. Summary
      4. Quick-build Instructions
    23. 16. Gaining Visibility into Your Process Activities
      1. Introducing Business Activity Monitoring (BAM)
        1. Oracle BAM Server
        2. Oracle BAM Web Application
      2. Tutorial: Monitoring Business Activity in PO Processing
        1. Defining the data object
        2. Defining the BAM dashboard
        3. Configuring BAM Adapter on Weblogic Server
        4. Adding a BAM connection to POProcessing
        5. Adding a BAM Adapter to POProcessing
        6. Modifying the Mediator component
        7. Testing the adapter connection
        8. Adding BAM sensors to the BPEL process
        9. Deploying and running the composite
      3. Summary
      4. Quick-build Instructions
    24. 17. Event Delivery Network
      1. Introducing events
        1. Creating and managing event definitions
        2. Consuming events from the Event Delivery Network
      2. Tutorial: Use of Event Delivery Network (EDN) and POProcessing
        1. Modifying the composite to consume events
          1. Defining the event
          2. Subscribing to the NewPO event
          3. Deploying and testing
      3. Summary
      4. Quick-build Instructions
    25. 18. Data Handling with Service Data Objects (SDO)
      1. Introduction to Service Data Objects
        1. Key components
          1. Oracle SOA Suite 11g SDO Support
      2. Tutorial: Using a Service Data Object
        1. Preparing for the lab
        2. Creating the ADF Business Component service
          1. ADF Business Components, a quick primer
          2. Creating an ADF-BC application
          3. Creating the Business Components
          4. Testing the application module
          5. Creating the service interface
          6. Deploying the service
          7. Testing the Customer SDO service
        3. Using the new ADF-BC Service in the POProcessing composite
          1. Adding the CustomerSDOService as a reference
          2. Using the SDO in BPEL
          3. Deploying and Testing
      3. Summary
      4. Quick-build Instructions
    26. 19. Connecting to Trading Partners (B2B)
      1. Introducing B2B integration
        1. B2B characteristics
        2. Oracle B2B
        3. Composites and B2B
        4. Document management
          1. Challenges due to evolving standards
          2. EDI is not XML
        5. Trading partner profiles and agreement
      2. Tutorial: Triggering POProcessing using B2B transactions
        1. Defining the B2B configuration
          1. Creating a document definition
          2. Defining the trading partners
          3. Creating a listening channel
          4. Creating an agreement
        2. Creating the composite: B2Bprocessing
        3. Testing the process
      3. Summary
      4. Quick-build Instructions
    27. 20. Concluding Remarks
    28. Index