0%

Book Description

Over 65 high level recipes for extending your Oracle SOA applications and enhancing your skills with expert tips and tricks for developers

  • Extend and enhance the tricks in your Oracle SOA Suite developer arsenal with expert tips and best practices
  • Get to grips with Java integration, OSB message patterns, SOA Clusters and much more in this book and e-book
  • A practical Cookbook packed with recipes for achieving the most important SOA Suite tasks for developers

In Detail

As part of Oracle Fusion Middleware, the components of Oracle SOA Suite enable you to build, deploy and manage Service-Oriented Architectures (SOA), and can be used as the glue to integrate your applications whilst moving your enterprise towards a service oriented future. The recipes in "Oracle SOA Suite 11g Developer's Cookbook" will provide you with a solid foundation for your SOA Suite implementation ensuring its efficiency and reliability.

Whether you're using SOA Suite as an integration tool or as the foundation of your Service Oriented Architecture, it is important to have a reliable implementation. "Oracle SOA Suite 11g Developer's Cookbook" will ensure you have the knowledge at your disposal to achieve that, through numerous tips and tricks for extending and enhancing your applications.

"Oracle SOA Suite 11g Developer's Cookbook" equips you with invaluable information about SOA Suite development which can usually only be gained through bitter experience. The recipes in this book distill real world experience into an easily applicable form.

Throughout the book you'll encounter high level issues, such as building a reliable SOA Suite cluster, and detailed development problems such as avoiding errors in BPEL assignment statements. Along the way you'll also learn about configuring identity providers and managing transaction boundaries.

The recipes in this Cookbook will prove crucial for implementing your SOA Suite solutions.

Table of Contents

  1. Oracle SOA Suite 11g Developer's Cookbook
    1. Table of Contents
    2. Oracle SOA Suite 11g Developer's Cookbook
    3. Credits
    4. About the Authors
    5. Contributors
    6. About the Reviewer
    7. www.PacktPub.com
      1. Support files, eBooks, discount offers and more
        1. Why Subscribe?
        2. Free Access for Packt account holders
        3. Instant Updates on New Packt Books
    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. Downloading the example code
        2. Errata
        3. Piracy
        4. Questions
    9. 1. Building an SOA Suite Cluster
      1. Introduction
        1. Terms used
        2. Target solution
        3. Cluster details
      2. Gathering configuration information
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      3. Preparing the operating system
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      4. Preparing the database
        1. Getting ready
        2. How to do it...
        3. How it works...
      5. Preparing the network
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
    10. 2. Using the Metadata Service to Share XML Artifacts
      1. Introduction
        1. Defining a project structure
      2. Creating a file-based MDS repository for JDeveloper
        1. Getting ready
        2. How to do it...
        3. There's more...
      3. Creating Mediator using a WSDL in MDS
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
      4. Creating Mediator that subscribes to EDL in MDS
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
      5. Creating an external reference using a WSDL in MDS
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
      6. Referencing Schematron in MDS for validation
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
      7. Referencing a fault policy deployed to MDS
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
      8. Deploying MDS artifacts to the SOA infrastructure
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
      9. Exporting an MDS partition to the filesystem
        1. Getting ready
        2. How to do it...
        3. There's more...
      10. Deleting XML artifacts from SOA infra MDS
        1. Getting ready
        2. How to do it...
        3. There's more...
    11. 3. Working with Transactions
      1. Introduction
        1. Transactions defined
        2. Transaction managers
        3. Compensating transactions
      2. Modifying a BPEL process to use the callers transaction context
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      3. Committing a transaction
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      4. Aborting a transaction
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. See also
      5. Catching rollback faults
        1. Getting ready
        2. How to do it...
        3. How it works...
      6. Applying reversing or compensating transactions
        1. Getting ready
        2. How to do it...
        3. How it works...
    12. 4. Mapping Data
      1. Introduction
        1. Comparison of XSLT and Assign
        2. Typing in XML Schema
      2. Ignoring missing elements with XSLT
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      3. Ignoring missing elements with Assign
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      4. Creating target elements in Assign
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      5. Array processing with XSLT
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      6. Array processing with BPEL Assign
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      7. Overriding mapping of EJB data to XML
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      8. Ignoring a Java property
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      9. Creating a wrapper element for a Java collection or array
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      10. Handling an abstract class
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
    13. 5. Composite Messaging Patterns
      1. Introduction
      2. Message aggregation within a composite
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
      3. Using dynamic partner links with BPEL 2.0
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
      4. Singleton composite
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
      5. Scheduling services
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
      6. Scheduling a service within a composite
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
      7. Deleting a scheduled service within a composite
        1. Getting ready
        2. How to do it...
        3. How it works...
    14. 6. OSB Messaging Patterns
      1. Introduction
      2. Dynamic binding using OSB
        1. Getting ready
        2. How to do it...
        3. How it works…
        4. There's more…
      3. Splitting out messages using OSB
        1. Getting ready
        2. How to do it...
        3. How it works…
        4. There's more…
      4. Dynamic Split-Join in OSB
        1. Getting ready
        2. How to do it...
        3. How it works…
        4. There's more…
          1. Other aggregation logic
          2. More service calls
          3. Conflicts
      5. Fault handling in dynamic Split-Join in OSB
        1. How to do it...
        2. How it works…
    15. 7. Integrating OSB with JSON
      1. Introduction
      2. Converting between XML and JSON
        1. Getting ready
          1. Schema
          2. Java libraries
        2. How to do it...
        3. How it works...
        4. There's more...
      3. Invoking a JSON service from OSB
        1. Getting ready
        2. How to do it...
        3. How it works...
      4. Dynamically binding to a JSON service in OSB
        1. Getting ready
        2. How to do it…
        3. How it works…
        4. There's more...
      5. Exposing a proxy service as a JSON service
        1. Getting ready
        2. How to do it...
        3. How it works…
        4. There's more…
    16. 8. Compressed File Adapter Patterns
      1. Introduction
      2. Implement GZIP wrapper for OSB
        1. Getting ready
        2. How to do it...
        3. How it works…
        4. There's more…
      3. Reading compressed files with OSB
        1. Getting ready
        2. How to do it...
        3. How it works…
        4. There's more…
      4. Writing compressed files with OSB
        1. Getting ready
        2. How to do it...
        3. How it works…
        4. There's more…
    17. 9. Integrating Java with SOA Suite
      1. Introduction
        1. Use Case 1 – adding complex logic to XPath
        2. Use Case 2 – calling existing Java code
        3. Use Case 3 – implementing a service in Java
        4. Use Case 4 – accessing BPEL and composite information
      2. Creating a custom XPath function for SOA Suite
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
      3. Calling an EJB from an SOA composite
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      4. Using a Spring bean in an SOA composite
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      5. Using an EJB reference in a Spring component
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
      6. Accessing the SOA runtime environment from BPEL
        1. How to do it...
        2. How it works...
        3. There's more...
    18. 10. Securing Composites and Calling Secure Web Services
      1. Introduction
        1. Web Services Manager
        2. Key security terms
          1. User
          2. Credential
          3. Group
          4. Principal
          5. Role
          6. Authentication
          7. Authorization
          8. Policy
          9. Basic model
          10. Identity store
          11. Policy store
          12. Credential store
          13. Secure Sockets Layer (SSL)
      2. Restricting a composite to authenticated users with HTTP Basic Security
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Alternative authentication methods
          2. Using a different authentication method
        5. See also
      3. Creating a new, group-based authorization policy
        1. Getting ready
        2. How to do it...
        3. How it works...
      4. Restricting a composite to authorized users
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
      5. Adding keys to a credential store
        1. How to do it...
        2. How it works...
      6. Invoking an HTTP Basic secured web service
        1. How to do it...
        2. How it works...
    19. 11. Configuring the Identity Service
      1. Introduction
        1. Use one or more authentication providers
      2. Configuring the SOA Identity service to use Oracle Internet Directory
        1. Getting ready
        2. How to do it...
        3. How it works…
        4. There's more…
      3. Configuring the SOA Identity service to use Oracle Virtual Directory
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more…
      4. Configuring the SOA Identity service to use Active Directory
        1. Getting ready...
        2. How to do it...
        3. How it works...
      5. Configuring the SOA Identity service to use Sun iPlanet server
        1. Getting ready
        2. How to do it...
        3. How it works...
    20. 12. Configuring OSB to Use Foreign JMS Queues
      1. Introduction
      2. Creating an OSB proxy service to consume JMS messages from OC4J
        1. Getting ready
        2. How to do it...
        3. How it works…
        4. There's more...
      3. Creating an OSB business service to publish JMS messages to OC4J
        1. Getting ready
        2. How to do it…
        3. How it works…
        4. There's more…
      4. Using WebLogic JMS Store-and-Forward for inter-domain messaging
        1. Getting ready
        2. How to do it…
        3. How it works…
        4. There's more…
      5. Configuring OSB to consume JMS messages from JBoss Application Server 5.1
        1. Getting ready
        2. How to do it…
        3. How it works…
        4. There's more…
    21. 13. Monitoring and Management
      1. Introduction
        1. Operational monitoring
        2. Business monitoring
      2. Capturing a composite completion status
        1. Getting ready
        2. How to do it...
        3. How it works...
      3. Monitoring message throughput in real time
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Types of metrics
          2. Sources of metrics
      4. Deploy Monitor Express to BAM
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      5. Configuring BAM Adapter
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. See also
      6. Configuring a BPEL process to report the status to BAM Monitor Express
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Capture points
          2. Custom intervals
          3. Business indicators
          4. Counters
        5. See also
    22. Index
3.138.34.226