You are previewing Oracle SOA Suite 11g R1 Developer's Guide.
O'Reilly logo
Oracle SOA Suite 11g R1 Developer's Guide

Book Description

Service-Oriented Architecture (SOA) is made easily accessible thanks to this comprehensive guide. With a logically structured approach, it gives you the expertise to start using the Oracle SOA suite in real-world applications.

  • A hands-on, best-practice guide to using and applying the Oracle SOA Suite in the delivery of real-world SOA applications

  • Detailed coverage of the Oracle Service Bus, BPEL PM, Rules, Human Workflow, Event Delivery Network, and Business Activity Monitoring

  • Master the best way to use and combine each of these different components in the implementation of a SOA solution

  • Illustrates key techniques and best practices using a working example of an online auction site (oBay)

  • In Detail

    We are moving towards a standards-based Service-Oriented Architecture (SOA), where IT infrastructure is continuously adapted to keep up with the pace of business change. Oracle is at the forefront of this vision, with the Oracle SOA Suite providing the most comprehensive, proven, and integrated tool kit for building SOA-based applications.

    Developers and Architects using the Oracle SOA Suite, whether working on integration projects, building composite applications, or specializing in implementations of Oracle Applications, need a hands-on guide on how best to harness and apply this technology. This book will guide you on using and applying the Oracle SOA Suite to solve real-world problems, enabling you to quickly learn and master the technology and its applications.

    This book is a major update to Oracle SOA Suite Developer's Guide, which covered 10gR3. It is completely updated for Oracle SOA Suite 11gR1, with 40% new material, including detailed coverage of newer components, such as: the Mediator, the new Rules Editor, the Event Delivery Network, Service Data Objects, and the Meta Data Repository. There is also a complete additional chapter on advanced SOA Architecture including message delivery, transaction handling and clustering considerations.

    The initial section of the book provides you with a detailed hands-on tutorial to each of the core components that make up the Oracle SOA Suite. Once you are familiar with the various pieces of the SOA Suite and what they do, the next question will typically be:

    "What is the best way to use and combine all of these different components to implement a real-world SOA solution?" Answering this question is the goal of the next section. Using a working example of an online auction site (oBay), it leads you through key SOA design considerations in implementing a robust solution that is designed for change.

    The final section addresses non-functional considerations and covers the packaging, deployment, and testing of SOA applications. It then details how to secure and administer SOA applications.

    Use and apply the Oracle SOA Suite in the implementation of real-world SOA applications

    Table of Contents

    1. Oracle SOA Suite 11g R1 Developer's Guide
      1. Oracle SOA Suite 11g R1 Developer's Guide
      2. Credits
      3. Foreword
      4. About the Authors
      5. Acknowledgement
      6. Acknowledgement
      7. About the Reviewers
      8. Preface
        1. What this book covers
        2. What you need for this book
        3. Who this book is for
        4. Conventions
        5. Reader feedback
        6. Customer support
          1. Errata
          2. Piracy
          3. Questions
      9. 1. Getting Started
        1. 1. Introduction to Oracle SOA Suite
          1. Service-oriented architecture in short
            1. Service
            2. Orientation
            3. Architecture
          2. Why SOA is different
            1. Terminology
            2. Interoperability
            3. Extension and evolution
            4. Reuse in place
          3. Service Component Architecture (SCA)
            1. Component
            2. Service
            3. Reference
            4. Wire
            5. Composite.xml
            6. Properties
          4. SOA Suite components
            1. Services and adapters
            2. ESB—service abstraction layer
              1. Oracle Service Bus and Oracle Mediator
            3. Service orchestration—the BPEL process manager
            4. Rules
            5. Security and monitoring
              1. Active monitoring—BAM
            6. Business to Business—B2B
            7. Complex Event Processing—CEP
            8. Event delivery network
          5. SOA Suite architecture
            1. Top level
            2. Component view
            3. Implementation view
            4. A recursive example
          6. JDeveloper
          7. Other components
            1. Service repository and registry
              1. BPA Suite
            2. The BPM Suite
            3. Portals and WebCenter
            4. Enterprise manager SOA management pack
          8. Summary
        2. 2. Writing your First Composite
          1. Installing SOA Suite
          2. Writing your first BPEL process
            1. Creating an application
            2. Creating an SOA project
            3. SOA project composite templates
            4. Creating a BPEL process
              1. Assigning values to variables
            5. Deploying the process
            6. Testing the BPEL process
            7. Adding a Mediator
            8. Using the Service Bus
          3. Writing our first proxy service
            1. Writing the Echo proxy service
            2. Creating a Change Session
            3. Creating a project
              1. Creating the project folders
            4. Creating service WSDL
              1. Importing a WSDL
            5. Creating our business service
            6. Creating our proxy service
              1. Creating message flow
              2. Activating the Echo proxy service
              3. Testing our proxy service
          4. Summary
        3. 3. Service-enabling Existing Systems
          1. Types of systems
            1. Web service interfaces
            2. Technology interfaces
            3. Application interfaces
          2. Java Connector Architecture
          3. Creating services from files
            1. A payroll use case
            2. Reading a payroll file
              1. Starting the wizard
              2. Naming the service
              3. Identifying the operation
              4. Defining the file location
              5. Selecting specific files
              6. Detecting that the file is available
              7. Message format
                1. Defining a native format schema
                2. Using a sample file
                3. Record structure
                4. Choosing a root element
                5. Message delimiters
                6. Record type names
                7. Field properties
                8. Verifying the result
              8. Finishing the wizards
            3. Throttling the file and FTP adapter
              1. Creating a dummy message type
              2. Adding an output message to the read operation
              3. Using the modified interface
            4. Writing a payroll file
              1. Selecting the FTP connection
              2. Choosing the operation
              3. Selecting the file destination
              4. Completing the FTP file writer service
            5. Moving, copying, and deleting files
              1. Generating an adapter
              2. Modifying the port type
              3. Modifying the binding
              4. Configuring file locations through additional header properties
            6. Adapter headers
            7. Testing the file adapters
          4. Creating services from databases
            1. Writing to a database
              1. Selecting the database schema
              2. Identifying the operation type
              3. Identifying tables to be operated on
              4. Identifying the relationship between tables
              5. Under the covers
          5. Summary
        4. 4. Loosely-coupling Services
          1. Coupling
            1. Number of input data items
            2. Number of output data items
            3. Dependencies on other services
            4. Dependencies of other services on this service
            5. Use of shared global data
            6. Temporal dependencies
          2. Reducing coupling in stateful services
          3. Service abstraction tools in SOA Suite
            1. Do you have a choice?
            2. When to use the Mediator
            3. When to use Oracle Service Bus
          4. Oracle Service Bus design tools
            1. Oracle Workshop for WebLogic
            2. Oracle Service Bus Console
          5. Service Bus overview
            1. Service Bus message flow
          6. Virtualizing service endpoints
            1. Moving service location
            2. Using Adapters in Service Bus
            3. Selecting a service to call
          7. Virtualizing service interfaces
            1. Physical versus logical interfaces
            2. Mapping service interfaces
            3. Applying canonical form in the Service Bus
              1. An important optimization
          8. Using the Mediator for virtualization
          9. Summary
        5. 5. Using BPEL to Build Composite Services and Business Processes
          1. Basic structure of a BPEL process
            1. Core BPEL process
              1. Variables
            2. Partner links
            3. Messaging activities
              1. Synchronous messaging
              2. Asynchronous messaging
                1. One way messaging
          2. A simple composite service
            1. Creating our StockQuote service
              1. Importing StockService schema
            2. Calling the external web services
              1. Calling the web service
              2. Assigning values to variables
              3. Testing the process
              4. Calling the exchange rate web service
              5. Assigning constant values to variables
              6. Using the expression builder
            3. Asynchronous service
              1. Using the wait activity
            4. Improving the stock trade service
              1. Creating the while loop
              2. Checking the price
              3. Using the switch activity
          3. Summary
        6. 6. Adding in Human Workflow
          1. Workflow overview
          2. Leave approval workflow
            1. Defining the human task
              1. Specifying task parameters
              2. Specifying task assignment and routing policy
            2. Invoking our human task from BPEL
            3. Creating the user interface to process the task
              1. Running the workflow process
          3. Processing tasks with the worklist application
          4. Improving the workflow
            1. Dynamic task assignment
              1. Assigning tasks to multiple users or groups
            2. Cancelling or modifying a task
              1. Withdrawing a task
              2. Modifying a task
              3. Difference between task owner and initiator
            3. Requesting additional information about a task
          5. Managing the assignment of tasks
            1. Reassigning reportee tasks
              1. Reassigning your own task
              2. Delegating tasks
              3. Escalating tasks
            2. Using rules to automatically manage tasks
              1. Setting up a sample rule
          6. Summary
        7. 7. Using Business Rules to Define Decision Points
          1. Business rule concepts
            1. XML facts
            2. Decision services
          2. Leave approval business rule
            1. Creating a decision service
            2. Implementing our business rules
            3. Adding a rule to our ruleset
              1. Creating the IF clause
              2. Creating the Then clause
          3. Calling a business rule from BPEL
            1. Assigning facts
          4. Using functions
            1. Creating a function
            2. Testing a function
            3. Testing decision service functions
            4. Invoking a function from within a rule
          5. Using decision tables
            1. Defining a bucket set
            2. Creating a decision table
            3. Conflict resolution
          6. Summary
        8. 8. Using Business Events
          1. How EDN differs from traditional messaging
          2. A sample use case
          3. Event Delivery Network essentials
            1. Events
            2. Event publishers
              1. Publishing an event using the Mediator component
              2. Publishing an event using BPEL
              3. Publishing an event using Java
                1. Creating the event
                2. Creating the event connection
                3. Publishing the event
            3. Event subscribers
              1. Consuming an event using Mediator
              2. Consuming an event using BPEL
          4. EDN publishing patterns with SOA Suite
            1. Publishing an event on receipt of a message
            2. Publishing an event on a synchronous message response
            3. Publishing an event on a synchronous message request and reply
            4. Publishing an event on an asynchronous response
            5. Publishing an event on an asynchronous message request and reply
            6. Publishing an event on an event
          5. Monitoring event processing in Enterprise Manager
          6. Summary
        9. 9. Building Real-time Dashboards
            1. How BAM differs from traditional business intelligence
            2. Oracle BAM scenarios
          1. BAM architecture
            1. Logical view
            2. Physical view
              1. Acquire
              2. Store
              3. Process
              4. Deliver
            3. Steps in using BAM
            4. User interface
          2. Monitoring process state
            1. Defining reports and data required
            2. Defining data objects
              1. A digression on populating data object fields
            3. Instrumenting BPEL and SCA
              1. Invoking the BAM adapter as a regular service
                1. Creating a BAM adapter
                2. Invoking the BAM adapter
              2. Invoking the BAM adapter through BPEL sensors
            4. Testing the events
            5. Creating a simple dashboard
          3. Monitoring process status
          4. Monitoring KPIs
          5. Summary
      10. 2. Putting it All Together
        1. 10. oBay Introduction
          1. oBay requirements
            1. User registration
              1. User login
            2. Selling items
              1. List a new item
              2. Completing the sale
              3. View account
            3. Buying items
              1. Search for items
              2. Bidding on items
          2. Defining our blueprint for SOA
            1. Architecture goals
            2. Typical SOA Architecture
              1. Application services layer
              2. Virtual services layer
              3. Business services layer
                1. Functional type
                2. Service consumer
              4. Business process
              5. User interface layer
              6. One additional layer
          3. Where the SOA Suite fits
            1. Composite application
              1. Composite granularity
                1. Composite reusability
                2. Composite lifecycle
                3. Composite security and management policies
              2. Basic composite design pattern
            2. Where to implement virtual services
              1. Mediator as a proxy for a composite
              2. Mediator as a proxy for an external reference
              3. Using a composite as a virtual service
              4. Service invocation between composite applications
                1. Centralized approach
                2. Peer-to-peer topology
                3. Hybrid approach
          4. oBay high-level architecture
            1. oBay application services
              1. Workflow services
              2. External web services
              3. oBay developed services
            2. oBay internal virtual services
            3. oBay business services
              1. oBay business processes
            4. oBay user interface
          5. Summary
        2. 11. Designing the Service Contract
          1. Using XML Schema to define business objects
            1. Modeling data in XML
              1. Data decomposition
              2. Data hierarchy
              3. Data semantics
              4. Using attributes for metadata
            2. Schema guidelines
              1. Element naming
                1. Name length
                2. Compound names
                3. Naming standards
              2. Namespace considerations
                1. Always specify a target namespace
                2. Default namespace
                3. Qualified or unqualified element names
                4. Qualified or unqualified attributes
                5. Namespace naming conventions
                6. Global versus local
                7. Elements versus types
            3. Partitioning the canonical model
              1. Single namespace
              2. Multiple namespaces
                1. Separate common objects into their own namespaces
          2. Using WSDL to define business services
              1. Use Document (literal) wrapped
            1. Building your abstract WSDL document
              1. WSDL namespace
              2. Defining the 'wrapper' elements
                1. Defining a schema for our wrapper elements
                2. Importing our wrapper elements
              3. Defining the 'message' elements
              4. Defining the 'PortType' Element
          3. Using XML Schema and the WSDL within SOA Suite
            1. Sharing XML Schemas across composites
              1. Defining an MDS connection
              2. Importing schemas from MDS
              3. Manually importing schemas
              4. Deploying schemas to the SOA infrastructure
                1. Creating a JAR file within JDeveloper
                2. Creating an SOA Bundle for a JAR file
            2. Importing the WSDL document into a composite
            3. Sharing XML Schemas in the Service Bus
            4. Importing the WSDL document into the Service Bus
          4. Strategies for managing change
            1. Major and minor versions
              1. Service implementation versioning
            2. Schema versioning
              1. Changing schema location
              2. Updating schema version attribute
              3. Resisting changing the schema namespace
            3. WSDL versioning
              1. Incorporating changes to the canonical model
              2. Changes to the physical contract
              3. Updating the service endpoint
              4. Including version identifiers in the WSDL definition
              5. Managing the service lifecycle
          5. Summary
        3. 12. Building Entity Services Using Service Data Objects (SDOs)
          1. Service Data Objects
            1. Oracle 11g R1 support for SDO
              1. Oracle SOA Suite 11g SDO support
          2. Implementing a Service Data Object
            1. Overview of ADF Business Components
            2. Creating our ListingSDO application
              1. Creating our Listing Business Components
              2. Defining Entity objects
              3. Defining updatable View objects
              4. Defining the application module
              5. Testing the listing ADF-BC in JDeveloper
            3. Generating the primary key using an Oracle Sequence
              1. Creating the ADF extension class for EntityImpl
              2. Updating default ADF base classes
              3. Configuring Listing entity to use Oracle Sequence
            4. Creating the ListingSDO service interface
              1. Enabling master detail updates
            5. Deploying the Service Data Object
              1. Creating a service deployment profile
              2. Setting Web Context Root
            6. Registering SDO with SOA infrastructure
              1. Registering the ListingSDO as an RMI service
              2. Configuring global JDBC data source
              3. Determining the SDO registry key
          3. Using the ListingSDO in an SOA composite
            1. Creating an ADF-BC Service Reference
            2. Invoking the SDO from BPEL
              1. Creating an entity variable
              2. Creating a Listing entity
              3. Binding to the Listing entity
              4. Inserting a detail SDO into a master SDO
              5. Updating a detail SDO
              6. Deleting a detail SDO
              7. Deleting a Service Data Object
            3. Exposing the SDO as a business service
          4. Summary
        4. 13. Building Validation into Services
          1. Validation within a composite
          2. Using XML Schema validation
            1. Strongly-typed services
            2. Loosely-typed services
            3. Combined approach
            4. Schema validation within the Mediator
              1. Using schema validation within BPEL PM
                1. Validation of BPEL variables
                2. Validation of inbound and outbound documents
                  1. Setting validateXML for a partner link
            5. Using schema validation within the Service Bus
              1. Validation of inbound documents
              2. Validation of outbound documents
          3. Using Schematron for validation
            1. Overview of Schematron
              1. Assertions
              2. Rules
                1. Using a relative context
              3. Patterns
              4. Namespaces
              5. Schema
            2. Intermediate validation
              1. Cross field validation
                1. Using XPath predicates in rules
                2. Using XPath 2.0 functions
              2. Date validation
              3. Element present
            3. Using Schematron within the Mediator
              1. Using the Metadata Service to hold Schematron files
              2. Returning Schematron errors
            4. Using Schematron with the Service Bus
          4. Putting validation in the underlying service
            1. Using Business Rules for validation
            2. Coding in validation
            3. Returning validation failures in synchronous services
              1. Defining faults
              2. Custom fault codes
              3. Validation failures in asynchronous services
          5. Layered validation considerations
            1. Dangers of over validation
            2. Dangers of under validation
            3. Negative coupling of validation
          6. Summary
        5. 14. Error Handling
          1. Business faults
            1. Defining faults in synchronous services
            2. Defining faults in asynchronous services
          2. Handling business faults in BPEL
            1. Catching faults
              1. Adding a catch branch
              2. Throwing faults
            2. Compensation
              1. Defining compensation
              2. Triggering a Compensation handler
              3. Adding a Compensate activity
            3. Returning faults
              1. Asynchronous Considerations
          3. Handling business faults in Mediators
            1. Synchronous Mediators
              1. System faults
            2. Asynchronous Mediators
              1. Using timeouts
          4. Using the fault management framework
            1. Using the fault management framework in BPEL
            2. Using the fault management framework in Mediator
            3. Defining a fault policies file
              1. Defining a fault policy
            4. Defining fault policy conditions
              1. Specifying the <faultName>
              2. Specifying the <condition>
            5. Defining fault policy actions
              1. Retry action
              2. Human intervention action
              3. Abort action
              4. Rethrow action
              5. Replay scope action
              6. Java action
            6. Binding fault policies
          5. Defining bindings on the composite
                1. Defining bindings on a component
                2. Defining bindings on an external reference
              1. Binding resolution
            1. Using MDS to hold fault policy files
            2. Human intervention in Fusion Middleware Control Console
          6. Handling faults within the Service Bus
            1. Handling faults in synchronous proxy services
              1. Raising an error
              2. Defining an error handler
                1. Adding a route error handler
                2. Checking the type of SOAP Faults
                  1. Getting the qualified fault name
                3. Creating a SOAP Fault
              3. Handling unexpected faults
              4. Returning a SOAP Fault
              5. Adding a service error handler
              6. Handling permanent faults
                1. Generating alerts
                2. Enabling alerts
              7. Handling transient faults
                1. Retrying a non-responsive business service
            2. Handling faults in one-way proxy services
          7. Summary
        6. 15. Advanced SOA Suite Architecture
          1. Relationship of infrastructure to service engines
          2. Composite execution and suspension
            1. BPEL dehydration events
          3. Threading and message delivery in SOA Suite
            1. One-way message delivery
            2. Immediate execution of one-way messages in BPEL
            3. Activation agent threads
            4. Dispatcher threads
          4. Transactions
            1. BPEL transactions
              1. BPEL component properties
              2. BPEL partner link properties
              3. BPEL activities
            2. Transactions and thread wrinkles in BPEL
              1. Reply handling
            3. Oracle Service Bus (OSB) transactions
              1. Transactional binding
              2. Non-transactional binding
                1. Non-transactional proxy
                2. Transactional proxy
            4. Comparison to EJB
          5. Clustering
            1. Load balancing
            2. JMS considerations
            3. Testing considerations
            4. Adapter considerations
            5. Metadata repository considerations
              1. Database connections
          6. Summary
        7. 16. Message Interaction Patterns
          1. Messaging within a composite
            1. Processing of messages within the Mediator
            2. Processing of messages within BPEL PM
          2. Message addressing
            1. Multi-protocol support
            2. Message correlation
            3. WS-Addressing
              1. Request message with WS-Addressing
              2. Response message with WS-Addressing
          3. Using BPEL correlation sets
            1. Using correlation sets for multiple process interactions
              1. Defining a correlation set property
              2. Defining correlation set
              3. Using correlation sets
                1. Initializing the correlation set
              4. Defining property aliases
          4. Message aggregation
            1. Message routing
              1. Correlating the callback
              2. Specifying the reply to address
            2. Creating a proxy process
              1. Using the pick activity
              2. Defining the correlation sets
            3. Completing the aggregation
          5. Scheduling services
            1. Defining the schedule file
            2. Using FlowN
              1. Accessing branch-specific data in FlowN
            3. Dynamic partner links
              1. Defining a common interface
              2. Defining a job partner link
                1. Creating an endpoint reference
                2. Updating the endpoint
            4. Recycling the scheduling file
          6. Summary
        8. 17. Workflow Patterns
          1. Managing multiple participants in a workflow
            1. Using multiple assignment and routing policies
              1. Determining the outcome by a group vote
                1. Voting on the outcome
                  1. Sharing attachments and comments
                2. Assigning participants
                3. Skipping the second step
            2. Using multiple human tasks
              1. Linking individual human tasks
          2. Using the workflow API
            1. Defining the order fulfillment human task
              1. Specifying task parameters
              2. Specifying the routing policy
              3. Notification settings
            2. Querying task instances
              1. Defining an external reference for the Task Query Service
              2. User authentication
                1. Creating the credential element
              3. Querying tasks
                1. Specifying the display column list
          3. Flex fields
            1. Populating flex fields
            2. Accessing flex fields
            3. Specifying the query predicate
            4. Using flex fields in the query predicate
            5. Ordering the data
          4. Getting task details
          5. Updating a task instance
          6. Using the updateTask operation
          7. Updating the task payload
          8. Updating the task flex fields
          9. Updating the task outcome
          10. Summary
        9. 18. Using Business Rules to Implement Services
          1. How the rule engine works
            1. Asserting facts
            2. Executing the ruleset
              1. Rule activation
              2. Rule firing
            3. Retrieving result
            4. Session management
            5. Debugging a ruleset
              1. Debugging a decision service with a test function
              2. Debugging a decision service within a composite
              3. Using the print function to add additional logging
          2. Using business rules to implement auction
            1. Defining our XML facts
            2. Defining the business rule
              1. Configuring the decision function
                1. Deselect Check Rule Flow
                2. Asserting the XML tree
          3. Using a global variable to reference the resultset
            1. Defining a global variable
            2. Defining a rule to initialize a global variable
          4. Writing our auction rules
            1. Evaluating facts in date order
              1. Checking for non-existent fact
              2. Updating the bid status
            2. Using inference
              1. Processing the next valid bid
            3. Using functions to manipulate XML facts
              1. Asserting a winning bid
              2. Retracting a losing bid
              3. Rules to process a new winning bid
              4. Validating the next bid
              5. Rule to process a losing bid
                1. Capping the winning bid amount
            4. Complete ruleset
          5. Performance considerations
            1. Managing state within the BPEL process
              1. Using functions to control the assertion of facts
          6. Summary
      11. 3. Other Considerations
        1. 19. Packaging and Deployment
          1. The need for packaging
            1. Problems with moving between environments
            2. Types of interface
              1. Web interfaces
              2. Command-line interfaces
          2. SOA Suite packaging
            1. Oracle Service Bus
            2. Oracle SOA composites
              1. Deploying a SCA composite via the EM Console
              2. Deploying a SCA composite using Ant
                1. Compile parameters (ant-sca-compile.xml)
                2. Package parameters (ant-sca-package.xml)
                3. Deploy parameters (ant-sca-deploy.xml)
                4. Test parameters (ant-sca-test.xml)
              3. Revisions and milestones
              4. The default revision
              5. Enabling web service endpoint and WSDL location alteration
              6. Enabling adapter configuration
              7. XML schema locations
              8. XSL imports
              9. Composite configuration plan framework
                1. Creating a configuration plan template
                2. Creating a configuration plan
                3. Attaching a configuration plan to an SCA archive
            3. Web services security
            4. Oracle rules
            5. Business activity monitoring
              1. Commands
              2. Selecting items
              3. Using iCommand
          3. Summary
        2. 20. Testing Composite Applications
          1. SOA Suite testing model
          2. One-off testing
            1. Testing composites
            2. Testing the Service Bus
          3. Automated testing
          4. The composite test framework
          5. Composite test suites
            1. Injecting data into the test case
            2. Data validation
            3. Emulating components and references
            4. Deploying and running test suites
          6. Regression testing
          7. System testing
          8. Composite testing
          9. Component testing
          10. Unit testing
          11. Performance testing
          12. User interface testing
          13. Summary
        3. 21. Defining Security and Management Policies
          1. Security and management challenges in the SOA environment
            1. Evolution of security and management
            2. Added complications of SOA environment
              1. Security Impacts of SOA
              2. Management and monitoring impacts of SOA
          2. Securing services
            1. Security outside the SOA Suite
              1. Network security
              2. Preventing message interception
              3. Restricting access to services
            2. Declarative security versus explicit security
              1. Security as a facet
              2. Security as a service
            3. Security model
            4. Policy enforcement points
            5. Policies
            6. Agents and gateways
              1. Distinctive benefits of gateways and agents
                1. Benefits of gateways
                2. Drawbacks of gateways
                3. Benefits of agents
                4. Drawbacks of agents
              2. The gateway dilemma
            7. Service Bus model
          3. Defining policies
            1. Creating a new policy to perform authentication and authorization
              1. Creating the authorization policy
                1. Oracle-recommended naming conventions for polices
                2. Creating the policy
                3. Applying a policy
            2. Applying a policy through the Service Bus Console
              1. Importing a policy
              2. Applying OWSM policies in Service Bus
            3. Final thoughts on security
          4. Monitoring services
            1. Monitoring service health in SOA Suite
              1. System up-down status
              2. System throughput view
                1. Monitoring SOA Composite performance
            2. Monitoring in the Service Bus
              1. Creating an alert destination
              2. Enabling service monitoring
              3. Creating an alert rule
              4. Monitoring the service
            3. What makes a good SLA
          5. Summary