售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Oracle Service Bus 11g Development Cookbook
Table of Contents
Oracle Service Bus 11g Development Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers and more
Why Subscribe?
Free Access for Packt account holders
Preface
What this book covers
What you need for this book
OSB Cookbook standard environment
Who this book is for
Recipes
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Creating a basic OSB service
Introduction
Creating a new OSB project
Getting ready
How to do it...
How it works...
There's more...
Defining a folder structure for the OSB project
Getting ready
How to do it...
How it works...
Importing an already existing project into Eclipse OEPE
Getting ready
How to do it...
How it works...
Creating a business service to call an external SOAP-based web service
Getting ready
How to do it...
How it works...
Generating a simple pass-through proxy service
Getting ready
How to do it...
How it works...
See also
Deploying the OSB configuration from Eclipse OEPE
Getting ready
How to do it...
How it works...
There's more...
Deploying to a remote server from Eclipse OEPE
Creating an OSB Configuration Jar and use the OSB console to deploy it
Testing the proxy service through the OSB console
Getting ready
How to do it...
How it works...
See also
Testing the proxy service through soapUI
Getting ready
How to do it...
How it works...
There's more...
Validate that the response is correct
Creating another request for the same operation
See also
Creating proxy service with a WSDL based interface
Getting ready
How to do it...
How it works...
Use the echo behaviour to implement a simple mock service
Using a routing action to statically route to another service
Getting ready
How to do it...
How it works...
See also
Adding an operational branch to support the different WSDL operations of the proxy service
Getting ready
How to do it...
How it works...
There's more...
Do I have to implement a branch for each operation?
How to handle operations which are not yet supported?
See also
Using an XQuery transformation to map between the different data models of the services
Getting ready
How to do it...
How it works...
2. Working Efficiently with OSB Artifacts in Eclipse OEPE
Introduction
Setting up an OSB project to work with JCA adapters
Getting ready
How to do it...
How it works...
See also
Using context menu to add nodes and actions to message flow
Getting ready
How to do it...
How it works...
Moving nodes/actions in Eclipse OEPE by drag-and-drop
Getting ready
How to do it...
How it works...
Copying nodes/actions from one place to another
Getting ready
How to do it...
How it works...
Moving artifacts inside the same OSB project
Getting ready
How to do it...
How it works...
Copying artifacts from one project into another
Getting ready
How to do it...
How it works...
There's more...
Debugging services through Eclipse OEPE
Getting ready
How to do it...
How it works...
3. Messaging with JMS Transport
Introduction
Sending a message to a JMS queue/topic
Getting ready
How to do it...
How it works...
There's more...
Advanced settings on JMS Transport
Sending to a JMS topic
See also
Changing JMS Transport message headers and properties at runtime
Getting ready
How to do it...
How it works...
Consuming messages from a JMS queue
Getting ready
How to do it...
How it works...
Consuming messages from a topic with non-durable/durable subscription
Getting ready
How to do it...
How it works...
There's more...
Consuming messages from a JMS queue/topic selectively
Getting ready
How to do it...
How it works...
There's more...
Using user-defined properties in a message selector
Using compound expressions in a message selector
See also
Accessing JMS Transport headers and properties in message flow
Getting ready
How to do it...
How it works...
There's more...
Accessing user-defined JMS properties
Using request-response messaging with JMS
Getting ready
How to do it...
How it works...
There's more...
Using QBrowser Admin GUI for accessing JMS queues/topics
Getting ready
How to do it...
How it works...
See also
Testing JMS with soapUI
Getting ready
How to do it...
How it works...
There's more...
4. Using EJB and JEJB transport
Introduction
Exposing an EJB session bean as a service on the OSB using the EJB transport
Getting ready
How to do it...
How it works...
There's more...
Locate an EJB in the JNDI tree
What if the EJB method returns a list of objects?
Using JNDI Provider to invoke an EJB session bean on a remote WebLogic domain
Getting ready
How to do it...
How it works...
Using converter class with EJB transport to help converting data types
Getting ready
How to do it...
How it works...
Exposing an EJB session bean as an EJB on the OSB using the JEJB transport
Getting ready
How to do it...
How it works...
Manipulating the response of the JEJB transport by a Java Callout action
Getting ready
How to do it...
How it works...
There's more...
5. Using HTTP Transport
Introduction
Using HTTP transport to implement messaging over HTTP
How to do it...
How it works...
There's more...
Exposing a RESTful service on the OSB
Getting ready
How to do it...
How it works...
There's more...
Consuming a RESTful service from the OSB
Getting ready
How to do it...
How it works...
Creating a generic RESTful gateway on the OSB
Getting ready
How to do it...
How it works...
Implementing a WebSockets transport for server-side push
Getting ready
How to do it...
How it works...
There's more...
6. Using File and Email Transports
Introduction
Using the File or FTP transport to trigger a proxy service upon arrival of a new file
Getting ready
How to do it...
How it works...
There's more...
File and FTP transports versus JCA adapters
Selectively processing files
Processing binary files
See also
Using the File JCA adapter to read a file within the message flow
Getting ready
How to do it...
How it works...
There's more...
Setting the filename and folder name dynamically at runtime
Reading file resources through a XQuery script
See also
Using the File Transport to write to a file
Getting ready
How to do it...
How it works...
There's more...
Specifying a filename at runtime
Writing a file to a remote folder through FTP
Using Email Transport to receive e-mail
Getting ready
How to do it...
How it works...
There's more...
Using Email Transport to send e-mail
Getting ready
How to do it...
How it works...
There's more...
7. Communicating with the Database
Introduction
Using DB adapter to read from a database table
Getting ready
How to do it...
How it works...
Using DB adapter to execute a custom SQL statement against the database
Getting ready
How to do it...
How it works...
There's more...
Using the DB adapter to update a database table
Getting ready
How to do it...
How it works...
There's more...
A Note on the Detect Omissions Flag
The side effect of the Get Active UnitOfWork flag
Using DB adapter to poll for changes on a database table
Getting ready
How to do it...
How it works...
There's more...
What kind of database changes may be detected
What are the possibilities of marking processed rows
How to modify the query when polling the database
Options regarding runtime behavior
Using the AQ adapter to consume messages from the database
Getting ready
How to do it...
How it works...
There's more...
See also
Using the AQ adapter to send messages to the database
Getting ready
How to do it...
How it works...
There's more...
8. Communicating with SOA Suite
Introduction
Invoking a SCA composite synchronously from an OSB service
Getting ready
How to do it...
How it works...
There's more...
See also
Invoking a SCA composite asynchronously from an OSB service
Getting ready
How to do it...
How it works...
Invoking an OSB service from SCA composite synchronously
Getting ready
How to do it...
How it works...
Invoking an OSB service from SCA composite asynchronously
Getting ready
How to do it...
How it works...
9. Communication, Flow Control, and Message Processing
Introduction
Using Service Callout action to invoke a service
Getting ready
How to do it...
How it works...
There's more...
Using the Publish action to asynchronously invoke a service
Getting ready
How to do it...
How it works...
See also
Using the Java Callout action to invoke Java code
Getting ready
How to do it...
How it works...
There's more...
Using the Java Callout action with XMLBeans
Getting ready
How to do it...
How it works...
There's more...
Using custom XPath functions
Getting ready
How to do it...
How it works...
There's more...
Using the For Each action to process a collection
Getting ready
How to do it...
How it works...
See also
Using dynamic Split-Join to perform work in parallel
Getting ready
How to do it...
How it works...
See also
Using the Validate action to perform message validation
Getting ready
How to do it...
How it works...
Enabling/disabling a Validate action dynamically
Getting ready
How to do it...
How it works...
Creating private proxy service
Getting ready
How to do it...
How it works...
10. Reliable Communication with the OSB
Introduction
Configuring Retry handling in JMS
Getting ready
How to do it...
How it works...
There's more...
Enabling JMS message persistence
Getting ready
How to do it...
How it works...
There's more...
Working with global transactions and quality of service
Getting ready
How to do it...
How it works...
Using WS-Reliable Messaging (WS-RM) with WS transport
Getting ready
How to do it...
How it works...
There's more...
SOAP over JMS
Getting ready
How to do it...
How it works...
11. Handling Message-level Security Requirements
Introduction
Preparing OSB server to work with OWSM
Getting ready
How to do it...
How it works...
Configuring OSB server for OWSM
How to do it...
How it works...
There's more...
Securing a proxy service by Username Token authentication
Getting ready
How to do it...
How it works...
There's more...
Securing a proxy service by protecting the message
Getting ready
How to do it...
How it works...
There's more...
Securing a proxy service by using Username Token authentication and protecting the message
Getting ready
How to do it...
How it works...
Securing a proxy service by using certificate authentication and protecting the message
Getting ready
How to do it...
How it works...
See also
Securing a proxy service with authorization through Message Access Control
Getting ready
How to do it...
How it works...
There's more...
Using users, groups, and roles instead of individual users
Making a resource available only during working hours
Using JDeveloper to test a secured service
Getting ready
How to do it...
How it works...
There's more...
Implementing a JDeveloper test client for service with Username Token authentication
Implementing a JDeveloper test client for service with message protection
Calling a secured service from OSB
Getting ready
How to do it...
How it works...
There's more...
Making the business service work with the default credential
Keys used for signing and encrypting if a message protection client policy is configured on the business service
12. Handling Transport-level Security Requirements
Introduction
Using service accounts with OSB
Getting ready
How to do it...
How it works...
There's more...
Static service accounts
Mapping service accounts
Service accounts from XQuery
Configuring WebLogic network connection filters
Getting ready
How to do it...
How it works...
There's more...
Preparing OSB server to work with SSL
Getting ready
How to do it...
How it works...
Configuring a proxy service to use HTTPS security
Getting ready
How to do it...
How it works...
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜