Download as pdf or txt
Download as pdf or txt
You are on page 1of 215

1

For Oracle employees and authorized partners only. Do not distribute to third parties.
2008 Oracle Corporation Proprietary and Confidential
The following is intended to outline our general
product direction. It is intended for information
Safe Harbor Statement
p
purposes only, and may not be incorporated into any
contract. It is not a commitment to deliver any
material, code, or functionality, and should not be
relied upon in making purchasing decisions.
The development, release, and timing of any
features or functionality described for Oracles
f O
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
products remains at the sole discretion of Oracle.
2
Use of this Site (Site) or Materials constitutes agreement with the following terms and conditions:
1. Oracle Corporation (Oracle) is pleased to allow its business partner (Partner) to download and
copy the information, documents, and the online training courses (collectively, Materials") found on this
Site The use of the Materials is restricted to the non commercial internal training of the Partners
Oracle Training Materials Usage
Agreement
Site. The use of the Materials is restricted to the non-commercial, internal training of the Partner s
employees only. The Materials may not be used for training, promotion, or sales to customers or other
partners or third parties.
2. All the Materials are trademarks of Oracle and are proprietary information of Oracle. Partner or other
third party at no time has any right to resell, redistribute or create derivative works from the Materials.
3. Oracle disclaims any warranties or representations as to the accuracy or completeness of any
Materials. Materials are provided "as is" without warranty of any kind, either express or implied,
including without limitation warranties of merchantability, fitness for a particular purpose, and non-
infringement.
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
4. Under no circumstances shall Oracle or the Oracle Authorized Delivery Partner be liable for any loss,
damage, liability or expense incurred or suffered which is claimed to have resulted from use of this Site
of Materials. As a condition of use of the Materials, Partner agrees to indemnify Oracle from and against
any and all actions, claims, losses, damages, liabilities and expenses (including reasonable attorneys'
fees) arising out of Partners use of the Materials.
5. Reference materials including but not limited to those identified in the Boot Camp manifest can not be
redistributed in any format without Oracle written consent.
SOA 11g Foundation Bootcamp: Welcome! SOA 11g Foundation Bootcamp: Welcome!
Overview, Objectives, Logistics
Prasen Palvankar
Hemesh Surana
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
3
Your instructors
PrasenPalvankar
HemeshSurana
VMWare Image
Student Guide
Feedback form:
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Training objectives
SOA11g features and functions with little hands-on
About the SOA11g Foundation BootCamp: About the SOA11g Foundation BootCamp:
Target audience:
Presales and Implementation consultants
Objectives:
Provide enough knowledge to demo and present SOA 11g
Future:
Modular material, 2 days to 4 days depending on situation
To be packagedand delivered in the field bythe field To be packaged and delivered in the field, by the field
To be used as a blue print for Oracle University classes
To be ready before SOA Suite 11g GA
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
4
Lab topology
You will install on your laptop:
VMWare Player y
WinRar
IE 7.x
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
SOA Suite 11g Foundation Training
Agenda
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
5
Day 1
Start Duration Title Presenter
09:00 30 Welcome & content distribution
09:30 30 PO Processing Case Study overview
10:00 90 SOA/SCA Overview
11:30 30 EM Overview
12:00 1hr LUNCH
01:00 1hr Mediator, Adapters overview
02:00 4 hrs Lab Setup / Chapter 1-2-3 lab
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Day 2
Start Duration Title Presenter
09:00 60 BPEL, Human Workflow overview
10:00 2hrs Chapter .4-5-6 lab
12:00 60 LUNCH
01:00 30 Rules overview
01:30 2hrs Chapter 7-8-9 lab
03:30 30 OWSM Overview
04:00 1hr App. E lab(OWSM)
05:00 30 Exception Handling overview
05:30 30 OSB Overview
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
6
Day 3
Start Duration Title Presenter
09:00 60 App. D lab (fault)
10:00 60 App. J lab and install (OSB)
11:00 30 EDN Overview
11:30 30 App. F Lab (EDN)
12:00 60 Lunch
01:00 30 BAM Overview
01:30 150 BAM Lab
04:00 60 Wrap-up and Q/A/Open Discussion
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
SOA 11g Foundation BootCamp:
Use Case Overview
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
7
SOA 11g LABS Purchase Order
Processing
The purchase order details can come in from any
source (in our case a testing page)
the credit card status for the customer is validated
and if the credit card is good, the order continues.
An order for a large purchase price requires a manual
approval step.
The order is written to a text file to be processed by The order is written to a text file to be processed by
the fulfillment house.
For approved orders, the order is sent to the
fulfillment carrier.
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
8
SOA 11g LABS overview: core
e2e-105-POProcessing-01-Setup
e2e-105-POProcessing-02-DBAdapter
2 105 POP i 03 Fil Ad t e2e-105-POProcessing-03-FileAdapter
e2e-105-POProcessing-04-BPEL
e2e-105-POProcessing-05-HW
e2e-105-POProcessing-06-update
e2e-105-POProcessing-07-Rules
e2e 105 POProcessing 08 DT e2e-105-POProcessing-08-DT
e2e-105-POProcessing-09-J MSAdapter
e2e-105-POProcessing-A-Deploy
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
SOA 11g LABS overview: extras
e2e-105-POProcessing-B-Lifecycle
e2e-105-POProcessing-C-UnitTest
e2e-105-POProcessing-D-FaultHandling
e2e-105-POProcessing-E-OWSM
e2e-105-POProcessing-F-EDN
e2e-105-POProcessing-G-SDO
e2e-105-POProcessing-H-BAM
e2e-105-POProcessing-I-B2B
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
9
SOA 11g LABS Setup
e2e-105-POProcessing-01-Setup
Create soademo user and table for credit card check
Create soademoDatabase data source
Create demoFulfillmentQueue jms messaging queue
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
SOA 11g LABS DB Adapter
e2e-105-POProcessing-02-DBAdapter
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
10
SOA 11g LABS File Adapter
e2e-105-POProcessing-03-FileAdapter
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
SOA 11g LABS BPEL
e2e-105-POProcessing-04-BPEL
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
11
SOA 11g LABS BPEL
e2e-105-POProcessing-04-BPEL
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
SOA 11g LABS Human Workflow
e2e-105-POProcessing-05-HW
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
12
SOA 11g LABS Human Workflow
e2e-105-POProcessing-05-HW
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
SOA 11g LABS Meditor update
e2e-105-POProcessing-06-update
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
13
SOA 11g LABS Rules
e2e-105-POProcessing-07-Rules
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
SOA 11g LABS Rules: Decision Table
e2e-105-POProcessing-08-DT
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
14
SOA 11g LABS JMS Adapter
e2e-105-POProcessing-09-J MSAdapter
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Whats New in Oracle SOA Suite 11g
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
15
<Insert Picture Here>
SOA Technologies:
Quick recap
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
B2B
ESB
Connect
ADAPTERS
Basic Components of a SOA Infrastructure
Build/re-use Services
Web or Legacy Services
BPEL
Route & Transform
ESB & B2B
WEB
SERVICE
WEB
SERVICE
LEGACY
SYSTEM
RULES
ENGINE
Externalize business rules
RULES ENGINE
IF
IF
BPEL
Orchestrate
BPEL/BPM ENGINE
HUMAN
WORKFLOW
Involve human beings
HUMAN WORKFLOW
WEB
SERVICE
LEGACY
SYSTEM
Secure
GLOBAL SECURITY FRAMEWORK
Visualize
BUSINESS ACTIVITY
MONITORING
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
16
<Insert Picture Here>
O l SOA S it 11 Oracle SOA Suite 11g
Whats New?
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Problem statement
SOA tools have become more and more capable
SOA tools have also become more complex SOA tools have also become more complex
A flexible SOA requires a variety of tools, that can
operate independently of each other
This flexibility often comes at the price of usability
and maintenance complexity
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
17
Example: Order Processing
Task Product
Accept purchase order Web services binding p p
coming over SOAP
g
Route it for fulfillment ESB
Orchestrate fulfillment tasks BPEL
Request human approval Human Workflow
Externalize approval rules Rules
Log results to file File adapter
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Required Technologies
Design-time
metadata
Management
console
Runtime
ESB
BPEL PM
Rules
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
18
Collapsing DT, RT and M&M
Design-time
metadata
Management
console
Runtime
ESB
BPEL PM
Rules
Composite
Application
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Emergence of Service Platforms
SERVICE PLATFORM
11g
Integrated for ease-of-use
&optimized performances
Web Services
BPEL
ESB
10.1.3
10.1.2
& optimized performances
Yet, fully standards-compliant
No sacrifice on hot-pluggability
SCA
WSDL
CORBA
EAI
Messaging
J2EE
XSLT
XML
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
19
<Insert Picture Here>
Adopting
WebLogic Server
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
WLS Capabilities leveraged in SOA 11g
Installation and Configuration:
SOA domain can be created using WLS domain
configuration wizard g
multiple servers can be configured in a single pass.
Transaction Management: XA support and
recovery
Thread Management: leverages Work Manager API
Messaging: adoption of WLS J MS as default
messaging in addition to AQ J MS messaging, in addition to AQ J MS.
J2EE and Spring: all SOA engines are J 2EE
components or Spring beans. WLS has in-built
support for the Spring container.
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
20
Runtime HA Capabilities
Clustering
Easy SOA cluster setup using WLS configuration wizard
Based on zero-config Coherence infrastructure (vs J Groups)
Additi l SOA b fi d i WLS l Additional SOA servers can be configured using WLS console
J MS subsystem supports distributed destinations for load-balancing
across SOA servers
Failover
WLS provides XA based transaction recovery for SOA processes
SOA uses WLS Whole Server Migration as a failover strategy for
hardware and instance failures
RAC Support
WLS uses multi-data source to support RAC but does not support
FCF (fast-connection-failover).
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
<Insert Picture Here>
S i C t Service Component
Architecture (SCA):
key enabler of the Service
Platform
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
21
What is SCA?
Service Component Architecture:
language-neutral
component model
assembly model
Specifications backed by a growing number of
C
1 service
S S
R
properties
J ava interface
WSDL portType
Specifications backed by a growing number of
leading industry vendors
http://www.OSOA.org
Being standardized at OASIS, the international
open standards consortium
SCA terminology:
Composite: deployment unit
Service: entry-point into composite
Component: provides logic
C
2
wire
component
composite
reference
S
R R
Binding:
SOAP
J MS
J CS

Co po e t p o des ogc
Reference: refers to external services
Wire: connects services, components and
references no special semantic.
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
SOA lifecycle can be difficult:
Challenge
Many design tools to learn
Metadata fragmentation
How do we version a virtual
composite application?
Etc.
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
22
SOA Composite
SOA composite is a standards-based deployment unit
Leverages the SCA assembly model
Can mix variety of components: Mediator, BPEL,
Human Workflow, etc.
Mediator
service
reference
S S
R
properties
BPEL
WS
WS R S
R
R
BPEL
wire
SOA composite
R WS
S
R
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
SCA Composite Editor
SCA Composite Editor
Mediation Mediation
Web services
and adapters
Web services
and adapters
Palette of Service
Components
& Adapters
Palette of Service
Components
& Adapters
BPEL
orchestration
BPEL
orchestration
pp
Mediation Mediation
Business Rules Business Rules
Human Tasks Human Tasks
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
23
Distributed aspect of SOA can
have a negative impact on
Challenge
a e a egat e pact o
performance:
over the wire (SOAP/HTTP)
transmissions
marshalling/unmarshalling of
messages between engines messages between engines
Management complexity
Etc.
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
11g SCA Service Infrastructure
One unified infrastructure to manage
Application
composers
BPEL
Human
Task
Rules Mediation
Mediation
11g Service Infrastructure
Business
Rules
Mediator
Policy Manager
Optimized
binding
BPEL
Human
Workflow
Oracle Service Bus
Common JCA-based connectivity infrastructure
Repository
p
IDE
SCA Composite
SOA Composite Editor
BPEL
orchestration
Business
Rules
Human
Tasks
Web
services
and
adapters
BAM Oracle Service Bus
46
SOA
Operations
Web-based
console
BAM
B2B
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
24
S tti d i
Challenge
Setting and managing
security in a highly
distributed, heterogeneous
environment can be difficult.
Proliferation of security tools
and frameworks often leads to
security gaps.
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Mediator BPEL
Human
Task
Global Policy Management:
Oracle WSM Policy Manager
Clearly separates
process logic from
security concerns
Secures endpoints
Service Infrastructure
Policy Manager
Task
SOAP SOAP
Web Service Interceptor:
Authentication
Service Component
Interceptors:
Authorization
22 33 44
55 11
Web Service Interceptor:
User token insertion (such
as SAML)
Integrity & Confidentiality
(signatures,
Secures endpoints
Sets and propagate
identity
Authorization
Message Integrity &
Confidentiality
(signatures,
encryption/decryption)
Publish security
requirements as WS-Policy
in WSDL
HTTP/SOAP
message
HTTP/SOAP
message
encryption/decryption)
SSO
(Oracle Access
Manager & 3
rd
-
Party)
DB LDAP File
Java Platform
Security
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
25
A h M i ?!
Challenge
Asynchronous Messaging ?!
All I care about is business
events how can you make
this easier for me?
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Work with events not messaging infrastructure!
Declarative way to work with publish-subscribe
Offers rich subscription capabilities:
Event Delivery Network (EDN)
1. Namespaces
2. Events Names
3. Content-based XPath filters
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
26
H I t
Challenge
How can I get
complete end-to-end visibility
and increase my auditing
capabilities in such a
distributed environment?
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Monitoring fully-integrated in Fusion
Middleware Control
Service monitoring across all SOA components:
ESB, BPEL, Human Workflow, etc. , , ,
Integral part of Enterprise Manager FMW Control
Instances tracking (what happened when):
Each instance uniquely identified with ECID
Instances journey tracked through all SOA components:
ESB, BPEL, adapters, workflow,
Error hospital: to search manage resubmit failed Error hospital : to search, manage, resubmit failed
instances (including batch)
Can be used to execute and review unit tests
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
27
JEE
apps
Dashboards
SOA
apps
instances
Contextual
menu
Composite Composite
test page
pp
errors
FMW
Comp.
Navigation Navigation
tree
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Policy Management
Search for policies
Port dependency per policy
Customize out-of-box policies
Create new or like policies
Edit policies
Generate client policies
Export/import policies
Policy subject validation
54
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
28
H k f
Challenge
How can we make sense of
the ever-growing number of
events, and extract useful
information from the noise?
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Real-Time Process Agility
BAM CEP EDN
EDA delivers real-time event processing for monitoring, analyzing,
and acting on business process optimization.
BAM Dashboards
Mobile Devices
createSupplier
ADF page flow
and BC
event
event
ADF (active RCF &DVT) SOA composite
JMS
close loop
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
29
<Insert Picture Here>
S l U d P th Seamless Upgrade Path
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
10.1.3 11g Upgrade Path
Completely transparent and automated project
upgrade: simply open your project in
J Developer and re-deploy! J Developer and re-deploy!
J Developer
or command-line
11g SOASuite
3. deploy
1. open 2. save
11g composite project 10.1.3 ESB or BPEL project
11g SOA Suite
Server
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
30
<Insert Picture Here>
U M i S i User Messaging Services
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
User Messaging Services (UMS)
Provides SOA customers with rapid enablement for
innovative messaging services
Custom alerts
Multi delivery type interaction
Can deliver and receive messages from multiple
channels
SMS, IM, Email, Voice
Composition capabilities with SOA
Outgoingnotifications froma BPEL process Outgoing notifications from a BPEL process
Outgoing and incoming messages for tasks assigned to users
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
31
<Insert Picture Here>
Wh t l i ? What else is new?
Hundreds of new features
based on customers feedback
its not just about the platform it s not just about the platform
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Oracle SOA Suite 11g:
SOA Service Platform
Leverages SCA to deliver the industry first full Service
11
Platform:
Single deployment unit (SCA composite)
Single design-time environment
Single runtime
Single monitoring console
Reconciles service-orientation with eventing
Natural evolution from 10g, seamless upgrade path
Wealth of new features based on customers
feedback
22
33
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
32
H b i
Challenge
How can we bring
unit testing
to the world of SOA
composites?
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Unit Testing
10.1.3 BPELTest framework elevated to composite level
1. Define tests / asserts / emulations (J Developer)
2. Execute (SOAConsole or ANT) 2. Execute (SOAConsole or ANT)
3. Review results (EM or standard J Unit report)
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
33
Testing
Test different operations within WSDL
HTML or XML based input fields
Save tests for future use
Stress test an operation
65
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
SOA 10g to 11g Upgrade
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
34
<Insert Picture Here>
Upgrade:
Quick Overview
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
High level steps
Create 11g SOA install/domain and load balancer
from scratch
Migrate/Deploy applications to 11g
B2B Agreements
BAM Reports/Data Objects/Alerts
SOA J Developer projects
Configure 11g system from scratch
Migrate clients if necessary Migrate clients if necessary
Secure 11g system from scratch (example Identity
Management, OWSM policies)
Cutover to 11g production system
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
35
<Insert Picture Here>
BAM 11 U d BAM 11g Upgrade
Key Steps
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
BAM upgrade steps overview
RCU creates the schema for 11g BAM
Use Upgrade assistant tool to copy data Use Upgrade assistant tool to copy data
objects/reports/alerts from 10g BAM system database
to 11g BAM system database directly
10g Enterprise Link is no longer supported
Native support for J MS connectivity in 11g
Native support for ODI integration in 11g
Configure 10g SOA clients to talk to BAM 11g or
migrate 10g SOA clients to 11g.
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
36
<Insert Picture Here>
B2B 11 U d B2B 11g Upgrade
Key Steps
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
B2B upgrade steps overview
Apply MLR#10 to 10g B2B system.
Run a 10g java programto export agreements into a Run a 10g java program to export agreements into a
zip file.
RCU creates the schema for 11g B2B system.
Use the 11g Upgrade assistant tool to update the 11g
system database with the exported agreements.
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
37
<Insert Picture Here>
SOA 11 U d SOA 11g Upgrade
Key Steps
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
10.1.3 11g Project Upgrade Path
Mostly transparent project upgrade: Open your
10g Project or Application in J Developer, apply
any manual steps and re-deploy! any manual steps and re-deploy!
J Developer
or command-line
11g SOASuite
3. deploy
1. open 2. save
11g composite project 10.1.3 ESB or BPEL project
11g SOA Suite
Server
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
38
JDeveloper Upgrade
In-place upgrade of application/project.
Can upgrade any project not just SOA projects Can upgrade any project, not just SOA projects.
Backup of 10g project is created.
All HTTP WSDL references in project must be
accessible.
Log in /jdeveloper/upgrade/logs.
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Command Line Upgrade
Ant script available to upgrade SOA projects.
Cannot upgrade whole Applications. pg pp
Upgraded directory different than source directory.
Does not Upgrade .jpr files. Opening project in
J developer creates .jpr file.
Can merge multiple BPEL source directories to a
single upgraded target directory.
All HTTP WSDL references in project must be p j
accessible.
Log in /jdeveloper/upgrade/logs
Same codebase used for J Developer upgrade.
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
39
Manual steps
Strong attempt made to automate project upgrade as
much as possible given large differences between p g g
10g and 11g.
Not always possible.
A few things deferred due to time constraints.
Some manual steps. Refer to Upgrade Guide for
details.
Artifacts upgraded are BPEL processes ESB Artifacts upgraded are BPEL processes, ESB
services, Rules dictionaries, Human Workflow tasks,
Adapters. Some limitations apply.
Artifacts not upgraded are build files, Fault policies.
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Best Practices
If a composite references another composite in the migrating
application
Migrate/Deploy invoked composite first
Refer to project for abstract WSDL, and HTTP URL for concrete
WSDL.
Use MDS to share WSDLs, schemas across projects.
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
40
Client and Invoked Service Migration
Some 11g APIs are compatible with equivalent 10g
APIs, some are different.
Worklist APIs are compatible.
B2B APIs are compatible.
Custom Sensor APIs are compatible.
BPEL APIs are functionally roughly equivalent with signature
changes.
Rules SDK APIs are a functional superset.
11g uses 2005 ws-addressing. Need patch for 10g g g p g
BPEL client.
URLs in 11g has different syntax. (includes callback
URL used by invoked services).
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
BPEL instance Migration
No support on first release for BPEL instance
migration, or audit trail migration. Oracle investigating g , g g g
feasibility of instance migration.
Two choices for cutting over long running processes
to 11g.
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
41
Side by Side Upgrade
10g and 11g systems run side by side.
10g systemhas all long running processes in retired 10g system has all long running processes in retired
state so no new process instances can be created.
Clients are switched over to 11g.
10g system continues running until all callbacks arrive
to complete long running processes.
10g system is decommissioned.
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Grace period cutover
10g system has all long running processes in retired
state so no new process instances can be created. p
After a grace period, all 10g long running processes
are killed.
10g system is decommissioned.
11g system is brought up in production.
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
42
<Insert Picture Here>
11 S t 11g System
Configuration and
Deployment Upgrade
Overview
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Configuration/Deployment Upgrade
10g configuration files not automatically upgraded to
11g configuration files. 11g has to be configured using g g g g g
EM, J MX/Mbean APIs or WLST scripts instead.
SOA Composite properties can be customized in the
deployment plan.
Cannot automatically upgrade from 10g SOA
deployment plan to 11g deployment plan.
10g SOA deployment units cannot be upgraded to 10g SOA deployment units cannot be upgraded to
11g deployment units. Need to upgrade source
instead and generate deployment unit.
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
43
<Insert Picture Here>
S i 11 S t Securing 11g System
Key Steps
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Securing Human Workflow and BAM
Identity management and Human Workflow user
profile management in 11g is beyond the scope of this p g g y p
presentation. (refer OVD, OID, J PS, IdM, and HW SPI
documentation)
For BAM, new users are created in the WLS console.
BAM Administrator application is used to manage
application privileges for these users.
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
44
Securing SOA composites
OWSM Migration
11g SOA install auto-deploys 11g OWSM policy manager
10g OWSM policies do not migrate to 11g OWSM as they are
syntacticallydifferent Refer to OWSMguide for 10g policy to syntactically different. Refer to OWSM guide for 10g policy to
11g policy mapping.
If 10g BPEL/ESB is secured using OWSM agent, then
Theres no need for agent migration as agent is built-in the 11g SOA
runtime
Using J Dev/EM, attach 11g OWSM predefined policy to the migrated
SOA composite.
If 10g BPEL/ESB is secured using OWSM Gateway, then
Continue to use 10g OWSM Gateway till 11g Gateway is released.
O t t i 11 b ilt i t b tt hi 11 OWSM li i Or, start using 11g built-in agents by attaching 11g OWSM policies
to SOA composite.
10g OWSM Monitor functionality will be provided by EM SOA
Mgt Pack for 11g AppServer scheduled for release in CY 2010.
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
<Insert Picture Here>
10g/11g Interoperability
Overview
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
45
10g/11g interoperability
10g B2B interoperates with 11g SOA.
10g OWSMgateway interoperates with 11g SOA 10g OWSM gateway interoperates with 11g SOA.
11g SOA interop with 10g BAM is not certified.
EM 10g grid control for SOA 11g is CY 2010.
10g SOA interoperates with 11g BAM.
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
E t i M 11 f SOA Enterprise Manager 11g for SOA
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
46
Terms / Concepts
Farm
1 Domain +(possibly) OPMN components (p y) p
Target
A specific component within the Farm that can be EM
managed
soa-infra
The SOA container for composite applications
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Management Activities
Composite Lifecycle
Deploy / Un-deploy / Re-deploy, On / Off, Active / Retired
Instance Tracking
Monitor instance state, track message flow, view payloads
Fault Recovery
Retry / Resubmit faulted instances that are resubmitable
Performance Monitoring
Runtime statistics
Policy Attachment Policy Attachment
Attach / Detach policies to and from services or components
Configuration
soa-infra, service engine and endpoint properties
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
47
New Features / Concepts
Composite Instance State
Derived from state of component instances, must be enabled p ,
Audit-Level Inheritance
Service engines can inherit audit level from soa-infra
Role-Based Access
Administrator, operator and read-only roles
Advanced Configuration via MBean Browser
Commonfeatures on properties page Common features on properties page
Log Viewer
Filtered, searchable built-In log viewer
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Role-Based Access
Read-Only
No MBean operations p
Operator
Deploy / Un-deploy / Re-deploy
On / Off, Active / Retire
Attach / Detach policies
Delete instances
Composite level settings for audit trail, payload validation p g , p y
Administrator
All Operator privileges
Plus configuration of soa-infra and service engines
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
48
Layered Management
Enterprise Manager
Fusion Middleware Control
Everything mentioned
so far
WebLogic Server
Administration Console
Adapter config Adapter config
Data sources
JMS
JTA
Security Realms
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
SOA Suite:
Oracle Enterprise Service
Bus Roadmap Discussions
SOA Suite Product
Management team
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
49
Oracle Fusion Middleware
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Moving Forward10g to 11g
Oracle ESB
+
New features:
SCA Enabled
Rule Engine based
Dynamic Routing
Support for all
MEP Patterns
Java Callout
Converged Fault
Service Infrastructure
Business
Rules
Mediator
Policy Manager
Optimized
binding
BPEL
Human
Workflow
CEP
JCA
Service/Event Delivery API
10g
+
Converged Fault
Fwk
Eventing
etc
binding
Oracle Service Bus
Repository
AquaLogic
Service Bus
3.x
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
50
Evolution
Features added to OESB/Mediator
SCA alignment - All SOA components are part of single SCA alignment All SOA components are part of single
project
J ava Callouts
MEP patterns - Sync, Async, One way
Rule engine based Dynamic Routing
Support for Events
Mediator-As-a-Service Transformation, Validation etc.
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Evolution ( Contd)
Enhanced Features :
Consistent Fault Policy Fwk with BPEL Consistent Fault Policy Fwk with BPEL
Schematron validation
XPath based Assignment
DVM, Xref can be designed in DT
Streaming Attachment support
Large payload support Large payload support
Consolidated Console
Mbean based configuration
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
51
SOA 11g Unified Service Platform
Application
composers
Inline mediation
Transformations
Filtering
Service Infrastructure
Business
Rules
Mediator BPEL
Human
Workflow
CEP
Oracle Service Bus
JCA
SOA
Operations
Service virtualization
Gateway
Monitoring
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Seamless Upgrade Paths
Oracle ESB user communities have a
seamless upgrade path to the 11g SOA seamless upgrade path to the 11g SOA
platform:
OESB projects will automatically be upgraded to
Mediator composites
Adapter , Transformation artifacts will automatically
be upgraded
No deprecation, no product retirement
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
52
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Oracle Adapters 11G Oracle Adapters 11G
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
53
<Insert Picture Here>
Agenda
Adapter Architecture
Adapter details Adapter details
Q&A
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
A Service Oriented Architecture
Orchestrate processes, Mitigate errors, Define a canonical, Translate /
transform data, Address: Security / Compliance / Visibility / Management
Web Services
BAM
Trading
Partner
B2B Protocols
eBiz Suite Adapter
Siebel Adapter
Mediator
Human
Task
BAM
Business
Rules
BPEL
Process
B2B
PSFT Adapter SAP Adapter
Legacy
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
54
<Insert Picture Here>
SOA S it SOA Suite
Connectivity: Adapters
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Enterprise-strength infrastructure for
connectivity to enterprise information
systems (EIS).
Categories of adapters:
Oracle
OEM(Iway Attunity)
Oracle Adapters:
Unified Connectivity Framework
OEM (Iway, Attunity)
3
rd
-party (Partners) adapters co-sell
Single JCA framework for all adapters:
In-memory invocation
Transactional
SCA
J CA Binding
Hot Pluggable: Oracle adapters canbe
OracleAS Adapters
Legacy Legacy
Application Application
O l O l
Packaged Packaged
Application Application
BPEL PM
Technology Technology
OSB
PORTAL
Adapter
Design-time
WSDL
J CA
Native
Interface
BAM
Hot Pluggable: Oracle adapters can be
deployed on 3
rd
-party containers, along
with SOA Suite
Declarative configuration
Services & References
J2EE Application Server
(Oracle & 3
rd
party
Application Servers)
Oracle Oracle
Applications Applications
BPEL PM
J2EE
Applications
Mediator
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
55
Some of the Adapters Available for Oracle
SOA Suite
Databases
Oracle 8i and above
IBM DB/2
Informix
Clarion
Applications
Oracle
Applications
SAP R/3, mySAP
Peoplesoft
Technology
SOAP
HTTP, HTTP-S, REST
Email POP3, SMTP, IMAP
FTP, FTP-S
Clipper
Cloudscape
DBASE
Dialog
Essbase
FOCUS Data Access
Great Plains
Microsoft SQL Server
MUMPS (Digital Standard MUMPS)
Navision Financials (ODBC 3.x)
Nucleus
Paradox
Pointbase
JD Edwards
Siebel
Clarify
Lotus Notes
Ariba
AXIOM mx/open
Baan
BroadVision
Clarify
Commerce One
Hogan Financials
i2 Technologies
Lawson
Flat Files
JMS
Oracle AQ
IBM MQSeries
TIBCO Rendezvous
Socket
MSMQ
Legacy
CICS
IMS/DB
IMS/TM
Bundled
Sold as an option,
direct from Oracle
Available through
certifiedpartners Pointbase
PROGRESS
Red Brick
RMS
SAS Transport Format
Sybase
Teradata
Unisys DMS 1100/2200
UniVerse
Lawson
Livelink
Manugistics
Microsoft CRM
Vantive
Walker Interactive
Remedy
Salesforce.com
VSAM
ADABAS
Natural
Tuxedo
CA-Datacom
Screen Scraping
CA-IDMS
C-ISAM,D-ISAM,K-SAM,
QSAM
certified partners
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Adapters 11g
File Adapter
FTP Adapter FTP Adapter
Socket Adapter
J MS Adapter
DB Adapter
AQ Adapter
Oracle
Applications
Adapter
OEM Adapters
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
56
Adapter changes from 10.1.3.x 11g
10.1.3.x
Artifacts
11g
Artifacts
1. WSDL (Inline J CA Bindings)
2. XSD
3. Others (e.g Toplink xml files
with DB adapter)
Inbound J CA
Outbound using WSIF
Resource adapter XML File outside of
RAR. E.g. OC4J -ra.xml
EM based ra.xml file modification
Endpoint Properties throughindividual
1. ServiceName.wsdl
2. ServiceName.xsd
3. Adapter.jca
4. Others (e.g. .properties,
mappings.xml file
Runs on the SCA Infrastructure
Inbound Services
Outbound Reference
Abstract WSDL
J CA Bi di (SCA)
End point Properties through individual
consoles
J CA Binding (SCA)
Resource adapter file within RAR
Weblogic console based ra.xml
updates
End point properties through EM
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Development Lifecycle
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
57
E.g. of SOA Suite 10G Adapter wsdl
---------------
<message name="Root-Element_msg">
<part name="Root-Element" element="imp1:Root-Element"/>
</message>
<portType name="Read_ptt">
<operation name="Read">
<input message="tns:Root-Element_msg"/>
</operation>
</portType> </portType>
<binding name="Read_binding" type="tns:Read_ptt">
<pc:inbound_binding />
<operation name="Read">
<jca:operation
PhysicalDirectory="C:\Documents and Settings\vanand.ST-USERS\My Documents\"
ActivationSpec="oracle.tip.adapter.file.inbound.FileActivationSpec"
DeleteFile="true"
IncludeFiles="\.txt"
PublishSize="1000"
PollingFrequency="60"
MinimumAge="0"
OpaqueSchema="false" >
</jca:operation>
<input>
<jca:header message="hdr:InboundHeader_msg" part="inboundHeader"/>
</input>
</operation>
</binding>
<service name="ReadSampleFile">
<port name="Read_pt" binding="tns:Read_binding">
<jca:address location="eis/FileAdapter" UIincludeWildcard=".txt"/>
</port>
</service>
<plt:partnerLinkType name="Read_plt" >
<plt:role name="Read_role" >
<plt:portType name="tns:Read_ptt" />
</plt:role>
</plt:partnerLinkType>
</definitions>
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
11G Adapter Artifacts
WSDL
<?binding.jca MedFlatIn_file.jca?>
<wsdl:definitions name="MedFlatIn" targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/file/SOA-FlatStructure/MediatorFlatStructure/MedFlatIn%2F"
xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/file/SOA-FlatStructure/MediatorFlatStructure/MedFlatIn%2F"xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:imp1="http://xmlns.oracle.com/pcbpel/demoSchema/csv"xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/">
<plt:partnerLinkType name="Read_plt">
<plt:role name="Read_role">
<plt:portType name="tns:Read_ptt"/>
</plt:role>
</plt:partnerLinkType> </plt:partnerLinkType>
<wsdl:types>
<schema xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://xmlns.oracle.com/pcbpel/demoSchema/csv"schemaLocation="xsd/address-csv.xsd"/>
</schema>
</wsdl:types>
<wsdl:message name="Read_msg">
<wsdl:part name="body" element="imp1:Root-Element"/>
</wsdl:message>
<wsdl:portType name="Read_ptt">
<wsdl:operation name="Read">
<wsdl:input message="tns:Read_msg"/>
</wsdl:operation>
</wsdl:portType>
</wsdl:definitions>
Corresponding J CA File
<adapter config name="MedFlatIn" adapter="File Adapter" xmlns="http://platformintegration oracle/blocks/adapter/fw/metadata"> <adapter-config name=MedFlatIn adapter=File Adapter xmlns=http://platform.integration.oracle/blocks/adapter/fw/metadata >
<connection-factory location="eis/FileAdapter" UIincludeWildcard="*.*"adapterRef=""/>
<endpoint-activation portType="Read_ptt" operation="Read">
<activation-spec className="oracle.tip.adapter.file.inbound.FileActivationSpec">
<property name="UseHeaders" value="false"/>
<property name="PhysicalDirectory"value="/tmp/medflat/in"/>
<property name="Recursive" value="true"/>
<property name="DeleteFile" value="true"/>
<property name="IncludeFiles" value=".*\..*"/>
<property name="PollingFrequency" value="1"/>
<property name="MinimumAge"value="0"/>
</activation-spec>
</endpoint-activation>
</adapter-config>
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
58
11G Adapter Artifacts
Composite.xml (J CA Bindings)
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Generated by Oracle SOA Modeler version 1.0 at [2/23/09 3:02 PM]. -->
<composite name="MediatorFlatStructure"
revision="1.0"
label="2009-02-23_15-02-00_374"
mode="active"
state="on"
xmlns="http://xmlns.oracle.com/sca/1.0"
l "htt // 3 /2001/XMLS h " xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"
xmlns:orawsp="http://schemas.oracle.com/ws/2006/01/policy"
xmlns:ui="http://xmlns.oracle.com/soa/designer/">
<import namespace="http://xmlns.oracle.com/pcbpel/adapter/file/SOA-FlatStructure/MediatorFlatStructure/MedFlatIn%2F"
location="MedFlatIn.wsdl" importType="wsdl"/>
<import namespace="http://xmlns.oracle.com/pcbpel/adapter/file/SOA-FlatStructure/MediatorFlatStructure/MedFlatOut%2F"
location="MedFlatOut.wsdl" importType="wsdl"/>
<service name=" MedFlatIn" ui:wsdlLocation=" MedFlatIn.wsdl" >
<interface.wsdl interface=" http://xmlns.oracle.com/pcbpel/adapter/file/SOA-
FlatStructure/MediatorFlatStructure/MedFlatIn%2F#wsdl.interface(Read_ptt)" />
<binding.jca config=" MedFlatIn_file.jca" />
</service>
<componentname="MediatorFlat">
<implementation.mediator src="MediatorFlat.mplan"/>
</component>
<reference name=" MedFlatOut" ui:wsdlLocation=" MedFlatOut.wsdl" >
<interface.wsdl interface=" http://xmlns.oracle.com/pcbpel/adapter/file/SOA-
FlatStructure/MediatorFlatStructure/MedFlatOut%2F#wsdl.interface(Write_ptt)" />
<binding.jca config=" MedFlatOut_file.jca" />
</reference>
<wire>
<source.uri>MedFlatIn</source.uri>
<target.uri>MediatorFlat/MediatorFlat</target.uri>
</wire>
<wire>
<source.uri>MediatorFlat/MedFlatOut</source.uri>
<target.uri>MedFlatOut</target.uri>
</wire>
</composite>
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Oracle Adapters
New Features 11g
AQ Adapter
Completely re-designed
Multiple receiver threads (Inbound)
AQ J d t d
Socket Adapter
Wizard UI in J developer
Support one-way, request/response
C l t l h d h k
MQ Series
Integration with IMS and CICS
systems
Support for SSL
File/FTP Adapter
Polling from multiple directories
Support for Append in Ftp Adapter
Support for active/active failover
JMS Adapter
Map message support
Certification Active MQ, Weblogic
J MS, IBM MQ, IBM J MS OC4J
AQ J ar deprecated
New 11g J DBC.jar Based AQ
integration
UI Support enqueue/dequeue
DB Adapter
Stored procedure support for
DB2/AS400 Sybase
Complex protocol handshake
declaratively (using XSLT) or custom
J ava code
Supports multiple character encoding
Integrated with translator
infrastructure
Support for SSL
User Exits
RFH2 Headers (available in
10.1.3.x SOA also)
Inbuilt XA Support (available in
10.1.3.x SOA also)
Extensible Messaging Options
(Ability for user to configure the
Enqueue/Dequeue operation)
Support for active/active failover
Support for ftp servers running on
mainframes
Chunked Interaction a.k.a Outbound
De-batching
Support for huge file transfers (~gigs)
J MS (10.1.3.4), WLS remote
queues
Stream support for large payload
Requestor Pattern (Temporary
Queue)
DB2/AS400, Sybase
Improved Wizards
Distributed Polling (Cluster)
Huge huge (gigs) payload support
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
59
Describing the Adapter Framework
Oracle Adapter Framework is based on:
J 2CA standards for outboundand inbound communication J 2CA standards for outbound and inbound communication
SOA
Composite
Client
Outbound
EIS
JCA
adapter
S i
Reference
Oracle Weblogic Server 11g
JCA activation
agent
Client
EIS
JCA
adapter
Inbound
Service
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Large Document Handler
Mediator
S S
R
JCA
XML
Bi XML
XML
Most SOA products, XML and
messaging-oriented, do not
handle well large documents.
Oracle SOA Suite covers all use
cases :
BPEL
S
R R
Database
JCA
Binary XML
Binary XML
D
O
C
U
M
E
N
T
M
A
N
A
G
E
R
cases :
1. Scalable DOM
2. Adapter de-batching
(including XML)
3. Chunked Interaction for native and
XML data. Specially, XML Chunking
uses BEA pull parser.
4. Streaming XPath Functions
5. File-IO
6. Attachments
The File-IO and Attachments can be
used to transfer ~gigs without
getting into memory constraints.
Samples:
adapters\adapters-file-102-File Adapter XML Debatching
adapters\adapters-file-103-File Adapter Scalable DOM
adapters\adapters-ftp-101-FTP Adapter Debatching
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
60
B k Slid Backup Slides
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Database Adapter
Exposes database operations as
Services
Transactional
Relational XML mapping
Standards based (WSDL, XSD,
SQL 92)
Tables / Views, PL/SQL
Third Party Databases
Managed Mode
BAM
BPEL
OSB
WSIF
JCA
Persistence manager
Cache
Query
TX
Object data
conversion
Mappings
TopLink
Managed Mode
Custom SQL
Portal
Java EE application
Oracle Informix
DB2 MS SQL
Sybase
JDBC
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
61
AQ Adapter
Provides bidirectional integration
Supports both enqueue and dequeue operations, and canserve Supports both enqueue and dequeue operations, and can serve
as a producer as well as a consumer of AQ messages
Transactional
BAM
BPEL
WSIF
Consumer
OSB
Portal
Java EE application
Oracle Advanced
Queue
JCA
Native
format
translator
Producer
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
<Insert Picture Here>
SOA S it SOA Suite
Legacy Integration
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
62
Legacy Integration
Web Services
Legacy Adapters
Leverages and capitalizes on existing
legacy data
Incorporates mainframes into a
MQ Series
File Adapter
Socket
Tuxedo
Incorporates mainframes into a
service-oriented architecture
Rapid, user-friendly, modeling tool.
Convert definitions in PSB, DBD and
COBOL copy books into XSD/WSDL.
Concurrent processing for high
performance
Load-balancing and HA support
Support for native mainframe security
mechanisms RACF, ACF-2,
TopSecret
Change Data Capture*
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
<Insert Picture Here>
SOA S it SOA Suite
Applications Integration
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
63
Ebusiness Suite
Integration Repository - Local and Hosted
Catalog of all E-Business
Suite Integration Points
Source of truth for all
integration projects for integration projects for
Customers
Consultants & Integrators
Assurance that you are
using public supported
and certified interfaces
Powerful UI for searching
and viewing available
Interfaces
Better planning Better planning
Lower integration costs
http://Irep.oracle.com
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Leverages Integration Repository
Version aware design-
time
Content Meta Data
File
Packaged with
Adapter for 11.i.10
Live Connection and
Cache in R12
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
64
Connectivity:
eBusiness Suite Adapter - Service enables Oracle Applications
Version Awareness
Interfaces with Integration
Repository
Integrates via Open
Interfaces and Stored
Procedures for inserting
data into Oracle
Applications.
Bi-directional XML
Oracle Oracle
EE--Business Business
Suite Suite
Adapter Adapter
Workflow
BES
XML
Gateway
Interface
Tables,
Concurrent
Mgr
EDI Gateway
integration with XML and
EDI Gateway for
exchanging OAG based
XML/EDI documents.
Stored
Procedures
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
<Insert Picture Here>
SOA S it SOA Suite
Applications Integration
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
65
Peoplesoft Adapter Architecture
Comprehensive bi-directional support for
People Tools version 8.1.x and 8.4.x
Bi-directional interface capabilities to
Peoplesoft - Component Interface (CI), the
Integration Broker with Application
Adapter Adapter
JMS JMS
HTTP HTTP
FTP FTP
TCP/IP TCP/IP
J
C
A
W
S
I
F
BPEL PM
OSB
PORTAL
BAM
J2EE
Applications
Messages, and (starting with PeopleTools
8.42) the new SOAP to CI interface.
Support for custom Component Interfaces
(including custom ones) and custom
methods within Component Interfaces.
Support for guaranteed event delivery
can receive Application Messages via FTP,
HTTP, TCP/IP and JMS
User-friendly, modeling tool Application
Explorer
JOLT client
(PSJOA)
Component
Interfaces
Integration
Broker
S
O
A
P
Explorer
Metadata expressed in XSD/WSDL format.
PeopleTools PeopleTools
J2EE Application Server
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Siebel Adapter Architecture
Bi-directional support for
Siebel versions 6.0.3 till 8.x
Support for Siebel Business
Oracle
Adapter
For
Siebel
Object, Business Services and
Integration Objects
Interfaces via Java Data Bean
and COM Data Bean API
Support for guaranteed delivery
of Siebel events Files,
MQSeries, HTTP
D i i t ti f t Dynamic introspection of out-
of-the-box & custom Siebel
objects.
Schemas expressed as
XSD/WSDL
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
66
Native Integration with MQ Series
Leverages native MQ Series API's to
connect MQ Series
Support Native MQSeries Correlation
Oracle Adapters:
MQ Series Adapter
Highly scalable, and performant
Support MQ Native features like -
PAN and NAN
Message Grouping
Segmentation
Native MQ Functions
RFH2 Headers
OracleAS Adapters
Legacy Legacy
Application Application
O l O l
Packaged Packaged
Application Application
BPEL PM
Technology Technology
OSB
PORTAL
Adapter
Design-time
(JDeveloper)
WSDL
J CA
Native
Interface
BAM
Encodings
Priority, persistence, expiry
Various kind of reports e.g COA, COD
etc.
Global Transaction Support (XA)
J2EE Application Server
(Oracle & 3
rd
party
Application Servers)
Oracle Oracle
Applications Applications
BPEL PM
J2EE
Applications
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Oracle e-Business Suite Adapter:
A competitive differentiator
FEATURES Oracle
10g
iWay WebMethods
6.x
TIBCO
5.x
Librados
Version awareness & iREP
i t ti

integration
Expose Oracle Application
interfaces as Web Services

(proprietary)

(proprietary)

(proprietary)
Open Interfaces &
Concurrent Manager

XML & EDI Gateway
integration

Support for Stored
Procedure & Views

Integration with BES

Intrusive way of publishing
Events (Not recommended)

Built by E-Business Apps
Team

For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
67
Oracle SOA Suite Adapter Partners
Adapters co-sold with Oracle and supported by partner
14 adapters specializing
in mainframe
34 terminal emulation
transaction adapters
14 adapters for
z/OS, MVS and VSE
in mainframe
connectivity (JCA
binding with SOA Suite)
transaction adapters
(SOAP over http binding
with SOA Suite)
platforms (SOAP
over http binding
with SOA Suite)
124 adapters spanning
enterprise applications,
data sources, legacy
systems (SOAP over http
binding with SOA Suite)
145 adapters spanning
enterprise applications,
data sources
specializing in small to
mid-size applications
(SOAP over http binding
with SOA Suite)
36 adapters for
unstructured data
such as PDF, HL7 etc.
(Translator adapters)
with SOA Suite)
34 adapters (JCA binding
with SOA Suite)
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
JCA Transport + Seven Adapters
J CA Transport +Adapter
Certifications
Packaged with OSB install
OSB 10.3.1
AQ
Database
EBusiness Suite
Packaged separately
SAP
PeopleSoft
Siebel Siebel
J D Edwards
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
68
SOA Foundation Training:
BPEL and Human Workflow
<Insert Picture Here>
Introduction to BPEL
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
69
What is BPEL?
Business Process Execution Language
XML-based markup language for composing a
Gartner believes that BPEL will
emerge as the leading industry
standard for Web service
set of discrete services into an end-to-end
process flow
10+years of research and development from
Microsoft (XLANG) and IBM (WSFL, FDML)
Consumes and orchestrates WSDL-based
services
The glue that binds web services
orchestration and coordination
of business processes.
- David Smith, Research Vice President
and fellow, Gartner
BPEL is the future of the
integration space in my
viewWhy? Because the value is
so much higher when you provide
not only a way to integrate
BPEL processes expose a WSDL interface
A process flow is automatically a service
not only a way to integrate
applications, but also a way to
create services from them and put
them into business processes
- John Rymer, Vice President, Forrester
Research, Inc.
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Strengths of BPEL
Separation of business process definition from
implementation
Orchestrates services
Abstracted from changes in services
Designed for long running processes
Built-in support for asynchronous interaction
Fault handling and compensating transactions
Extensible Extensible
Parallel flows
Conditional branching
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
70
Based on standards
Uses and extends the web services model
WSDL for defining the interface
XML andWSDL typed variables XML and WSDL typed variables
SOAP for communication
XML Schema for definitions
XPath for data querying
XSLT for transformations
WS-Addressing
WSIF in 10.1.3, Service Infrastructure in 11
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
And open
Web services / SOAP interface
Public J ava API Public J ava API
Used internally as well
Example: Console
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
71
BPEL by example
start
Customer
10:00am
Get cust info
BPEL Flow
Handle customer
<process>
<invoke>
<faultHandlers>
<variable>
<process>
<variables>
<partnerlink>
<sequence>
<invoke>
<fl >
Service
United
Load
?
Send RFQ
Receive quote
Send RFQ
Receive quote
Select best vendor
Star
Loan
data exception
<partnerLink>
<switch>
<flow>
</flow>
<partnerLink>
<partnerLink>
<receive>
<invoke>
<flow>
<sequence>
<invoke>
<receive>
</sequence>
<sequence>
<invoke>
<receive>
</sequence>
</flow>
<switch>
<case>
<sequence/>
</case>
end
1:00am
</process>
</case>
<case>
<sequence/>
</case>
<switch>
</sequence>
</process>
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
BPEL, The Orchestrator
PORTAL
Web Service
???
J2EE
J ava Service
ERP
SAP O l t
Database
Stored Procedures
BPEL
IU
TOMCAT
SAP, Oracle, etc.
User Tasks
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
72
Architecture and Deployment
Mediation
BPA Suite
Process
Modeller
BPEL
Business
Rules
Mediator BPEL
Human
Workflow
SCA Composite
SOA Composite Editor
BPEL
Human
Task
Rules
BPEL
orchestration
Business
Rules
Human
Tasks
Web
services
and
adapters
Mediation
SAR
11g Service Infrastructure
Policy Manager Common JCA-based connectivity infrastructure
Dehydration
Store
MDS
Web-based
console
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Design view and Source view
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
73
Features: BPEL PM 11g
Scalable DOM
Reduced memory consumption
Better performance for large payloads
Entity Variables
C
Transformations
Multiple input sources
Complex constructs: any, xsi:type
Substitutions
Abstract types and elements
Claim-check concept
Fetching of data is deferred until needed
Interfaces:
ADF-BC (SDO data), RDBMS
Runtime
In-memory state (Fusion CRM)
RAC integration enhancements
Unified error hospital
EDN Support
BPEL can publish and subscribe to events
directly
Migration Tool
Migrate existing BPEL processes to
composite application
Ability to migrate running instances to new
process versions
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
<Insert Picture Here>
Human Worflow
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
74
Human
Workflow
Service
WSDL
Workflow Architecture
JDeveloper
Task Metadata Task Metadata Task Metadata
BPEL Designer BPEL Designer
Custom
App
Assign
Tasks
Task
Complete
BPEL Process
WSDL
Interface
C S
Worklist
Application
Update
Task
Supervisor
Work Assignee
Process Owner
Service
Component Services
Task Management Service
Task data, forms, Attachments
Task Routing Service
Assignment, Dispatching
User Metadata Service
Rules, Work queues
Identity Service
Users, Roles
Worklist Service
Task query, Reporting
Notification Service
Email, Wireless
Consumer
(Non-BPEL)
J ava
API
Java
POJO / EJB
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Summary of Workflow Features
Task Assignment
Users
Roles
Groups
Task routing
Declarative patterns
Ad-hoc routing
Document based routing
Complex routing with business rules
Notifications Management Rules Notifications
Declarative specification of:
When assigned, expired,
Who assignee, manager,
Email, Voice, Pager, SMS
Management Rules
Escalation, Expiration
Delegation, Vacation rules
Work load balancing
Reports, Audit Trails,
Productivity and distribution
reports
Complete history and audit
trail
Worklist Application
Profile based assignee,
supervisor, group owner,
process owner
Available as portlets
C l t l t i bl Completely customizable
Web Services and J ava API
Identity Management
Roles and Org. Hierarchy
Integrates with OID, LDAP,
J AZN; custom plug-ins
Task Forms
ADF based task forms
Auto-generated, user defined
Task Data controls
MS Office integration
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
75
Features: BPEL PM 11g - Workflow
ADF task flow for task forms
ADF enables sophisticated task display
forms using RCF components, can create
multi-page forms
Auto generate ADF task forms.
New Out of the box Worklist application
Digital signatures for tasks
Use digital certificates to sign task content
when taking actions on a task
MS Office/Excel integration
Use Excel to initiate workflows
Excel to access worklist tasks
New Out of the box Worklist application
Based on rich client framework (J SF)
Significant usability enhancements
New Identity management layer
Use of J ava Platform security for user/role
lookup. Support for OVD (multiple sources
for user/group attributes)
Rule based WF routing
Enables complex task routing scenarios
using business rules. Can go forward or
Access/Visibility policies
Restrict who can see and edit different parts
of the task
Restrict actions performed by participants
Task service enhancements
Support for to-do tasks
Support for sub-tasks
Task reporting enhancements
End-to-end instance tracking of BPEL,
mediator, Workflow
backward n levels in routing chain
Notification enhancements
Reliability enhancements - Detection of
auto-reply, badly formatted responses, spam
User preferences for various devices for
different types of notifications
New in 11g: IM
New report for task productivity and
assignee time distribution
Workflow engine dashboard
Workflow component view in SOA console
Detailed performance metrics
Error reporting
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Oracle Business Rules
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
76
Oracle Business Rules Overview
True inference rules engine (based on J ess)
Available and usable independent of Oracle
SOA/BPM
Tight integration with Oracle SOA/BPM
Usually positioned and used as part of SOA/BPM
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Oracle Business Rules 10.1.3
Rules SDK
R l R it
Oracle Rule Author Custom Author
Custom Author
RETE Rules Engine
C A
Java Facts XML
Facts
D
e
c
i
s
i
o
n
S
e
r
v
i
c
e
BPEL
Java
Application
/** @Foo **/
method Foo(....)
{
Rules Repository
R
u
l
e
s

A
P
I
(
J
S
R

9
4
)
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
77
TWC enables customer self-service
using Oracle SOA Suite
COMPANYOVERVIEW
2nd largest multiple service provider; owns and manages
advanced, well-clustered cable systems in the United States
Industry: Communication
RESULTS
Application to allow Business Class Phone
customers to manage their accounts online
Employees: 45000+
Revenue: $15+Billion (US)
CHALLENGES/OPPORTUNITIES
Provide UniformInterfaces to allow Billing/Provisioning System
Automation
No Billing/Provisioning process is performed the same way across
Divisions (even amongst divisions using the same systems).
Lack of robust billing system vendor developed automation
interfaces
SOLUTIONS
Fusion Middleware: SOA Suite (Business Rules, Registry, BPEL
PM)
customers to manage their accounts online
Add three-way calling, call-waiting, etc.
Allows a user to upgrade their account from
RoadRunner standard to premium
Increased revenue for the business through
reduced call center call volume and
elimination of customer cancellation
opportunities
Oracle SOA Suite to automate provisioning process by
orchestrating both legacy billing systeminterfaces, and custom
developed adapters
Oracle Rules to Allow biz rule changes by non-dev staff without
code/build/deploy/test overhead
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Apollo Group
Apollo Group is leading provider of higher education
programs for working adults
Highly manual way of determining student eligibility for
funds
Highly complex workflow with varied business rules and
Opportunities & Challenges
Process Automation
Apps Integration
Oracle SOA Suite to orchestrate additional fund processing between e-Business Suite,
PeopleSoft and various other applications
Rules Engine to evaluate student eligibility, calculate awards, and route exceptions
g y p
multitude of applications (PeopleSoft, e-Business Suite)
Need to implement solution and process entire student
population in 4 months
Solution
Results
Automated entire student fund processing and certified 50,000+ students providing
millions in financial assistance
600% ROI over a four month time frame
Rules Engine allowed for separation of business process from business rules, thereby
leading to a cleaner, more flexible architecture
Results
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
78
Oracle Business Rules 11g
Easier to use
Date, Time, Effectivity
Aggregates
Decision Tables
Dictionary Links, and many more
Web based business user authoring (R1+)
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Business Rules in SOA Composite
Different Usage Scenarios
Stand Alone
From Human Task
From BPEL From BPEL
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
79
Tight Integration with BPEL
Create rule
dictionary from
ithi BPEL within BPEL
Leverage BPEL
variables and
project schemas
Dictionary
completely setup
for writing rules
i.e. facts created,
t etc.
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Simple to Write Rules
Simple mode for if-
then rules
th i authoring
Simple to create
complex conditions
Nested
conditions
change from
and to or
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
80
Date and Time Support
Rule Activation and
Effective Dates
Mark rules as
active/in-active
Specify periods
when rule is
effective
Date and Time based
rules
Date comparisons
Current Date
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Aggregates
Example: If an Order
has more than 5 items
ith i >1000 with price >1000,
require manual
approval
Out-of-box
aggregation functions:
count, average,
minimum, maximum,
sum, collection
C t ti Custom aggregation
function
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
81
Decision Tables
If CurrentDate.date = During Sale and
CustomerOrder.vipStatus = Platinum or Silver and
CustomerOrder.totalAmount >= 700
Then Discount = 15 and status = APPROVED
List of Values or Ranges
Set of Values or Ranges to compare with
Resolve overlap between R1 and R3
by overriding R3 with R1
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Decision Function
Simplifies exposing rules to
be invoked as Decision
S i th i Service or otherwise
Sequence rulesets and
functions declaratively
Functions are especially
useful in doing pre and
post processing
Asserts inputs and returns
outputs
Provides validations
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
82
Rules Testing
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Many More Features
Dictionary Links Spread rules across dictionaries for Dictionary Links Spread rules across dictionaries for
reuse and access control
Decision Functions Create rule flows
More
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
83
84
85
10.1.3 11g Upgrade Path
Completely transparent and automated project
upgrade: simply open your project in
J Developer and re-deploy! J Developer and re-deploy!
J Developer
or command-line
11g SOASuite
3. deploy
1. open 2. save
11g composite project 10.1.3 BPEL project or Rule Dictionary
11g SOA Suite
Server
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
86
SOA 11g Foundation Training:
Managing the lifecycle of a SOA composite
SOA lifecycle: available tools
built-in support in JDeveloper for version control
systems such as Subversion.
A variety of deployment methods: A variety of deployment methods:
from J Developer, the development environment
from Enterprise Manager, the management & monitoring
environment
from scripts or command-line with ANT or WLST/Python
ability to simultaneously deploy multiple versions
of a given composite, and specify a default version of a given composite, and specify a default version
configuration plans to customize environment-
specific values
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
87
Versioning SOA with JDeveloper
All SOA artifacts are
text-based and
easily versioned
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Using config plans to adapt to various
environments
SOA config plans can adjust environment-specific
parameters p
Deploy to a new environment without changing core
composite definition
C \t /d t / i htt //d b 7001 htt //i 7101 h t d h d
PRODUCTION DEVELOPMENT
C:\tmp /data/receive http://dumbo:7001 http://ironman:7101 schema=storders schema=dev
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
88
Anatomy of a SOA config plan
2 main sections:
<composite name="POProcessing">
<searchReplace>
<search>8888</search>
<replace>8889</replace>
<searchReplace>-->
</composite>
<wsdlAndSchema
<composite/>
To operate substitutions
on anything in
composite.xml
dlA dS h /
<wsdlAndSchema
name="WriteApprovalResults_file.jca">
<jca:property name="PhysicalDirectory">
<replace>c:\tmp\out</replace>
</jca:property>
</wsdlAndSchema>
<wsdlAndSchema/>
to operate substitutions
on .xsd, .wsdl and .jca
files
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
What can be modified with a
configuration plan?
SOA composite file (composite.xml): any property
composite properties composite properties
service properties
Reference properties
binding properties
JCA adapter files: any property
XSD files: schemaLocation attribute of an include, import, and
redefine
WSDL files: location attribute of an include WSDL files: location attribute of an include
Policy references for the following:
Service component
Service and reference binding components
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
89
2 main use cases
Developer is aware of what properties will need to be adjusted
and explicitly surface these in composite.xml
Administrator simply needs to update these properties in the
l h i i
11
plan she is given
PROs: controlled, well-targeted adjustments
CONs: developer needs to foresee all potential changes
Developer is not involved at all.
Administrator performs global searches and replaces in all
22
Administrator performs global searches and replaces in all
files (not just composite.xml)
PROs: developer can remain blissfully unaware of deployment
CONs: administrator needs to proceed with more caution
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Command-line operations
ANT
t il l
WLST
deployComposite
ant-sca-compile.xml
ant-sca-deploy.xml
ant-sca-mgmt.xml
ant-sca-package.xml
ant-sca-test.xml
ant-sca-upgrade.xml
ant-scac xml
p y p
undeployComposite
startComposite
stopComposite
activateComposite
retireComposite
assignDefaultComposite
attachPlan
extractPlan
generatePlan
ant-scac.xml
ant-scap.xml
ant-scatest.xml
g
validatePlan
scac_setProp
scac
validateTask
scap
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
90
Lifecycle scenario actors and tools
Development
machine
test
Test
machine
test
Production
server
File system
Open
Create dev config plan
Create dev config plan
Deploy
(from JDEV)
Check in
JDev project
SVN
JDeveloper
Check out
Create test config plan
Command
line
Compile
Package
Deploy
(with ANT)
Check in SAR
Check in test
config plan
SVN
Enterprise
Manager
Check out SAR
Create production config plan
Deploy
(from EM)
TEST PRODUCTION DEVELOPMENT
File system
SVN
dev
config
plan
JDev
project
test
config
plan
SAR
archive
SVN
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Lifecycle lab
From J Developer:
Surface binding properties in composite.xml
Generate/validate DEV config plan
Deploy attaching the config plan Deploy, attaching the config plan
From the command-line:
Compile and package a SAR
Generate new TEST config plan
Edit config plan to change location file adapter writes to
Validate plan
D l hi TEST fi l Deploy, attaching new TEST config plan
From EM:
Deploy ,attaching a PROD config plan
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
91
Lifecycle scenario lab
Development
machine
test
(simulated)
Test server
test
(simulated)
Production server
File system
Open
Create dev config plan
Create dev config plan
Deploy
(from JDEV)
JDeveloper
Get JDev project
Create test config plan
Command
line
Compile
Package
Deploy
(with ANT)
Save SAR
Save test
config plan
Enterprise
Manager
Get SAR file
Create production config plan
Deploy
(from EM)
TEST PRODUCTION DEVELOPMENT
File system
dev
config
plan
JDev
project
test
config
plan
SAR
archive
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Fault Handling
92
Challenges
Need for reliable SOA
Higher degree of complexity Receive
Sales
DB
Duplicate
number!
g g p y
Reuse impact
Handle all type of exceptions
Anticipated
Unexpected
Reduce Complexity
Component specific fault handling
Invoke
Receive
DB
Invoke
Receive
Router Billing
number!
Component specific fault handling

For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Categories of Faults
There are two categories of faults:
Business faults
Runtime faults (or technical or system faults)
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
93
Business Faults
Application-specific
Business logic decides how to handle fault
Anticipated errors: failures in business state, input
data inconsistencies, exceptional states
Examples:
Invalid account number submitted
Credit limit exceeded
Outside allowable date range
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Business Faults
Definition
Defined in service WSDL
Service designer defines message structure for the fault g g
messageType defined in WSDL
Example WSDL:
<?xml ver si on=" 1. 0" encodi ng=" UTF- 8" ?>
<def i ni t i ons name=" Negat i veCr edi t Faul t " >
<message name=" Cr edi t Rat i ngSer vi ceFaul t Message" > <message name Cr edi t Rat i ngSer vi ceFaul t Message >
<par t name=" det ai l " el ement =" Negat i veCr edi t Faul t Det ai l s" / >
</ message>
</ def i ni t i ons>
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
94
Runtime Faults
Also known as technical or system faults
Runtime faults
(remoteFault, bindingFault, etc.) - unexpected
I f t t f lt Infrastructure faults
Service down, network outage, connection timeouts
Data format errors
Inappropriate data structure, corrupted message
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
<Insert Picture Here>
BPEL F lt BPEL Faults
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
95
Standard BPEL Faults
BPEL Standard Faults namespace:
http://schemas.xmlsoap.org/ws/2003/03/business-process/
There are 10 standard Faults:
selectionFailure
conflictingReceive
conflictingRequest
mismatchedAssignmentFailure
joinFailure
Standard faults are defined as follows:
Typeless meaning they do not have associated messageTypes
forcedTermination
correlationViolation
uninitializedVariable
repeatedCompensation
invalidReply
Typeless, meaning they do not have associated messageTypes
Not associated with any WSDL message
Caught without a fault variable:
<cat ch f aul t Name=" bpws: sel ect i onFaul t " >
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Runtime Faults
remoteFault
A remoteFault is thrown inside an <invoke>activity
It is thrown because the invocation fails It is thrown because the invocation fails
For example, a SOAP fault is returned by the remote
service
Fault Code Description of Fault
ConnectionRefused Remote server is unavailable
WSDLReadingError Failed to read the WSDL
GenericRemoteFault Generic remote fault
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
96
Runtime Faults
bindingFault
A bindingFault is thrown inside an <invoke>activity
A bindingFault is not retryable
This type of fault usually requires human intervention
Fault Code Description of Fault
VersionMismatch The processing party found an invalid namespace for the SOAP envelope element.
MustUnderstand An immediate child element of the SOAP header element that was either not understood
or not obeyed by the processing party contained a SOAP MustUnderstand attribute with a
value of 1
Client.GenericError Generic error on the client side
Client.WrongNumberOfInputParts Input message part number mismatch
Client.WrongNumberOfOutputParts Output message part number mismatch
y y
Example: The WSDL of the process fails to load
Client.WrongTypeOfInputPart Input message part type error
Client.WrongTypeOfOutputPart Output message part type error
Server.GenericError Generic error on the server side
Server.NoService Server is up, but there is no service
Server.NoHTTPSOAPAction Request is missing the HTTP SOAP action
Server.Unauthenticated Request is not authenticated
Server.Unauthorized Request is not authorized
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Runtime Faults
replayFault
A replayFault replays the activity inside a scope
At any point inside a scope this fault is bubbled up to At any point inside a scope, this fault is bubbled up to
the scope
Oracle BPEL Server then re-executes the scope from
the beginning
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
97
Implementing Faults
Faults occur when
a <throw>activity is used to throw a specific fault y p
you invoke a partner link that returns a fault
In addition, runtime faults can be thrown by the
underlying framework into a BPEL process
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Throwing Faults
Within the same process
Use <throw>activity to throw a fault
A business or runtime fault can be caught with a
faultHandler using the faultName and a faultVariable
<t hr ow name=" t hr ow_1" f aul t Name=" Negat i veCr edi t " f aul t Var i abl e=" f aul t Var " / >
<cat ch f aul t Name=" ns1: f aul t Name" Faul t Var i abl e=" var Name">
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
98
Runtime Faults
Catching Runtime Faults
BPEL runtime faults are caught as a named BPEL fault
The bindingFault and remoteFault can be associated with a
message. This enables the faultHandler to get details about
the faults
Example
Import the following into your process WSDL:
\ \ \ \ HOME\ bpel \ syst em\ xml l i b\ Runt i meFaul t . wsdl
Declare a variable with messageType bpelx:RuntimeFaultMessage
Catch it:
<cat ch f aul t Name=" bpel x: r emot eFaul t " f aul t Var i abl e=" var Name" >
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
<Insert Picture Here>
M di t F lt Mediator Faults
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
99
Mediator Faults
Fault Groups
TYPE ALL all mediator faults _
TYPE_DATA Data related faults
Assignment, Filtering, Transformation & Validation
TYPE_METDATA Mediator metadata related faults
Filtering conditions, transformation metadata, mediator
metadata validation
TYPE_FATAL fatal errors
DB related, Cache related, error handling, SOA
Infrastructure related, messaging, transaction etc.
TYPE_TRANSIENT errors that can be recovered
Infrastructure related, messaging related
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Fault Handling Strategies
Business Faults
Handled by business process or service as part of business
logic
Actions depend on business logic (meaning of the fault), case
by case implementation
Rich BPEL support (catch blocks, compensation handlers)
Technical (Runtime) Faults
Actions from the same set (retry, abort, manual intervention)
Handling in process =>repeated code in all processes, hard
to maintain
Error Hospital concept =>specialized handling process,
requires common code in all processes
Engine level fault handling
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
100
<Insert Picture Here>
F lt M t F k Fault Management Framework
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Fault Management Framework
Policy Driven Fault Handling
Introduced in SOA Suite 10.1.3.3
Pre-10.1.3.3implicit error handling coded into the Pre 10.1.3.3 implicit error handling coded into the
process
Painful reusability
Clutters up process map
Available in SOA Suite 11g with enhancements
Mediator Faults
Adapter Faults Adapter Faults
BPEL Faults
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
101
Fault Management Framework
Policy Driven Fault Handling
Externalize your error handling
Policy-driven
Intended for technical faults
(but handles business faults as well)
Engine level
No impact on BPEL process design
No impact on process in runtime (fault is isolated from process)
XML-based fault policies
Conditions for faults (fault name, XPath on fault content)
S t f ti ( t h i t ti l th f lt Set of actions (retry, human intervention, replay scope, rethrow fault,
abort, custom J ava action)
Centrally managed
Manual resubmission supported through Enterprise Manager
console
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Fault Management Framework
Policies
Retry
Abort
Human Intervention
Custom Java Action
etc...
Actions
Intercepts faults before fault handler
Fault Policy Framework
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
102
Fault Handling Policy
Maps faults to actions
Specify fault by QName
e.g., bpelx:remoteFault, medns:mediatorFault
Specify criterea with XPath
Query fault code, details, etc
Specify action to be performed
Specify policies at different levels:
Composite
Component Component
Overrides any fault handling in the BPEL process
Defined in fault-policies.xml in the same directory as composite.xml
Can also be stored in the MDS and referenced in composite.xml useful
if standard policies across SOA applications
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
XML for Fault Handling Policy
fault-policies.xml
Policy ID
<?xml version="1.0" encoding="UTF-8"?>
<faultPolicies>
f ltP li i "2 0 1" id "CRM S i F lt "
XPath Expression
Fault Name
<faultPolicy version="2.0.1" id="CRM_ServiceFaults"
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns="http://schemas.oracle.com/bpel/faultpolicy"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Conditions>
<faultName xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
name="bpelx:remoteFault">
<condition>
<test>$fault.code="WSDLReadingError"</test>
<action ref="ora-human-intervention"/>
Action Reference
</condition>
<condition>
<action ref="ora-retry"/>
</condition>
</faultName>
</Conditions>
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
103
XML for Fault Handling Policy
fault-policies.xml
Action ID, referred from Condition
<Actions>
<Action id="ora-rety">
<retry>
<retryCount>3</retryCount>
<retryInterval>2</retryInterval>
Action specification
<retryInterval>2</retryInterval>
<exponentialBackoff/>
<retryFailureAction ref="ora-java"/>
<retrySuccessAction ref="ora-java"/>
</retry>
</Action>
<Action id="ora-rethrow-fault">
<rethrowFault/>
</Action>
P ti
Properties
<Properties>
<propertySet name="propSet1">
<property name="server">production</property>
</propertySet>
</Properties>
</Actions>
</faultPolicy>
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Recovery Actions
Retry
Retries failed operation #times
with specified wait time,
<Action id=" ora-retry" >
<Retry>
<retryCount>3</retryCount>
<retryInterval>2</retryInterval>
<exponentialBackoff/>
exponential back off, retry failure
action, multiple WSDL locations
Human Intervention
Console based recovery,
possibilityof changingvalues of
<retryFailureAction ref=" ora-java" />
<retrySuccessAction ref=" ora-java" />
</Retry>
</Action>
<Action id=" ora-human-intervention" >
<humanIntervention/>
</Action>
possibility of changing values of
component variables
Abort process
<Action id=" ora-terminate" >
<abort/>
</Action>
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
104
Recovery Actions
Replay scope
Throws replay fault, which
triggers replay of enclosing
<Action id=" ora-replay-scope" >
<replayScope/>
</Action>
scope
Rethrow fault
Throws fault into the process
instance, which can handle it
J ava action custom J ava
<Action id=" ora-rethrow-fault" >
<rethrowFault/>
</Action>
<Action id=" ora-java" >
<javaAction className=" mypackage.myClass"
defaultAction=" ora terminate"
code called
Code can perform additional
tasks and select recovery
action
defaultAction= ora-terminate
propertySet=" propSet1" >
<returnValue value=" RETHROW"
ref=" ora-rethrow-fault" />
<returnValue value=" MANUAL"
ref=" ora-human-intervention" />
</javaAction>
</Action>
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Java Action
Implements IFaultRecoveryJavaClass interface
public interface IFaultRecoveryJavaClass {
public void handleRetrySuccess(IFaultRecoveryContext ctx );
public String handleFault(IFaultRecoveryContext ctx );
}
handleRetrySuccess is invoked upon a successful
retry attempt. The retry policy chains to a J ava action
on retrySuccessAction
handleFault is invoked to execute a policy of type
javaAction
f f Typically handles side tasks: notifications, fault
logging and extended decisions about recovery action
Executed in EJ B context within composites
transaction
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
105
Policy Bindings
Associates the policies defined in the fault policies file
with
SOA composite application
Components (BPEL, Mediator etc)
Defined in fault-bindings.xml
<?xml version="1.0" encoding="UTF-8" ?>
<faultPolicyBindings version="0.0.1
xmlns="http://schemas.oracle.com/bpel/faultpolicy"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<composite faultPolicy=MyConnectionFaults"/>
<component faultPolicy=MyServiceFaults"/>
<name>routePOMediator</name>
<name>POProcess</name>
</component>
</faultPolicyBindings>
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Human Intervention
Console Recovery
Enterprise Manager based SOA Console
Instance detail Instance detail
Examine and change component instance variables
Examine the fault information
Perform recovery action (retry, continue, rethrow, abort,
replay)
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
106
Human Intervention
Console Recovery
Actions Available
Set Outcome and Continue
User decides Activity Output can be "skipped", or manually entered.
Get and Set the data before continuing
Re-Throw Fault
User can set data, then throw to an "outerscope" fault handler
Replay Scope
User can replay the scope with changed data values
Abort Process
User can abort the faulted process
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Returning External Faults
One-way (asynchronous) interaction: Service Provider
Define fault operation in WSDL:
<oper at i on name=" onResul t " >
Execute <invoke>activity in BPEL (for the callback)
p
<i nput message=" t ns: Payment Pr ocessor Ser vi ceResul t Message" / >
</ oper at i on>
<operation name="onInsufficientFundException">
<input message="tns:InsufficientFundExceptionPaymentProcessorSvcMessage"/>
</operation>
y ( )
<i nvoke name="r epl yOut put " par t ner Li nk=" cl i ent "
por t Type=" t ns: Payment Pr ocessor Ser vi ceCal l back"
operation="onInsufficientFundException"
i nput Var i abl e=" i nsuf f i ci ent FundExcept i on"/ >
This is the callback <invoke> in the service provider
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
107
Returning External Faults
Request-response (synchronous) invocation
Define fault operation in WSDL:
<oper at i on name=" pr ocess">
<i nput message=" t ns: Cr edi t Rat i ngSer vi ceRequest Message " / >
Execute <reply>activity with fault in BPEL:
<i nput message= t ns: Cr edi t Rat i ngSer vi ceRequest Message / >
<out put message=" t ns: Cr edi t Rat i ngSer vi ceResponseMessage" / >
<fault name="NegativeCredit" message="tns:CreditRatingServiceFaultMessage" />
</ oper at i on>
<r epl y par t ner l i nke="par t ner - l i nk- name"
por t Type=" por t - t ype- name" oper at i on=" oper at i on- name"
var i abl e=" var i abl e- name" faultName="fault-name">
Client catches fault in a fault handler:
</ r epl y>
<cat ch f aul t Name=" ser vi ces: Negat i veCr edi t " f aul t Var i abl e=" cr Er r or " / >
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Runtime Faults
Getting fault details with XPath
In a <catchAll>or specific <catch>handler...
Use the getFaultAsString() XPath extension function
to obtain additional information
<cat chAl l >
<sequence>
<assi gn>
<f r omexpr essi on=" bpel x: get Faul t AsSt r i ng( ) "/ > o e p ess o bpe : get au t sSt g( ) /
<t o var i abl e=" f aul t Var " par t =" message" / >
</ assi gn>
<r epl y f aul t Name=" ns1: myFaul t " var i abl e=" f aul t Var " . . . / >
</ sequence>
</ cat chAl l >
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
108
Runtime Faults
Definition
Example WSDL:
<?xml ver si on=" 1. 0" encodi ng=" UTF- 8" ?>
If a faultVariable (of messageType RuntimeFaultMessage)
i d h t hi th f lt th f lt d b
? e s o . 0 e cod g U 8 ?
<def i ni t i ons name=" Runt i meFaul t " targetNamespace=http://schemas.oracle.com/bpel/extension>
<message name=" Runt i meFaul t Message" >
<par t name=" code" t ype=" xsd: st r i ng" / >
<par t name=" summar y" t ype=" xsd: st r i ng" / >
<par t name=" det ai l " t ype=" xsd: st r i ng" / >
</ message>
</ def i ni t i ons>
is used when catching the fault, the fault code can be
queried from the faultVariable, along with the fault summary
and detail.
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Returning External Faults
One-way (asynchronous) interaction: Service Consumer
Use Pick activity to receive exception callback
<pi ck name=" pi ckPayment Pr ocessor " >
<onMessage por t Type=" ns2: Payment Pr ocessor Ser vi ceCal l back"
oper at i on=" onResul t " var i abl e=" Payment Resul t "
par t ner Li nk=" Payment Pr ocessor Ser vi ce" >
</ onMessage>
<onMessage portType="ns2:PaymentProcessorServiceCallback"
operation="onInsufficientFundException"
variable="InsufficientFundException"
partnerLink="PaymentProcessorService">
</onMessage>
</ pi ck>
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
109
Securing SOA using Oracle Web Services Securing SOA using Oracle Web Services
Manager (WSM) in 11g1
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Introducing Oracle WSM
Secures SOA declaratively
Centralized administration and local Centralized administration and local
enforcement of policies
Runtime SOA governance
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
110
Customer Needs
Dont want developers to worry about security
Prevent security silos Prevent security silos
E2E identity propagation
Interoperate with other security products (such as .NET)
Audit all service accesses, get reports
Monitor policy violations
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Web Services Infrastructure
WS-Security, WS-ReliableMessaging, WS-Policy
JMS JMS HTTP HTTP HTTP HTTP JMS JMS
SOAP SOAP
HTTP HTTP
SOAP SOAP
HTTP HTTP
REST REST
SCA Metadata Model & Service Binding SCA Metadata Model & Service Binding
WS-
Security
(SAML,)
WS-
Addressing
WS-
Reliable
Messaging
Auditing Logging Agent
Declarative QoS - Web Services Interoperability Infrastructure (WS-*)
Web Services Manager Web Services Development
With JDeveloper
Oracle Weblogic Server
Web Services
Metadata
JAX-WS
JAX-B
Data Binding
Attachment
(MTOM/SwA)
JAX-R
Web Services J ava Programming Model J ava EE
p y ( )
WSIF
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
111
Securing more than SOA apps
SECURITY (WS-*)
Oracle Web
Services
Webcenter SOA ADF JAX-WS
Web Services
Services
Manager
Oracle Weblogic Server
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
<Insert Picture Here>
F t Features
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
112
Feature Summary
Built-in agent (no install reqd)
All tokens supported
Username, X.509,SAML, Kerberos
Policy management through EM
Monitoring through EM
Policy lifecycle management
Automatic identity propagation y p p g
Common authentication leveraging OPSS
Provision to apply policies at design time
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Policy Management
Security, reliability, addressing,
management and MTOM
policies
Pre-defined policies
Reusable policies
Custom policies
Generate client policies
CRUDQ
Policy Advertisement in WSDL
and WS-MEX
Policy versioning and rollback
Policy auditing
Policy export and import
Policy impact analysis
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
113
Policy Attachment through JDeveloper
Attach/detach policies through
J Developer context menu and
property inspector
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Policy Attachment through EM
Attach/detach multiple policies
to a service or client
Bulk attachment of policies to
multiple services or clients p
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
114
Performance Management (aka monitoring)
Metrics for service, port, and operation
Number of invocations, service faults, policy violations
Policy dependencies per port
Number of security violations- authentication and authorization failures
Other policyviolations- MTOMandreliable-messaging Other policy violations- MTOM and reliable-messaging
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Policy example
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
115
Identity propagation use case
O d B ki SOA P
Username token
Verify security
Authenticate
Set Subject
wss_username_token_service_policy
OrderBooking SOA Process
Receive Order
Get Customer Info
Verify Credit Card
Web
Client
Validate
Credit
Card
Service
SAML Authorize user
component_authorization_policy
Verify SAML token
Authenticate
Set Subject
wss10_saml_token_service_policy
Fulfill Order
Notify Customer
Service
Read Subject
Insert SAML Token
wss10_saml_token_client_policy
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Standards supported
J ava EE 5 J AX-WS policy annotations
SOAP 1.1 and 1.2
SOAP with Attachments 1.1 and 1.2
SOAP Message Transmission Optimization Mechanism (MTOM) (based on
SOAP 1.2))
WS-Security 1.0 and 1.1
WS-Security SOAP With Attachments (SWA) Profile 1.1
WS-SecurityPolicy 1.1
WS-Policy 1.2
WS-PolicyAttachment 1.1
Service Component Architecture (SCA) Policy Framework v1
WS-I Basic Profile 1.2
WS-I Basic Security Profile 1.1
UDDI 3 UDDI v3
WS-ReliableMessaging 1.0 (February 2005 version) and 1.1 (J une 2007
version)
WS-MetadataExchange 1.1 (August 2006 version)
WS-Addressing 1.0 (in conjunction with WSDL 1.1)
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
116
<Insert Picture Here>
A hit t Architecture
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Component Architecture
*except for JAX-WS
Web Service Oracle Fabric
Interceptor Framework
Policy Reference:
oracle-webservices.xml
Policy Reference:
composite.xml
Policy Access Point (PAP)
Policy Name
Policy Name Policy Name
Policy
RMI RMI
Oracle WSM Policy Manager
RMI RMI
MDS
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
117
Policy interceptor chain
Application Runtime Deployed Application
MTOM Security RM Mgt
Web
Service
Request
Response
pp p y pp
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
<Insert Picture Here>
Comparing with 10gR3
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
118
Mapping of WSM 10gR3 components to 11gR1
10gR3 WSM 11gR1 WSM
Policy manager Policy manager Policy manager Policy manager
Console and Monitor Enterprise Manager (EM)
+EM SOA Mgt Pack (for SLM)
Agents for OC4J /SOA Built-in agent for SOA and
Weblogic server
W bl i t B ilt i t f W bl i Weblogic agent Built-in agent for Weblogic
server
Gateway and 3
rd
party agents Post 11gR1 release
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
10gR3-11gR1 Hybrid Architecture
11gR1 policies will
interoperate with 10gR3
policies on the wire
10 R3 li i t b
10gR3
Gateway
(*)
11g
Service
11g Client
+Policy
+policy
10gR3 policies wont be
manageable by 11gR1
policy manager
Provision to upgrade
remaining infrastructure to
11gR1 except for Gateway
(until 11g Gateway
becomes available)
10gR3
WSM PM,
Monitor
Database
11gR1
WSM PM
MDS
+policy
(optional)
becomes available)
Database
(*) 10g Gateway will only enforce 10g policies
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
119
<Insert Picture Here>
O l WSM 11 R1 Oracle WSM 11gR1
Changes after BEA
acquisition
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Security for types of clients/services
Client/Service
component
Security stack
component
SOA, ADF and WebCenter NO CHANGE (Oracle WSM
policies)
J AX-WS Choice of
Oracle WSM policies
Weblogic WS-Security policies
J AX-RPC Weblogic WS-Security policies
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
120
Securing JAX-WS clients/services
Weblogics J AX-WS stack replaces Oracle appservers stack
Customers get a choice
Use Oracle WSM policies or
U W bl i WS S it li i Use Weblogics WS-Security policies
Long term (post 11gR1) Weblogics stack will converge into Oracle
WSM
Available features of Oracle WSM for J AX-WS in 11gR1
Embedded security policies (no need for policy manager)
Pre-defined policies, authorization policies, custom policies are supported
Unavailable features of Oracle WSM for J AX-WS in 11gR1
Centralized policy mgt using policy manager as an option
Security policy advertisement in WSDL Security policy advertisement in WSDL
Policy impact analysis
Policy mgt for reliable messaging, addressing, MTOM policies using Oracle
WSM
Bulk policy attachment
Auditing of policy attachment events
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
OWSM Lab
Objectives
Introduction to Web Services Management
Attach policies to a composite Attach policies to a composite
Demonstrate identity propagation
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
121
OWSM Lab
Use Case
Attach Policies to a composite to authn, sign, encrypt
UserID/PassWD authn on entry to a composite
Id tit t th h lti l t i th it Identity propagates through multiple components in the composite
SAML identity propagation with signing and encryption on invoke
from the composite
Steps
Attach userNameToken policy to POProcessing composite entry
point in EM
Attach SAML with message protection to Credit Card validation
service reference in EM
Att h SAML ith t ti t C dit d lid ti Attach SAML with message protection to Credit card validation
composite entry point in EM
Test in EM
Repeat attaching policies in J developer.
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
SOA Foundation Training:
Event Delivery Network (EDN) Overview
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
122
A h M i ?!
Challenge
Asynchronous Messaging ?!
All I care about is business
events how can you make
this easier for me?
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Work with events not messaging infrastructure!
Declarative way to work with publish-subscribe
Offers rich subscription capabilities:
Event Delivery Network (EDN)
1. Namespaces
2. Events Names
3. Content-based XPath filters
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
123
EDN support across the stack
ESB fan-out patterns
Update operations on ADF-BC objects trigger events,
initiating SOA composites
SOA composite
SOA composite
SOA composite
newSupplier
event
Etc.
SOA composite
createSupplier
ADF page flow
and BC
newSupplier
event
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
publish-subscribe abstraction
Developers do not need
to know about underlying
Event Delivery Network (EDN)
<subscribe
xmlns:bb="http://bigbank.com/events"
name="bb:NewAccount>
EDN
CRM
(no filter)
Customer
portal
22
to o about u de y g
eventing infrastructure
Fully declarative
No need for explicit wiring
between components:
truly decoupled applications
3 level of subscription granularity:
<subscribeNamespace
namespace="http://bigbank.com/events"
Bigbank
NewAccount
[]
country=US
[]
Customer
Provisioning
(Canada)
Filter
country = UK
Customer
Provisioning
(Canada)
Filter
country = Canada
Customer
Provisioning
(US)
Filter
country = US
(no filter)
AUDIT
(no filter)
(no filter)
Retail
Banking
Application
(no filter)
Bigbank
NewTransfer
[]
<subscribe
xmlns:bb="http://bigbank.com/events"
name="bb:NewTransfer>
+XPath filter:
$in/tr:NewTransfer/tr:Address/po:Country='
US'
33
11
p g y
1. Namespaces
2. Events Names
3. Content-based XPath filters
Order
Processing
(no filter)
<subscribe
xmlns:bb="http://bigbank.com/events"
name="bb:NewTransfer>
11
33
22
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
124
Event Delivery Network (EDN)
XSD file
EDL file EDL file
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
EDN: aligns SOA and EDA
SERVICES MESSAGING EDN
WSDL: J MS API: EDL: WSDL:
Standard service
interface model
J MS API:
Application
Programming Interface
EDL:
Event Definition
Language
XSD:
Strong typing
Handful of raw types XSD
Business-oriented Developer-oriented Business-oriented
Wealth of tools Mostly coding tools Fully declarative
EDN brings the proven concepts and convenience of SOAP to
the eventing world
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
125
EDN console in Enterprise Manager
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
EDN console in Enterprise Manager
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
126
EDN console in Enterprise Manager
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
The Fusion Development Framework
A O i f O l ADF 11 An Overview of Oracle ADF 11g
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
127
Oracle Fusion Applications
Merge Oracle EBS, Siebel, Peoplesoft into one
offering with multiple modules g p
Probably one of the largest software development
projects in the world
Thousands of developers
Several years in the making
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
What We Wanted
Cutting Edge UI
Agility Agility
System Integration
Scalability, Security, Portability
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
128
How Well Get There
J ava EE 5 SOA Web 2.0
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Oracle Fusion Middleware The Platform
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
129
Business Logic View Data
User Interface
ADF Faces components
Business Services
JSR-227
Oracle Fusion Architecture
DB
e
n
t
e
r
Assign
Task
Human Workflow
Service
BPEL
Process
Business
Activity
Monitoring
Data
Binding
Web Services
DB
Schema
W
e
b
C
e
Events
Rules
Engine
results
facts
Task
Complete
Monitoring
Orchestration Human interaction Policy evaluation Monitoring
results
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Enterprise IDE
J ava EE
Web User Interfaces Web User Interfaces
Web Services
SOA
WebCenter / Portlets
Database
JDeveloper
XML
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
130
JDeveloper - Unified Development Tool
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Full Lifecycle Support
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
131
Visual and Declarative
WYSIWYG UI design
Flowdiagrams Flow diagrams
Modelers
Visual XML Editors
Process Flow
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Choice of Development Styles
Visual
Dialog
Code
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
132
The Challange
On one side:
J PA, EJ B, Ajax, J avaScript, BPEL, SOAP, WSDL, RMI, J NDI, , , j , p , , , , , ,
J DBC, O/R, HTML, DOM.
On the other side:
Thousands of developers
Most dont know these technologies
Most come from 4GL background
Expecting a visual and declarative approach
Dont have time to learn all these new technologies
Need to focus on their specific application needs
How do you make it easy and approachable?
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
The Solution - Oracle ADF
Abstract developers from technology complexities
Example - UI Components abstracts from Ajax, Flash, p p j , ,
J avascript, DOM
End-to-end framework
Implements best practices
Standards-based and extensible
Easy to develop with
Oracle J Developer provides visual and declarative experience Oracle J Developer provides visual and declarative experience
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
133
Oracle ADF
An Enterprise Java Framework
Add value and simplify J ava EE
Provides solutions for: Provides solutions for:
UI components and framework
Advanced Controller
Binding UI to business services
Declarative and proficient business services
O/R mapping
Visual and declarative development p
Customization
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
JSF JSF
View
Desktop Browser-Based
Office Office ADF ADF Swing Swing
Application Development Framework (ADF)
Standards-based Productivity
JSP JSP ADF Faces / DVT ADF Faces / DVT
M
D
S
)
M
D
S
)
Business
Services
ADF Bindings (J SR 227) ADF Bindings (J SR 227) Model
Controller Struts Struts JSF/ADF Task Flow JSF/ADF Task Flow
TopLink TopLink
EJB EJB BAM BAM ADFbc ADFbc Portlets Portlets BI BI Essbase Essbase BPEL BPEL Web Web
Services Services
Java Java M
e
t
a
d
a
t
a

S
e
r
v
i
c
e
s

(
M
M
e
t
a
d
a
t
a

S
e
r
v
i
c
e
s

(
M
Data
Services
op op
XML Data XML Data Legacy Data Legacy Data Relational Data Relational Data Packaged Apps Packaged Apps
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
134
JSF JSF
View
Desktop Browser-Based
Office Office ADF ADF Swing Swing
Application Development Framework (ADF)
Fusion Stack
JSP JSP ADF Faces / DVT ADF Faces / DVT
M
D
S
)
M
D
S
)
Business
Services
ADF Bindings (J SR 227) ADF Bindings (J SR 227) Model
Controller Struts Struts JSF/ADF Task Flow JSF/ADF Task Flow
TopLink TopLink
EJB EJB BAM BAM ADFbc ADFbc Portlets Portlets BI BI Essbase Essbase BPEL BPEL Web Web
Services Services
Java Java M
e
t
a
d
a
t
a

S
e
r
v
i
c
e
s

(
M
M
e
t
a
d
a
t
a

S
e
r
v
i
c
e
s

(
M
Data
Services
op op
XML Data XML Data Legacy Data Legacy Data Relational Data Relational Data Packaged Apps Packaged Apps
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Fusion Development
Business Business
Services Services
User User
Interface Interface
Relational Data
XML Data
Exposed Exposed
Portlets Portlets
Business Business
Processes Processes
Packaged Apps
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
135
Fusion Development
Business Business
Services Services
User User
Interface Interface
Relational Data
XML Data
Exposed Exposed
Portlets Portlets
Business Business
Processes Processes
Packaged Apps
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Business Service Goals
Bridge Object-Relational gap
Manage CRUD operations Manage CRUD operations
Queries/DML
Implement business rules
Data validation
Business logic
Reusable
St d d b d Standards-based
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
136
ADF Business Components
A framework that simplify developing J ava EE
business services for developers familiar with 4GL
tools, declarative development, and relational
databases
Simplify data access
Simplify validation and business logic
Uses SQL based data views
Separate data views from business logic
Implement best practices
Easy customization
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
ADF BC Making Things Simpler
Query by example any field
List of values List of values
Calculated fields
Various validations
Range fetching
Transaction control
Locking mechanism g
State management
All done declaratively without coding !
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
137
Simplified SOA with ADF BC
Declarative dialog ->SCA exposure
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
WSDL Interface to ADF BC
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
138
Fusion Development
Business Business
Services Services
User User
Interface Interface
Relational Data
XML Data
Exposed Exposed
Portlets Portlets
Business Business
Processes Processes
Packaged Apps
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
From These
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
139
To This
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
ADF Faces Rich Client Components
150+AJ AX enabled J avaServer Faces components
Drag-and-drop framework Drag and drop framework
Dialog and popup framework
Navigation menu framework
Partial page rendering
Advanced data streaming
Complete J avaScript API p p
Skinning
Accesibility
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
140
Data Visualization Components
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
ADF TaskFlows
An extension to the J SF page flow engine
Adds reusability for tasks and flows Adds reusability for tasks and flows
Advance functionality in a declarative way
Page and flow re-use
Executing code in a flow
Security
Flow control
Bookmarking Bookmarking
Back button support
Exception and transaction management
Memory scope management
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
141
Bounded Task Flow Example
addCust
editRecord
addCust
createCustomer
Bounded Task Flow
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Reusable TaskFlows
Bounded Task Flow
Private Implementation and State
Task Flow
Page
region
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
142
Fusion Development
Business Business
Services Services
Relational Data
XML Data
User User
Interface Interface
Exposed Exposed
Portlets Portlets
Business Business
Processes Processes
Packaged Apps
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
ADF Model
J SR-227 Data Controls
ADF Model - Data Binding
J SR 227 Data Controls
Service Oriented Interface
Abstract implementation from clients
Loose coupling between services
and application
More Productivity
Drag and Drop Data Binding
More Reusability for Services More Reusability for Services
Discover and Share Services
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
143
Fusion Development
Business Business
Services Services
User User
Interface Interface
Relational Data
XML Data
Exposed Exposed
Portlets Portlets
Business Business
Processes Processes
Packaged Apps
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Business Process Development
BPEL - standard for service
integration
O h t t h t Orchestrate heterogeneous
services
Hundreds of adapters for
back-end system
Visual development of
business processes
Consistent development
experience p
Same tool
Visual, drag & drop
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
144
Orchestrate Services
SHOPPINGPORTAL
,

W
S
I
FOrder DB
Order Booking BPEL PROCESS
receive
Insert Order
ESB
r
v
i
c
e
s

I
n
t
e
r
f
a
c
e
:

X
M
L
,

S
O
A
P
,

W
S
D
L
ADF component
Customer service
Approval
(Workflow)
getCustInfo
Preferred Alternate
invoke invoke
Rules
Engine
Rule
Author
Rules
repository
Decision
Service
Manual
Review?
W
e
b
S
e
r
Product
Suppliers
Notification
Service
invoke
receive
invoke
receive
Notify Cust
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Fusion Development
Business Business
Services Services
User User
Interface Interface
Relational Data
XML Data
Exposed Exposed
Portlets Portlets
Business Business
Processes Processes
Packaged Apps
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
145
Oracle WebCenter
Blend the line between Portal and your application
Publish J SF pages as portlets p g p
Publish ADF Task Flows as portlets
Consume portlets J SR 168, WSRP 1.0 & 2.0
Personalizable applications (composer)
Runtime Customization
Web 2.0 Services
Discussions, Tags, Wiki, Presence , g , ,
Content Repositories
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Meta-Data Driven Application
UI & Workflow
Web Pages
Backend Services
Business Processes Web Pages
Web UI Components
Portlets
Task Flows
Page (Contextual)
Events
Business Processes
Business Rules
Routing Rules
Business Events
Data Transformation
Business Analytics Business Analytics
Data Access &
Validation
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
146
What is MDS
Common infrastructure for metadata
Across Oracle Application Server components
ADF, SOA, WebCenter
Runtime and design time metadata services
Flexible and open storage options
Team development support
Dependency management
High performance runtime architecture
Lifecycle management
Customizationand personalization Customization and personalization
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Metadata Services (MDS)
Single Service for Metadata management
Single Management & Lifecycle
Base
User
Customization
Teds Page
Application
Customization
+
+
Document
Johns
Page
MDS Customization Engine
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
147
Oracle BAM 11g
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Oracle Business Activity Monitoring (BAM)
Integrated SOA/ Process Insight
Process Flows
Exceptions/ Bottlenecks/ Process Opportunities
Adaptive/Dynamic Processes Adaptive/Dynamic Processes
Overcomes Insight to Action Gap
No visibility into SOA for the business user
No single view across processes & into
disparate integration technologies
No opportunity to take corrective actions while
there is still time to avert a crisis
Business Activity Monitoring Value
Proposition
Monitor, Analyze & Act in real-time
Achieve process optimization & agility
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
148
Oracle BAM in SOA Suite 11g
Integrated Event Sourcing
SOACompositesBAM Adapter
BPEL Process ManagerBPEL Sensors with BAM Sensor Actions
WebLogic Application ServerWebLogic J MS WebLogic Application ServerWebLogic J MS
Process Visualization
BAM ReportsEmbeddable, Real-time Views defined by
continuous queries
DashboardsNo-code required to build a Real-time Dashboard
Process Optimization Process Optimization
ActionsClosed-loop corrective actions through web services
integration
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Oracle Business Activity Monitoring 11g
Java Edition
J 2EE BAM Server
Active Data Cache
Report Cache
Event Engine
HA for All Services
Application Server
HA for All Services
J PS Security
EM Integration
J 2EE Web Applications
Active Viewer
Active Studio
Architect
Administrator
On-line Help
BAM Server
EventEngine
Actions &Escalations
Notification Services
ReportCache
Snapshots &
Change Lists
Memory / Disk
ActiveDataCache
ViewSets
API
Kernel
DataSets
DataStorageEngine
J 2EE Enterprise Link
Direct J MS Connectivity
WebServices API
SOA Suite Integration
Oracle Data Integrator Integration
Seamless upgrade from Oracle BAM 10.1.3 to Oracle BAM 11g
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
149
BAM Enterprise Link 10gEnterprise
Integration Framework 11g
JMS Connectivity
J MS Queues & Topics
Batching & Transactions g
Enterprise Link/ Oracle Data Integrator
Insert, Update, & Delete
Change Data Capture
Advanced Version Management
Web Services API
WSIL & Dynamic WSDLs
Native Oracle SOA Integration
BPEL-BAM Sensors
SOA 11g
BPEL Partner Links
Mediator Pipeline Interceptors
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
JMS Connectivity in Oracle BAM 11g:
Enterprise Message Sources
Available in Oracle BAM Architect
Drop down menu
JMS Topic or Queue Connectivity
Supports J MS 1.1 or above
Choice of Batching and Transactions
Map XML Tags or Attributes directly
to Oracle BAM data objects j
Insert, update, delete, upsert
Incorporate XSL Transforms where
necessary
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
150
Native Oracle SOA Integration in BAM 11g:
BAM Adapter
Framework for the 11g SOA Infrastructure
that provides 3 ways to communicate with
BAM
Reference-binding component in a SOA composite
P t li k i BPEL Partner link in a BPEL process
BPEL-BAM sensor actions within a BPEL process
Fastest & most tightly coupled integration
option for Oracle SOA Suite
Communication through Enterprise Java
Objects (EJB) or direct Java Object
invocation
EJ B when in same farm; J ava Objects when in
same container
Option for Synchronous or Asynchronous
updates through Batching
Batching uses a separate thread pool
Event messages are compressed
Control over retries, thread pool size, buffer size,
etc. provided
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
OSB - BAM Integration
OSB Proxy Service Integration
Custom Reporting Provider
Implemented using J MS p g
Define Key-Value Pairs
BAM Enterprise Message Source
Configure J MS
Map To Data Object
Use Keys defined in OSB
Business Data in BAM
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
151
Oracle BAM Knowledge Module in ODI
Available in the BAM 11g Installation
Scripts available for KM installation
within the Oracle BAM 11g installation
Oracle BAM Knowledge Module then
allows for reverse engineering of the
O l BAMA ti D t C h Oracle BAM Active Data Cache
BAM Knowledge Module Features
Access Active Data Cache tables just as
you would any database or data source
tables in ODI
Supports data transformations of all
types through drag & drop GUI
Certified with ODI 10.1.3.3 and 10.1.3.4
Additional ODI Functionality of
Interest
Change Data Capture Knowledge
Module for event-enabling Database
Sources
Examples: Oracle, DB2, Sybase,
SQL Server
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Oracle BAM: Architected for Integration
BAM Dashboards
WebApplications
StartPage
ActiveViewer
ActiveStudio
Enterprise
Integration
Framework
Application Server
BAM Server
EventEngine
Actions &Escalations
ActiveDataCache
Mobile Devices
Message
Queues
CEP
Internet
Architect
Administrator
ReportServer
iCommand
External Data Objects
WebServices
Internet
BI
WebServices
J MS Connector
BAMAdapter
ADF
BAMDataControl
ADF Pages with DVT
Notification Services
ReportCache
Snapshots &
Change Lists
Memory / Disk
ViewSets
API
Kernel
DataSets
DataStorageEngine
ODI
BPEL
BPM
OESB
iCommand
Oracle Database
(Grid)
BAM Data &
Metadata
BI
Databases
OLTP &
Data Warehouses
Data &Metadata
Import &Export
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
152
Oracle BAM Data Sources
Open Integration Strategy with Oracle Optimizations
Anal yze processes,
trends, and context
Web Service
BPEL PM
Oracle Apps
Oracle BAM
Real-Time Alerts
C
a
p
t
u
r
e

r
e
a
l
-
t
i
m
e

d
a
t
a
I
n
t
e
r
f
a
c
e

f
o
r

b
u
s
i
n
e
s
s

u
s
e
r
s
J
M
S

B
u
s
MS MQ
IBM MQ
Tibco
Oracle AQ
Sonic
JMS 1.1
Enterprise Manager
p
r
i
s
e

M
e
s
s
a
g
e

S
o
u
r
c
e
s
Real-Time Dashboard/
Reports
Call Java App or WebService
Oracle
Database
D
a
t
a
b
a
s
e
Sql Srv
Sybase
Oracle
JDBC
File System
E
n
t
e
r
p
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Oracle BAM: Active Data Cache
Process Static Data, Events, and Streams
Streams
BA BOEING D 77.575 800 20080305 10:03:02:78
DO DUPONT D 41.575 3000 20080305 10:03:04:12
AA ALCOA INC D 20.125 1000 20080305 10:03:01:55

Continuous input, often in high-volume


Time ordered
Does not end
Impossible to process / analyze in real-
time with traditional relational database
systems
AXP AMER EXPRESS CO D 45.875 500 20080305 10:03:02:10
BA BOEING D 77.575 800 20080305 10:03:02:78
C CITIGROUP D 34.125 2000 20080305 10:03:03:05
CAT CATERPILLAR D 22.5 600 20080305 10:03:03:46
DO DUPONT D 41.575 3000 20080305 10:03:04:12
AA ALCOA INC D 20.125 1000 20080305 10:03:01:55
AXP AMER EXPRESS CO D 45.875 500 20080305 10:03:02:10
BA BOEING D 77.575 800 20080305 10:03:02:78
C CITIGROUP D 34.125 2000 20080305 10:03:03:05
CAT CATERPILLAR D 22.5 600 20080305 10:03:03:46
DO DUPONT D 41.575 3000 20080305 10:03:04:12
AA ALCOA INC D 20.125 1000 20080305 10:03:01:55
AXP AMER EXPRESS CO D 45.875 500 20080305 10:03:02:10
BA BOEING D 77.575 800 20080305 10:03:02:78
C CITIGROUP D 34.125 2000 20080305 10:03:03:05
T
im
e
Event Processing provides a newdata CAT CATERPILLAR D 22.5 600 20080305 10:03:03:46
DO DUPONT D 41.575 3000 20080305 10:03:04:12
AA ALCOA INC D 20.125 1000 20080305 10:03:01:55
AXP AMER EXPRESS CO D 45.875 500 20080305 10:03:02:10
BA BOEING D 77.575 800 20080305 10:03:02:78

Event Processing provides a new data


management infrastructure to support and
analyze Streams in real-time
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
153
What Is Event Processing?
In-Memory, Continuous Queries
Event Processing Output
Filtering
New stream filtered for specific criteria,
e.g. stock price >$22
Correlation & Aggregation
CAT CATERPILLAR D 22.5 600 20080305 10:03:03:46
DO DUPONT D 41.575 3000 20080305 10:03:04:12
AA ALCOA INC D 20.125 1000 20080305 10:03:01:55
AXP AMER EXPRESS CO D 45.875 500 20080305 10:03:02:10
BA BOEING D 77.575 800 20080305 10:03:02:78

Correlation & Aggregation


Scrolling, time-based window metrics, e.g.
average #of stock trades in the last hour
Identification of non-events, e.g. price
changes A and B occurred within 15
minute window; we also expected C but it
never happened

EP
Runs In-Memory (not in
Database)
***
BAM vs. Complex Event Processing
CEP engines also filter, correlate and
aggregate
Logic is defined through
Continuous Queries on the
data
aggregate
But CEP adds complex pattern
matching to the mix
Multi-pass query logic
Multi-stage pattern recognition
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Provides Development Organization with a set of web-based applications to:
Capture real-time data from any database, message queue or application
Construct data objects for analysis
Define metrics, dashboards, alerts & automated actions
The Development Environment, Oracle BAM
Provides IT Operations with key integrations to:
Deliver integrated end-to-end process monitoring & management
Provide a single, multi-source BAM platform for integrating data & events
across all sources, Oracle and non-Oracle
BAM Architect
BAM Administrator & Oracle Enterprise Manager
BAM Active Studio
BAM Active Viewer
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
slm6
Slide 306
slm6 Change to focus only on Architect
smcreyno, 5/4/2009
154
Monitor business processes & services in real-time
Key Performance Indicators (KPIs)
Service Level Agreements (SLAs)
Process Visualization, Oracle BAM
Meaningful, Event-driven Visibility for End-Users
Service-Level Agreements (SLAs)
Analyze events as they occur
Correlate events & KPIs
Identify trends as they emerge
Alert users to bottlenecks & solutions
Act on current conditions
Event-driven alerts
Real-time dashboards
BPEL processes & web services integration
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Business User Oriented
Dashboards and alerts without writing a single line of code
Web-based AJ AX application, with no downloads or installs
Real-time Active Data
Applications dont poll the server for updates
St d lt h ti hi hi l i A ti D t
The Oracle BAM Technical Advantage
Process Visualization
Streams delta changes on continuous hierarchical queries: Active Data
Updates are multiplexed over a single server connection for all open queries
Updates in dimensions create ActiveData in all of the rows of linked fact tables: Active Lookups
Scalability
Supports thousands of events per second and hundreds of users on a 4x4 box
Event Driven Alerts
Immediate evaluation when thresholds are crossed, without running periodic queries.
Alerts on non-events, for example alerts can detect sequences like: event A happened, and then event B
happened, but event C did not happen within 10 minutes.
Action Framework
Business users can access web services integrationfor actions directlyfromtheir dashboards/alerts Business users can access web services integration for actions directly from their dashboards/alerts
Seamless Wireless Recovery
Automatic recovery from losing internet connectivity, without reloading the dashboard and without losing any
messages
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
155
Oracle BAM Visualization
Active Studio, Active Viewer, URL Access, & Now in 11gR1 ADF
Active Studio
Primary Dashboard & Alert Development
Application
Thin-client, AJ AX-based Web Application
Built for the MSFT Office User
IE Only IE Only
Active Viewer
Optional Application for Dashboard Access
Thin-client, AJ AX-based Web Application
IE Only
Dashboard URL
Each Report Has a Unique URL
Used to Access Dashboards Directly
Used for Portal Embedding
IE Only
Oracle Application Development
Framework (ADF)
BAM Data Control is a New Feature in ADF
11gR1 Patchset 1 (preview feature in
11gR1)
Enables push-based connection with the BAM
Active Data Cache
Visualization is through DVT components on
an ADF defined .jspx page
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Oracle BAM ADF/DVT Integration
New in 11gR1: Preview Feature Until Patchset 1
JDeveloper Design Time
Create BAM Server Connection
Introspect BAM Data Objects form Resource
Catalog
Drag & Drop Data Control Creation
Bind Query to DVT Components
ActiveData on Any Application Page
Runtime support for push, polling & paging
Multi-browser Support
ADF Tables, Graphs & Gauges
Almost all DVT components are supported
including:
ADF Table
ADF Tree
DVT Bar, Stacked Bar, Pie, Line, Area,
Combo
DVT Dial Guage
DVT Maps
Supports Web Center Design Time
ADF-based Portlets with Active Data
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
156
Oracle BAM: Architected for Integration
BAM Dashboards
WebApplications
StartPage
ActiveViewer
ActiveStudio
Enterprise
Integration
Framework
Application Server
BAM Server
EventEngine
Actions &Escalations
ActiveDataCache
Mobile Devices
Message
Queues
CEP
Internet
Architect
Administrator
ReportServer
iCommand
External Data Objects
WebServices
Internet
BI
WebServices
J MS Connector
BAMAdapter
ADF
BAMDataControl
ADF Pages with DVT
Notification Services
ReportCache
Snapshots &
Change Lists
Memory / Disk
ViewSets
API
Kernel
DataSets
DataStorageEngine
ODI
BPEL
BPM
OESB
iCommand
Oracle Database
(Grid)
BAM Data &
Metadata
BI
Databases
OLTP &
Data Warehouses
Data &Metadata
Import &Export
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Process Optimization: Oracle BAM Actions
Alerts
Framework for Automated, Event-triggered Response
E-mail
Voice Notification oce o ca o
Web Service Invocation
Oracle Data Integrator Process
Uses Oracle Notification Services Under the Covers
Web Service Invocation
Significantly enhanced in 11g
UI provided in Active Studio for Defining Web Services
as an Alert Action
Action Pages
Point of interactivity between human initiated actions
and system actions
Active Studio DefinedUI Components for Use in Oracle Active Studio Defined UI Components for Use in Oracle
BAM Dashboards to Pass Data into Alerts and Web
Service Calls
Action View-type or Actions as Report Properties
Uses Oracle BAM Alerts Under the Covers
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
157
Oracle BAM: Architected for Integration
BAM Dashboards
WebApplications
StartPage
ActiveViewer
ActiveStudio
Enterprise
Integration
Framework
Application Server
BAM Server
EventEngine
Actions &Escalations
ActiveDataCache
Mobile Devices
Message
Queues
CEP
Internet
Architect
Administrator
ReportServer
iCommand
External Data Objects
WebServices
Internet
BI
WebServices
J MS Connector
BAMAdapter
ADF
BAMDataControl
ADF Pages with DVT
Notification Services
ReportCache
Snapshots &
Change Lists
Memory / Disk
ViewSets
API
Kernel
DataSets
DataStorageEngine
ODI
BPEL
BPM
OESB
iCommand
Oracle Database
(Grid)
BAM Data &
Metadata
BI
Databases
OLTP &
Data Warehouses
Data &Metadata
Import &Export
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
BAM 11gR1: Recap
Oracle BAM Java Edition
Seamless Upgrade, Same Familiar UI
Single Security Approach for All SOA Suite including BAM
Multi platform
Enterprise Message Sources Enterprise Message Sources
Native J MS Topic/Queue Connectivity
Oracle Data Integrator Knowledge Module
SOA Infrastructure Integration with BAM Adapter
Configurable/ Performant BPEL Sensors
J Developer Integration
ADF Integration with BAM Data Control (PatchSet 1)
Active Data Maps, Gant Charts, etc.
WebCenter Integration
Si l SOA M t I f t t Single SOA Management Infrastructure
Enterprise Manager Integration for BAM
Major Performance Improvements
Client/Dashboards and Server
Online Help
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
158
eCommerce: Oracle B2B 11gg
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
eCommerce
What is eCommerce ?
Electronic commerce, eCommerce, is the buying and
selling of products or services over the Internet. It can selling of products or services over the Internet. It can
take many forms and shapes one of which is Business-
to-Business (B2B).
B2B is when an enterprise extends its business
processes over the Internet enabling commerce with its
Trading Partners. ex: Customer / Retailer
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
159
eCommerce
What does it represent and what are the requirements ?
eCommerce represents:
Classic business processes : Order-to-Cash, Procure-to-Pay p
Mature business documents : Purchase Order, Invoice, Payment
Industry tempered Messaging Services : ebMS, AS1, AS2
The requirements are:
A Unified Business Process Platform
End-to-End Instance Tracking, Visibility and Auditing
Integrated Process Intelligence
Process and Service Governance Process and Service Governance
Consolidated Security
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
eCommerce
What is Oracle B2B ?
Oracle B2B is an eCommerce gateway that enables the
secure and reliable exchange of business documents
between trading partners.
It enables a subset of the eCommece requirements:
Business Document Translation
Secure Connectivity
Quality of Service (QoS)
Trading Partner Management (Profiles / Agreements)
B2B Composite Oracle B2B
Middleware
Composite
Partner
Application
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
160
eCommerce
Why Oracle B2B and SOA Suite ?
This platform addresses the eCommerce requirements.
Oracle B2B, as a component of the SOA Suite, provides:
Business Document Translation
Instance Tracking, Visibility and Auditing
Secure Connectivity
Quality of Service (QoS)
Trading Partner Management (Profiles / Agreements)
The SOA Suite provides:
A Unified Business Process Platform
End to End Instance Tracking Visibility and Auditing End-to-End Instance Tracking, Visibility and Auditing
Integrated Process Intelligence
Process and Service Governance
Consolidated Security
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
eCommerce
Implementation of end-to-end eCommerce business processes
Bottom-line
The focus must be the Business Process
eCommerce integral component of an enterprises integration strategy
Healthcare:
HIPAA over FTP
Logistics:
XML over ebMS
Healthcare:
HL7 over MLLP
Retail:
X12 over AS2
PeopleSoft
Seibel
eBusiness Suite
Legacy
You musts address ALL of the requirements
High Technology:
RosettaNet over RNIF
Data Synchronization:
1Sync: UCCnet over AS2
3
rd
Party Application
Composite Application
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
161
eCommerce
Process flow
Partner
Oracle B2B
Manages interaction with Partner
Document validation / translation
Document routing
SOA Composites
Mediator
Document transformation
Oracle B2B

B2B Composite
Code conversion
Document routing
BPEL Process Manager
Business process orchestration
Error Handing
Human Tasks
Work list tasks & forms
Business Rules
Automated policies, constraints,
computations & reasoning
Application
Application
Middleware Composite
Application
Document processing
Note:
Business requirements may only require a subset
of the components
A composite managing the nuances of the B2B
gateway enables more flexibility in middleware
processes
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Oracle B2B:
The gateway component
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
162
B2B Concepts
eCommerce: Levels
Typical an eCommerce transaction is a single document
Levels Question to Ask Shipping Analogy eCommerce protocol example
Document What is the item ? Cell Phone EDI, HL7, HIPAA, UCCnet, OAG, UBL,
cXML, xCBL, RosettaNet,
Packaging How is the item
packaged ?
Box, bubble wrap MIME, SMIME, XMLDSig, XMLEncrypt
Transport How is the item sent /
received ?
Truck, Ship, Plane HTTP, HTTPs, File, FTP, FTPs, sFTP,
TCP/IP, SMTP, IMAP, POP3, MLLP
Messaging
Service
Who is the carrier ? DHL, FedEx, UPS, USPS RNIF, AS1, AS2, ebMS
Wh t i i R i t R i t What carrier services
are required ?
Requirements:
Signed receipt
Overnight / next day
Delivery attempts
Requirements:
Digital Signing
Time to Acknowledge / Respond
Retry Counts
Profile What are the Trading
Partners capabilities ?
What are the senders /
receivers capabilities ?
Trading Partner Profile
Agreement What did we agree ? What did we agree ? Trading Partner Agreement
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Oracle B2B
What does it do?
Oracle B2B is enables the secure and reliable exchange of
messages between an enterprise and its trading partners, enabling:
Document Management Document Management
Transport and Exchange Management
Trading Partner Management
Reports and Monitoring
System Management
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
163
Facilities to manage document standards enabling:
Definition, validation, translation, identification, correlation, batching, routing,
envelope generation
Document Management
The Document
envelope generation
Example:
Document Protocol: Custom
Category of documents
Document Revision: 1.0
Grouping of documents
Envelope information
Document type: PurchaseOrder
Identification information
Document Definition: PurchaseOrder_def
Definition, correlation and routing
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
The translator
A robust translation and validation engine that is
Document Management
Powered by EDIFECS
TM
g
an integral part of Oracle B2B.
This provides:
A library of ALL EDIFACT, X12,
X12N, HL7, HIPAA, EANCOM,
NCPDP,
Data file validation Data file validation
Data Migration
Tests data generation
De-Identification
Dictionary generation
Batching
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
164
B2B Concepts
eCommerce: Acknowledgement categories
There are five categories of acknowledgements
Category Shipping
Analogy
eCommerce
Protocol example
Acknowledgment Description
1. Transport Destination exists HTTP Codes: 200 / 400
2. Messaging
Service
Item arrived RNIF Receipt Acknowledgement
AS1, AS2 Message Disposition Notification (MDN)
ebMS Receipt Acknowledgement
Web Services WS-Reliable Message Sequencing
3. Functional Item not damaged EDI 997 / CONTRL
OAG C fi BOD
The structure & codes are valid
OAG Confirm BOD
RosettaNet ACKs
HL7 ACKs
4. Business A related item was
shipped back
PO Confirmation A Business response (PIP3A4)
5. Process Item received was
not processed
RosettaNet PIP0A1 Notification of Failure (NoF)
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Facilities to manage acknowledgments
Transport
Document Management
Acknowledgments
Messaging Service (Generate and consume)
AS1, AS2 Message Disposition Notification
RosettaNet Receipt Acknowledgment
ebMS Receipt Acknowledgment
Functional (Generate and consume)
EDI Message Syntactically Acknowledgment (CONTRL)
Functional Acknowledgment (997)
OAGIS Confirm Business Object Documents (BOD)
RosettaNet Receipt Acknowledgment p g
HL7 Acknowledgment Message
Business (Correlation of business documents)
Process ( Modeled in middleware)
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
165
Transport / Exchange Management
The Packaging,Transports and Messaging Services
Facilities to communicate, enabling secure and reliable
messaging messaging
Transports
MLLP, TCP/IP, Oracle AQ,
J MS, FTP, FTPs, sFTP,
HTTP / HTTPs, SMTP,
IMAP, POP3
Messaging Services
AS1, AS2, ebMS, RNIF
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Transport / Exchange Management
Delivery Channel
Defines the protocol, transport parameters, channel
attributes, exchange parameters, & security
Example:
Headers, proxies, signing, encryption, compression, sync/async,
acknowledgments, retry Intervals, retry counts, ..
Types of Delivery Channels
Partner Channel To communicate to Partner - In the agreement
Host Channel To communicate to the Host - In the agreement
Listening Channel To communicate to the Host - NOT in the agreement
Internal communication
By default Oracle B2B communicates to a composite in memory
Any Host or Listening Delivery Channel can be designate as internal
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
166
Trading Partner Management
The Profile and Agreement
Facilities to define the Trading Partner & Agreement
Partner Types Host - The installation yp
Partner - The partner
Partner Capabilities Profile - Identification, contact information, key store
Users - Who can access Oracle B2B
Document - Supported documents
Channel - Defined channels
Agreements:
What Partner
What document / flow
What Delivery Channel
What Identification
What Callout (optional)
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
System Management
Managing Oracle B2B
Facilities to mange Oracle B2B
Deploy Monitor / Query / Deployed Agreements
Manage Deployments Manage Deployment states
Types Create Partner identifiers & contacts
Import / Export Metadata: Repository / Agreement
Schedule Batch Schedule / Query: EDI Batching
Manage Batch Query / Manage: EDI Batching
Callouts Define java callouts & parameters
Purge Purge Design / Instance data
Li t i Ch l Define Host Listening Channels Listening Channels Define Host Listening Channels
Configuration Define System Parameters
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
167
System Management
Oracle WLS 11g: Administration Console
Oracle B2B: A deployed Enterprise Application: b2bui
Manage Environment Manage Environment
Tuning
Key Stores
SSL
Manage security
Users & Groups
Roles & Policies
Manage Services Manage Services
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Manage the application: b2bui
Manage B2B endpoints
System Management
Oracle EM 11g: Fusion Middleware Console
g p
Manage Servers : soa_infra (soa_server1)
View end-to-end flow
Modify properties
View log files
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
168
Reports and Monitoring
Oracle B2B Reports & Metrics
Reports
Application Message
What was sent or received to middleware
Business Message
The translated message
Error Message
Processing Errors
Wire Message
What was sent or received to Partner
Conversation
Correlation of Messages Correlation of Messages
Metrics
Statistics
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Reports and Monitoring
Oracle Business Activity Monitoring (BAM)
Monitor business
processes & services in p
real-time
Analyze events as they
occur through complex
event processing
Act on current
conditions either conditions either
automatically or
manually
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
169
Oracle B2B:
HA: typical configuration
RAC
Data Tier
Oracle DB
Repository
Oracle DB
Repository
Oracle B2B is utilized
the standard
fi ti
App Tier
Oracle SOA Suite
Oracle B2B
Oracle SOA Suite
Oracle B2B
OHS with virtual
URLs, FTP Server &
Proxy
OHS with virtual
URLs, FTP Server &
Proxy
configuration
recommended by
WLS
Oracle B2B is a:
HTTP Client
FTP Client
Mail Client
MLLP Client &Server
DMZ
Load Balancer
Note: Outbound can be direct or through a proxy
MLLP Client & Server
TCP/IP Client & Server
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Acronyms
Java Messaging Service (JMS)
Oracle Advanced Queue (AQ)
File Transport Protocol (FTP / FTPs / sFTP)
Hypertext Transfer Protocol (HTTP / HTTPs)
Simple Mail Transfer Protocol (SMTP)
Internet Message Access Protocol (IMAP)
Post Office Protocol (POP3)
Minimum Lower Layer Protocol (MLLP)
Transmission Control Protocol/Internet Protocol (TCP/IP)
Applicability Statement 1 (AS1)
Applicability Statement 2 (AS2)
ebXML Messaging Services (ebMS)
RosettaNet Implementation Framework (RNIF) p ( )
ebXML Collaboration Protocol Profile and Agreement (CPPA)
ebXML Registry Information Model(RIM)
ebXML Registry Services (RS)
ebXML Business Process (ebBP)
ebXML Core Components (ebCC)
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
170
Oracle B2B Roadmap
2004 2006 2008
10gR1
2010 2012 2014 2016
11gR1 11gR2 12gR1 Releases TBD
I iti l R l
VerticalFastPaths
AIAPIPs
OracleSolutions
Embedding
Performance
Documentstreaming
Visibility
EnhancedDashboards,
Reports,Monitoring
Functionality
HubCapabilities
Documents & Delivery
HealthcareFastPath
HealthcarebasedUI,concepts/terminology
withstreamlinedconfiguration
AIAPIPs
Security
CentralMgmt,SSO,rolebasedaccessto
documents
Performance
Enhancedthroughput&Largedocument
support
Usability
Enhanced UI design
VerticalFastPaths
AIAPIPs
FusionAppsPlatform
OracleSolutions
Embedding
Performance
ManageFileTransfer
Visibility
EnhancedDashboards,
Reports Monitoring
OracleIT
OracleOnDemand
Ongoingfeatures
andenhancements
InitialRelease
Documents&Delivery
Newstandards,
transports,exchanges
EnhancedUIdesign
Visibility
EnhancedReports,Metrics,EMIntegration
Functionality
PartnerCloning,AutoAgrmtGeneration
Documents&Delivery
Newstandards,transports,exchanges
Reports,Monitoring
Functionality
SelfService,enhanced
VANSupport
Documents&Delivery
Newstandards,
transports,exchanges
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
SOA 11 O l S i B SOA 11g Oracle Service Bus
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
171
Oracle Service Bus
Enabling the Agile Enterprise
SOA architectures need to be designed to accommodate
change and in fact to anticipate change! That creates change, and in fact to anticipate change! That creates
AGILITY. Whether you are evolving existing
infrastructure to SOA, or building a SOA Enterprise from
the ground up, an enterprise service bus is an essential
component of any reference SOA architecture.
But.WHYEXACTLY?
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
The SOA Challenge
Moving Past the Division
SOA
Optimized
SOA
Maturity
Level
Cross divisional
services
Enterprise level
services
SOA
Defined
SOA
Repeatable
SOA
Managed
Optimized
Level
No
implementations
services
Division level
services
Project level
services
No SOA
SOA
Ad Hoc
Exploring Expanding Exploiting
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
172
Service Integration: Developer
Perspective
Application
Remote
Functionality
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Why a Service Bus?
A few examples
The endpoint problem even with Web Services
Service
Service
Service
Application
Application
Service
Database
EJB
Service Application Service
SAP
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
173
Why a Service Bus?
Example: Location Transparency
Isolate from changes to service location
Host One
New Hire
Process
Initialize Benefits
Service
Initialize Benefits
Host Two
Service Bus
Route to
Host Two
After
Move
Before
Initialize Benefits
Service
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Why a Service Bus?
Example: Backwards Compatibility
Isolate from changes to service contract/interface
Service Bus
Process
Order
Service
Customer
Portal
Transform
Message
<2.0>
<1.0>
CSR App
<2.0>
<2.0>
<1.0>
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
174
Logic Presentation
Browser
Clients
Data
Identity/
Policy
Process
Portal
Process Web
Services
Service Infrastructure Approach
Enables Agility and Scale
Application
Client
Browser
Legacy App
Mainframes
Databases
WSRP
WSRP
Web
Services
Data
Adapter
Data
Web
App
Process
Web
Services
Mobile
Service Infrastructure
Web
Services
Service Infrastructure
Messaging
Services
Data &
Adapter
Services
Security
Services
User
Interaction
Services
Business
Process
Services
Meta-data
Repository
Service
Registry
Service Management
M
o
n
i
t
o
r
i
n
g
C
o
m
p
o
s
i
t
i
o
n

T
o
o
l
s
Custom
Services
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
PO Processing Composite
OSB Lab for Friday
Oracle Service Bus
Message Flow
Re-factor composite so Credit Validation is hosted on OSB
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
175
Oracle Service Bus
Key Ingredients for Enterprise Service Bus
Reporting SLA Alerts
Service Management
Monitoring
Unified Security
M t d t
Content Based Routing
Transformation
Import / Export
Validation
Service Virtualization
Configuration
Framework
Change Center
Service Chaining
y
FTP MQ
Adaptive Messaging
SMTP
Metadata
HTTP/S JCA JMS File WSRM Tux EJB REST
Authentication Authorization Identity Sign/Encrypt
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Adaptive Messaging
More than Web Services
Reporting SLA Alerts
Service Management
Monitoring
Unified Security
M t d t
Content Based Routing
Transformation
Import / Export
Validation
Service Virtualization
Configuration
Framework
Change Center
Service Chaining
y
FTP MQ
Adaptive Messaging
SMTP
Metadata
HTTP/S JCA JMS File WSRM Tux EJB REST
Authentication Authorization Identity Sign/Encrypt
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
176
Application
Client
Service
Clients
Oracle Service Bus Enterprise
Services
Service
Application
Client
HTTP/SOAP
JMS
WS-RM
TUX
Service
Request / Response
Service Messaging
S h/ A h
Adaptive Messaging In a Nutshell
Adaptive
Messaging
Client
Application
Client
Application
Client
FTP
REST
File Application
Client
MQ
EJB
JCA
Service
Service
Service
Multiple communications paradigms
Request/response
Synch / Asynch
Split / J oin
Publish / Subscribe
Any to Any Protocol
Any toAny Payload
Request/response
Synchronous and asynchronous
One-to-many, many-to-one
Pub-sub
Mix-and-match (e.g. sync-to-async)
Any to Any Payload
XML
non-XML
Binary
No WSDL Required
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Applications & Database Integration
Message Enrichment and Chaining
Adapter Certifications
Packaged with OSB install
AQ
Adaptive
Messaging
AQ
Database
EBusiness Suite
Packaged separately
SAP
PeopleSoft
Siebel
J DEdwards J D Edwards
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
177
Unified Security
Optimized, Pluggable, Flexible Policy
Reporting SLA Alerts
Service Management
Monitoring
Unified Security
M t d t
Content Based Routing
Transformation
Import / Export
Validation
Service Virtualization
Configuration
Framework
Change Center
Service Chaining
y
FTP MQ
Adaptive Messaging
SMTP
Metadata
HTTP/S JCA JMS File WSRM Tux EJB REST
Authentication Authorization Identity Sign/Encrypt
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Unified Security
Transport Security
SSL/Basic Auth
Custom security credentials
Message Security
Authentication Authorization Credential Mappers Audit
Common Security Services
Default Default XACML Default
Unified
Security
WS-Policy/WS-Security
SAML, UserID/Password, X509
Signing & Encryption
Custom security credentials
Console Security
Supports Web Single-Sign-On
Role based access
Policy-based Security
PKI
SAML
3rd Party 3rd Party
3rd Party
3rd Party
y y
Leverages WS-Security &
WS-Policy
Oracle Web Services Manager Supports built-in security
components and plug-in 3
rd
-party
components
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
178
Service Virtualization
Enables Enterprise Agility
Reporting SLA Alerts
Service Management
Monitoring
Unified Security
M t d t
Content Based Routing
Transformation
Import / Export
Validation
Service Virtualization
Configuration
Framework
Change Center
Service Chaining
y
FTP MQ
Adaptive Messaging
SMTP
Metadata
HTTP/S JCA JMS File WSRM Tux EJB REST
Authentication Authorization Identity Sign/Encrypt
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Validation
Enrichment
Transformation
XQuery
XLST
Message Flows
Service
Virtualization
XLST
Routing
Conditional
Dynamic
Identity-based
Logic
IfThen
F h Foreach
Parallel Split/J oin
Pipeline Alerts
Error Handling
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
179
Advanced Integration Patterns
Split and Join For Parallel Action
Incoming payload is split into multiple
service invocations
Multiple service responses are
Service
Virtualization
aggregated into single payload
Parallel action results into significant
performance improvement
Oracle Service Bus JOIN
Request
Payload
Response
Payload
Split ForEach
ProcessOrder
J oin
ProcessOrder
15
Order 1 Order 2 Order 3
SPLIT
Response
1
Response
2
Response
3
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Service Management
Embedded Visibility & Control
Reporting SLA Alerts
Service Management
Monitoring
Unified Security
M t d t
Content Based Routing
Transformation
Import / Export
Validation
Service Virtualization
Configuration
Framework
Change Center
Service Chaining
y
FTP MQ
Adaptive Messaging
SMTP
Metadata
HTTP/S JCA JMS File WSRM Tux EJB REST
Authentication Authorization Identity Sign/Encrypt
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
180
Embedded Service Visibility
Endpoint URI Management
API to grow and shrink the pool of Endpoint
URI
Dashboard
Fault and performance metrics
Summaries for aggregated ESB
Monitoring
Service
Management
Monitoring
Monitor alerts on single node or entire ESB
server
SLA Application-based Alerts
Alerts on operation metrics
Alerts from message pipeline
Reporting
Out of the box reporting provider
Custom reporting providers
Open interfaces
J MX MonitoringInterfaces J MX Monitoring Interfaces
SNMP Alerts
Operational Customization
Smart operator console: One screen for
operational customization
Advanced searching capabilities
Full Integration with Enterprise Manager
Ensure Quality of Service with
built-in optimizations for
performance and monitoring
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Configuration Framework
Robust services Deployed into Production
Reporting SLA Alerts
Service Management
Monitoring
Unified Security
M t d t
Content Based Routing
Transformation
Import / Export
Validation
Service Virtualization
Configuration
Framework
Change Center
Service Chaining
y
FTP MQ
Adaptive Messaging
SMTP
Metadata
HTTP/S JCA JMS File WSRM Tux EJB REST
Authentication Authorization Identity Sign/Encrypt
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
181
Configuration Framework
Robust services Deployed into Production
Change Center
Semantic Integrity of Artifacts
View & resolve conflicts
Undo, Re-do tasks
Audit changes
Import/Export
Customization Files
Fully scriptable, integration with
OER/SR OER/SR
Test Console
Validate changes
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Scalability Multiple Dimensions
Vertical
Horizontal
Scalability is like
Horizontal
Number of Users
Message Size
Number of Services
y
a train!
What about speed?
The goal is to scale without a significant loss to performance.
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
182
Pass-Through Routing (Message Propagation)
- 27 million 5 KB SOAP messages per hour
The pass-through use case
reflects the performance of
message propagation with
4 0
5.0
6000
8000
e

(
m
s
)
t
HTTP Pass-Through Routing
(Core Message Propagation)
monitoring enabled.
On a 2 CPU dual-core (2 GHz)
Xeon server, OSB can process
around 7650 5KB messages a
second or 27.5 million 5KB
messages an hour.
J MS numbers are based on non-
0.0
1.0
2.0
3.0
4.0
0
2000
4000
6000
1 2 4 8 12 16 24 32
R
e
s
p
o
n
s
e

T
i
m
e
T
h
r
o
u
g
h
p
u
Number of Cl i ents
HTTP TPS
HTTP RT
4 0
5.0
4000
5000
s
)
JMS Pass-Through Routing
(Core Message Propagation)
persistent J MS queues.
The J MS benchmark involves a
complete round-trip of the
message to the client (2 queue
hops).
0.0
1.0
2.0
3.0
4.0
0
1000
2000
3000
4000
1 2 4 8 12 16
R
e
s
p
o
n
s
e

T
i
m
e

(
m
s
T
h
r
o
u
g
h
p
u
t
Number of Cl i ents
J MS TPS
J MS RT
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Oracle Service Bus
Enables Agility and Scale for Enterprise SOA
Adapt To Change
Service virtualization
Protocol Switching
Routing and Transformation
Error Handling PolicyEnforcement
BPM
B2B & BPM
BPM
Portal
Error Handling, Policy Enforcement
Scale in Multiple Dimensions
1000s of services
Millions of Transactions through
Caching, Parallel Processing, Throttling
Reduce Cost Through Re-use
Connect your services once
Easily configure services for integration
Single view of assets w/ Service Lifecycle
Oracle Service Bus
Adapters
Service
Repository
g y
Manage risk
Embedded service-level management
Failure Isolation and auto-recovery
Application Alerts & SLAs
Auditing and Reporting
Integration Services
Business Logic Business Logic
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
183
Oracle Service Bus Roadmap
Primary Product Milestones
OSB 10gR3
11g
SOA Grid Enabled w/
distributedcachingpatterns
ALSB 3.0
Complete, light-weight,
best-of-breed ESB
Design time & run-time
governance
Advanced Mediation
Patterns - Split-J oin,
Dynamic Dispatch
Endpoint Management
Oracle branded and remediated
Native bindings to BPEL PM
Certified on WLS 10.3
Product Specific Highlights
Visual Debugging
Action metrics
Message Tracing
Streaming Attachments,
distributed caching patterns
Enterprise Manager SOA
Management Pack
Closed Loop Governance
SCA Fabric, BAM Sensors
Service Lifecycle w/Policy
Templates, TX Message Flow
Federated ESB Management
& Visibility
Endpoint Management
Throttling, Load-balancing,
Failover, Service Pooling
Highly performant &
scalable
Built-in management,
monitoring & reporting
MTOM
Dynamic
Transformations
More REST
J CA Transport +
Adapters
Event-driven SOA w/ native
event types & generation
Enhanced Tooling
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Application
composers
Service Composition
Transformations
Filtering
SOA 11g Unified Service Platform
Service Infrastructure
Business
Rules
Mediator
Policy Manager
Optimized
binding
BPEL
Human
Workflow
CEP
Oracle Service Bus
Service/Event Delivery API
SOA
Operations
End-to-End SOA
Lifecycle
Governance
JCA
Service virtualization
Shared Service Gateway
Monitoring
JCA
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
184
Oracle Service Bus 11g
Highlights of New Features
Enhanced
Productivity
A single click to configure a Proxy Message Flow to perform work in single Transaction.
Re-use Custom XPath functions such as X-Ref in your XQuery and XSLT transforms.
Browse andwire OSB Services from the resource catalog in JDeveloper.
Performance
& Scalability
Service Result Caching with Coherence is as easy as checking a box.
Improved scalability of Pipeline Alerts andstatistics for large-scale deployments.
Split-Join has Wait and Transaction Propagation across parallel invocations.
Unified
Runtime
Tight run-time integration with SOA Suite through native SCA bindings
Interop with Oracle Web Services Manager
Single JVM deployments with SCA Composites in unified container.
Adaptive
Connectivity
Native EJB 3.0 Transport for inbound Proxy and outbound Business Services
Transmit native J ava types and Service Data Objects (SDO) through message flow.
Enhanced native MQ Transport patterns such as Dynamic Model and Alias Queues
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Scalability of Data Oriented Services
OSB over a Data Grid
2. if results not in cache,
invoke service & cache
results
Side Cache Pattern
OSB 11gR1
Legacy
Service
Consumer
Service
Provider
Primary
Node Get / Put (Cachekey)
Coherence Data Grid
O
r
a
c
l
e

S
e
r
v
i
c
e

B
u
1. check cache
Process Flow /
Orchestration
P
B
Backup
Node
Service Data
OSB
Result
Cache
u
s
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
185
Service Result Cache
Checkbox Caching
Business
Service
OSB 11gR1
Cache Results ?
Time To Live
XQuery to
Generate Unique
Key Key
Result Cache is an implementation of Side Cache pattern
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Help Realize the Full Benefits of SOA
With an Enterprise-Class Service Bus
Service Intermediary
& Management
Location
T
BPM
Portal B2B & BPM
Service Orchestration
Transparency
Service
Virtualization
Configuration
Any to Any
Protocol, Payload
Advanced
Oracle Service Bus
Adapters
Service
Repository
Presentation
Services
Advanced
Integration
Patterns
High Availability &
Scale
Integration Services
Business Logic Business Logic
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
186
Whats New in Oracle Registry Repository for 11g
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
About SOA Governance
FACTS
Governance is NOT A Product
Requires the proper mix of People Process andTools Requires the proper mix of People, Process and Tools
Success requires commitment from the entire organization
Extends through the entire service lifecycle
IMPACT
Increase visibility, reduces risk and can raise ROI
Increase SOA adoption and success rates
Improve alignment of Business IT andall stakeholders Improve alignment of Business, IT and all stakeholders
Facilitate cross organizational communications
Reduce time to market
372
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
187
SOA Governance Usage Examples
BUSINESS GOALS
Build a reusable services portfolio to demonstrate ROI
Enforce business practices and enable compliance Enforce business practices and enable compliance
Reduce development time and costs
Minimize SOA project failures and increase trust
TECHNICAL PROCESSES (apply to every lifecycle stage)
Automate harvesting of assets and updates throughout the lifecycle
Use workflow for manual tasks approvals and process automation
Engage stakeholders at everylife cycle stage Engage stakeholders at every life cycle stage
Enable an iterative development and review process
Monitor usage for ongoing feedback cycle to all stakeholders
Validate and enforce policies
373
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
ORCHESTRATION
Oracle SOA and Event Technologies
GOVERNANCE
System
Monitoring
Enterprise Enterprise
Manager Manager
GOVERNANCE
REAL-TIME
VISIBILITY
& PROCESSING
Alerts
Business Monitoring
BAM BAM
Events
Data Streams
CEP CEP
Enterprise
Modeling
BPA Suite BPA Suite
SOA Governance
CONNECTIVITY
Routing Transform
Data
Quality
ETL &
Replication
Data Integrator Data Integrator Oracle Service Bus Oracle Service Bus
Mediation
ROUTING & DATA SERVICES
Native
BPEL
Business
Rules
Human
Workflow
BPEL Process Manager BPEL Process Manager
WS Policies
Security
Web Services Web Services
Manager Manager
SOA lifecycle
governance
Enterprise Enterprise
Repository Repository
Application
Development
Framework
JDeveloper JDeveloper
Business User
Modeling
BPM Suite BPM Suite
Apps
Adapters Adapters B2B B2B
Partners DB Legacy
CONNECTIVITY
Coherence Cache
J2EE Application Server
(Oracle AS, WebLogic, WebSphere, JBoss)
Messaging
UDDI
Registry Registry
governance
JRockit VM & RT
Framework
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
188
SOA Governance
Full Lifecycle
Visibility
Develop
Design
Analyze
& Model
Visibility
Control
Deploy &
Secure
Registry / Repository
Analytics
Retire
Services
Manage Change
Monitor
Policies
& SLAs
375
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Product Offering
Service-Oriented Architecture SOA Governance
Repository to capture, share, & change
manage SOA Artifacts across lifecycle
Standards-based UDDI v3.0 Registry to
Oracle Enterprise
Repository
O l S i R i t
DT
RT
Sta da ds based U 3 0 egst y to
publish & discover Services
Policy Manager to define & manage
Security & QOS Policies on Services
Management Console to Monitor Service
Level Response Times & Availability
Management Console to Monitor, Trace,
& Change-Manage SOA Composites Enterprise Manager
Oracle Web Services
Manager
Oracle Service Registry
RT
RT
RT
Model and monitor J 2EE services and
their supporting components
A Comprehensive Suite for End-to-End SOA Governance
p g
SOA Management
Pack Plus
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
189
Oracle positioned in Leaders Quadrant
Gartner MQ for Integrated SOA Governance Technology Sets
A substantial amount of SOA
governance technology from BEA
Systems has been integrated with Systems has been integrated with
other elements of the Oracle
portfolio, including Oracle BPM
Suite, Oracle SOA Suite and
Oracle Service Bus.
Oracle's SOA policy management
is also well-integrated with identity
management technologies and
directories, and the recent directories, and the recent
acquisition of ClearApp can
address the monitoring
requirements of SOA governance.
Source: Magic Quadrant for Integrated SOA Governance Technology Set; L. Frank Kenney, Daryl C. Plummer; March 31, 2009
Source: http://www.oracle.com/corporate/analyst/reports/infrastructure/index.html#fus
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
RegRep Customer Intelligence
iAS.us.oracle.com
Search Wins by Governance component
View FMW Quarterly Win reports
External reference forums
Farmers Insurance on OSB and Governance
asrefs.us.oracle.com
Search Wins by Governance Suite
View project details
By product, reference status, regions, industry etc
378
Discuss your Governance Wins on the
Quarterly Governance Review call
Contact Jyothi Swaroop or Dave Berry
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
190
RegRep Technical Resources
Internal
Presentation, FAQ, Viewlets, VMWare and Training links
ias.us.oracle.com soagov.us.oracle.com registry.us.oracle.com
RFC, POC and Pillar SC Questions
Governance_ww@oracle.com
Integration_ww@oracle.com
Training
Fusion Factory ff.us.oracle.com
Search SOA Governance
OU Web SOA Governance Workshop
ouweb.us.oracle.com/custom/global/FY09NATO/soa_gov.html
379
External
Docs, Downloads, Samples, Datasheet, Whitepaper and more
otn.oracle.com/goto/regrep
Governance Blog blogs.oracle.com/governance/
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
SOA Governance 11g R1 Release Info
Whats New?
Phase 1 Focus Lifecycle
11g R1 SOA Launch
OER 10g can harvests artifacts (not SCA
composites) from SOA Suite 11gR1
Phase 2 Focus - Production
Assurance
SOA 11g EM/OWSM/SMP 2010
M t P k Pl f SOA 11 11g Built-in Policy Management w/11g
11g SOA Console with built in Policy Manager
(OWSM) integration
Policy mgmt agents for 11g
J Dev 11g
Browses and consumes assets from OSR/UDDI
Allows runtime policies to be applied at design
time
11g RegRep Wildcat Fall 2009
OER 11g harvests and models 11g SCA
composites as well as 10g assets/artifacts
Enhanced Reg/Rep synchronization
Management Pack Plus for SOA 11g
Unified/updated runtime governance
Console for SOA Management
Support for 11g SOA Suite composites
11g closed loopruntime metrics to
OER
Service Level Management for SOA
Suite 11g infrastructure
CAMM integration provides added
context for management metrics
Policy Management Gateway for 11g
Withpartners
OSR, OER, 11g certified on WLS 10.3.1
(Farallon)
With partners
Oracle-supplied solution TBD
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
191
Registry/Repository Support for SOA
Enhanced 11g RegRep (Fall 2009)
OER 11g with SOA Suite 10g
Deeper harvesting of OSB Assets/Artifacts for visibility
OSB publishes proxy services and other artifacts to OER In addition to
WSDL, XSD, and XSLT
OSB Proxy Service Business Services Split-J oin Flows XQueries
Dependencies among these
Relationships with assets from SOA Suite Projects, incl. BPEL PM
SOA Suite 10g assets in OER are propagated to OSR
Multiple environments with consistent service keys
But No change to OSB recommended lifecycle approach
Enhanced Consumption
SOA developers consume SOA Suite assets from IDEs; OER adds J Dev and
Eclipse 3.4 consume
Cl i th L ith M t P k Pl Closing the Loop with Management Pack Plus
OSB, BPEL PM, WLS quality of service metrics are updated on endpoints
in Enterprise Repository
New endpoints for existing services are posted back in OER
381
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Registry/Repository Synchronization
Enhanced 11g RegRep (Fall 2009)
OER / OSR 11g Integrations
Synchronization of Service Keys (OER or User-defined)
WSDL ith lti l b dd d i b t dt WSDL with multiple embedded services can be propagated to
OER from OSR
OER categorizations updated based on UDDI categorization
tModelKey
Propagation of runtime metrics from OSR to OER
Bi-directional exchange of WS-Policy between OER and OSR
Under consideration
Option to promote service metadata (without WSDL and
endpoints) from OER to OSR for OSB
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
192
Result: Metrics in Enterprise Repository
Enhanced 11g RegRep (Fall 2009)
Closed Loop Metrics:
Daily Average Response Time
Supports Management Pack Plus for SOA 10 (2009) and 11g(2010)
Weekly Average Response Time
Monthly Average Response Time
Minimum Response Time
Maximum Response Time
Daily Requests
Weekly Requests
Monthly Requests
Daily Faults
Weekly Faults y
Monthly Faults
Start Date for Metrics Monitoring
Last Updated
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Application/Adapter Model
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
193
Adapters in Enterprise Repository
Enhanced 11g RegRep (Fall 2009)
Enhanced metadata model
Includes Oracle EBS, J MS, iWay
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Vision: Closing the Loop
Harvest
Target
Service
Metadata
Architect
Service Definition
BPEL
WSDL
XSDs
Service Implementation and
Configuration
Service Bus
Other Runtime
Metrics
Repository
etadata
UDDI
Metrics via
Publish
UDDI
Approve
SOA Test, Staging &
Production
Auto Deployment
SOA Monitoring &
Management
Single View of Assets
Business
Owners
XSDs
Code
Proxy
Validation,
Proxy Pipeline
SOA Designers
and Developers
Mediation
UDDI
Discover
Staging
Metrics via
UDDI
Integration
Testing
Production
Policy Enforcement
IT
Operations
Management
SLA Management
Consumer Provisioning & Contract Management
Production
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
194
<Insert Picture Here>
Oracle Registry Repository
SOA 11gR1
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Emergence of Service Platforms
SERVICE PLATFORM
11g
Integrated for ease-of-use
&optimized performances
Web Services
BPEL
ESB
10.1.3
10.1.2
& optimized performances
Yet, fully standards-compliant
No sacrifice on hot-pluggability
SCA
WSDL
CORBA
EAI
Messaging
J2EE
XSLT
XML
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
195
Oracle 11g SOA Composite
SOA composite is a standards-based deployment unit
Leverages the SCA assembly model
Can mix variety of components: Mediator, BPEL,
Human Workflow, etc.
Mediator
service
reference
S S
R
properties
BPEL
WS
WS R S
R
R
BPEL
wire
SOA composite
R WS
S
R
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Oracle 11g SOA Composite
SOA composite is a standards-based deployment unit
Leverages the SCA assembly model
Can mix variety of components: Mediator BPEL Can mix variety of components: Mediator, BPEL,
Human Workflow, etc.
11g Registry/Repository
Harvests projects and files
SCA, WSDL, XSD
Exposes
Mediator
service
reference
S S
R
properties
BPEL
WS
WS R S
R
R
Registry
Repository
Registry
SCA services
External Services BPEL
wire
SOA composite
R WS
S
R
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
196
11g Design Time Asset Management
With Enterprise Repository and Service Registry
Repository
Impact
Anal ysis
JDev Asset
Browse and Consume
Registry/Repository
Bindings and
Categorizations
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Other Repository Infrastructure
Planned for 11g Release
Migration path for ALER customers to OER
Blends ALER 3.0 model with 10gR3 model, and advances it
to SCA for 11g composites
Platform Certification
WebLogic Server 10.3.1 (Farallon)
Windows 2008
Eclipse 3.4 with Oracle Enterprise Platform for Eclipse
Already on OTB:
VS.NET 2005
ClearCase 7
AIX
Other TBA
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
197
11gR1 Oracle Service Registry Use Case
SOA Runtime Endpoint Consumption
SOA Suite 11gR1 continues to use UDDI Inquiry API
Single Composite (SCA) supported across11g BPEL, Mediator
Composites, WSDL and endpoint published to UDDI
SCA Composites have External References pointing to Services in UDDI
OSR UDDI Inquiry URL configured in Unified SOA Console
Zero Latency Performance with 11g Composite Cache
Endpoint error triggers reload from OSR
Under consideration: UDDI Subscription API for EndPoint changes ala OSB p g
SOA 11g requires both WSDL and Endpoint in OSR
Represented as 2 UDDI Binding Templates in OSR: WSDL and Endpoint
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
SOA Governance
Focus on the Design Phase
Visibility
Develop
Design
Analyze
& Model
Visibility
Control
Deploy &
Secure
Registry / Repository
Analytics
Retire
Services
Manage Change
Monitor
Policies
& SLAs
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
198
Order Processing
A Top Down Approach
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
OER 11g SCA Data Model
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
199
Order Processing OER Design Lab
Design a Composite
Install OER 10.3 into OSB 10.3 WLS Container
Browse Console and Start the Asset Editor
Create a Composite and Create Services
Create Relationships Create Relationships
Composite, Services and Existing Policies
Harvest and Post Process WSDL from POProcessing project
Install and Configure Harvester to Harvest a WSDL file
Define the relationship between the Service and WSDL (can be automatic)
Define the relationship between the Service and the Composite you created earlier
Promote Service to OSR (Optional)
Install OSR 10.3 onto OSB 10.3 WLS Container
Configure the OER 10.3 Harvester
Promote Service and WSDL to OSR Promote Service and WSDL to OSR
Consume Service from OSR/UDDI, Deploy and Test (Optional)
Configure J Dev and SOA Infra OSR Server Connections
Create project with external reference from OSR/UDDI
Deploy and Test project
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Oracle Complex Event Processing (CEP)
Event-driven Architecture, Real time Java Event driven Architecture, Real time Java
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
200
ORCHESTRATION
Oracle SOA and Event Technologies
GOVERNANCE
System
Monitoring
Enterprise Enterprise
Manager Manager
GOVERNANCE
REAL-TIME
VISIBILITY
& PROCESSING
Alerts
Business Monitoring
BAM BAM
Events
Data Streams
CEP CEP
Enterprise
Modeling
BPA Suite BPA Suite
CONNECTIVITY
Routing Transform
Data
Quality
ETL &
Replication
Data Integrator Data Integrator Oracle Service Bus Oracle Service Bus
Mediation
ROUTING & DATA SERVICES
Native
BPEL
Business
Rules
Human
Workflow
BPEL Process Manager BPEL Process Manager
WS Policies
Security
Web Services Web Services
Manager Manager
SOA lifecycle
governance
Enterprise Enterprise
Repository Repository
Application
Development
Framework
JDeveloper JDeveloper
Business User
Modeling
BPM Suite BPM Suite
Apps
Adapters Adapters B2B B2B
Partners DB Legacy
Coherence Cache
J2EE Application Server
(Oracle AS, WebLogic, WebSphere, JBoss)
Messaging
UDDI
Registry Registry
JRockit VM & RT
399
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Oracle EDA Suite
Complete Suite for Industrial Event Processing
REAL-TIME
VISIBILITY
&
Alerts
Business Monitoring
BAM BAM
Event Feeds
Data Streams
J b d E t
CEP CEP
Routing Transform
Data
Quality
ETL &
Replication
Data Integrator Data Integrator
Oracle Enterprise Oracle Enterprise
Service Bus Service Bus
Mediation
&
PROCESSING
Java-based Event
Server
Adapters Adapters
CONNECTIVITY
ROUTING &
DATA
SERVICES
Business
Rules
Socket DB File
CONNECTIVITY
J2EE Application Server
(Oracle AS, WebLogic, WebSphere, JBoss)
Industry Specific JMS
Coherence JRockit VM JRockit RT
ENTERPRISE
PERFORMANCE
& SCALABILITY
400
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
201
Event-Driven Applications
Asset management
Distributed order orchestration
Financial Services
Transportation &
Logistics
Public Sector & Military
Manufacturing
Utilities & Insurance
Telecommunications &
Services
Algorithmic trading
Negative Working
Capital inventory
management
Proximity/Location Tracking
Intrusion detection systems
Military asset allocation
Need to support one or more of:
High volume
Continuous streaming
Sub-millisecond latency
Disparate sources
Time window processing
Complex pattern matching
Grid Infrastructure Management
Reponses to calamities
earthquake, flooding
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Focus on Event-Driven Architecture (EDA)
Lightweight, Low Latency, Extreme High Throughput,
and Java-based Application Container
Oracle Complex Event Processor
f
Processors
Set of queries applied
to the streams
Listeners
Handle triggers raised
by the processors
Events
Implemented as
J avaBeanor Map
Enriched Streams
From any source:
data streams, web
services, J ava,
Database
Adapters
Translate external
events/data into
java objects for
Data/Msg.
Feeds
Listener/SINK:
User Code
(PlainJ ava)
Data Feed
Adapters
Process
Events
(CEP)
EDA Java Application Container
Aver age Latency vs. Inj ection Rate (10 Connecti ons)
0
10
20
30
40
50
60
70
80
0 200000 400000 600000 800000 1000000 1200000
A
v
e
r
a
g
e

L
a
t
e
n
c
y

(
m
i
c
r
o
s
e
c
o
n
d
s
)
Distribution of Latency Values
20,136,515
3,054,550
131,598
0
5,000,000
10,000,000
15,000,000
20,000,000
25,000,000
0 - 99 100 - 199 >=200
#

o
f

O
u
t
p
u
t

E
v
e
n
t
s
J avaBean or Map
java objects for
processing
Incoming Data Streams
1,000,000+Messages/Sec
Aggregate, correlate, filter data
Can Handle Unlimited Queries
Resulting Data fed to vast
business opportunities
with Java language
Latency
Microsecond Latency (Avg.)
Injection Rate (events/second) Latency Range (microseconds)
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
202
Event Processor
Oracle Complex Event Processing (CEP)
Streams
BA BOEING D 77.575 800 20080305 10:03:02:78
DO DUPONT D 41.575 3000 20080305 10:03:04:12
AA ALCOA INC D 20.125 1000 20080305 10:03:01:55

Continuous input, often in high-volume


Time ordered
Does not end
Impossible to process / analyze in real-
time with traditional relational database
systems
AXP AMER EXPRESS CO D 45.875 500 20080305 10:03:02:10
BA BOEING D 77.575 800 20080305 10:03:02:78
C CITIGROUP D 34.125 2000 20080305 10:03:03:05
CAT CATERPILLAR D 22.5 600 20080305 10:03:03:46
DO DUPONT D 41.575 3000 20080305 10:03:04:12
AA ALCOA INC D 20.125 1000 20080305 10:03:01:55
AXP AMER EXPRESS CO D 45.875 500 20080305 10:03:02:10
BA BOEING D 77.575 800 20080305 10:03:02:78
C CITIGROUP D 34.125 2000 20080305 10:03:03:05
CAT CATERPILLAR D 22.5 600 20080305 10:03:03:46
DO DUPONT D 41.575 3000 20080305 10:03:04:12
AA ALCOA INC D 20.125 1000 20080305 10:03:01:55
AXP AMER EXPRESS CO D 45.875 500 20080305 10:03:02:10
BA BOEING D 77.575 800 20080305 10:03:02:78
C CITIGROUP D 34.125 2000 20080305 10:03:03:05
T
im
e
Event Processing provides a newdata CAT CATERPILLAR D 22.5 600 20080305 10:03:03:46
DO DUPONT D 41.575 3000 20080305 10:03:04:12
AA ALCOA INC D 20.125 1000 20080305 10:03:01:55
AXP AMER EXPRESS CO D 45.875 500 20080305 10:03:02:10
BA BOEING D 77.575 800 20080305 10:03:02:78

Event Processing provides a new data


management infrastructure to support and
analyze Streams in real-time
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Oracle Complex Event Processing
In-Memory, Continuous Queries
Event Processing Output
Filtering
New stream filtered for specific criteria,
e.g. stock price >$22
Correlation &Aggregation
CAT CATERPILLAR D 22.5 600 20080305 10:03:03:46
DO DUPONT D 41.575 3000 20080305 10:03:04:12
AA ALCOA INC D 20.125 1000 20080305 10:03:01:55
AXP AMER EXPRESS CO D 45.875 500 20080305 10:03:02:10
BA BOEING D 77.575 800 20080305 10:03:02:78

Correlation & Aggregation


Scrolling, time-based window metrics, e.g.
average #of stock trades in the last hour
Pattern Matching
Notification of detected event patterns,
e.g. price changes A, B and C occurred
within 15 minute window

EP
Runs In-Memory (not in
Example: Stock Trading W Pattern
Z
Runs In Memory (not in
Database)
***
Logic is defined through
Continuous Queries on the
data
1 9 12
19
minutes
X
Y
W
Z
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
203
Lightweight Server for Event Processing
Financial Services: Signal Generation Demonstration
Data/Msg.
Feeds
Listener/SINK:
User Code
(PlainJ ava)
Data Feed
Adapters
Process
Events
(CEP)
EDA Java Application Container
Load Generator
-AMEX symbols
- Level 2 mkt
data (520 bytes) data (520 bytes)
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Delivering Event-Driven SOA
Example: Baggage Handling
Ticketing
Reservations
Service Bus
Situational Awareness
Gate Operations
Flight Operations
missing-bag
flight-delay
statistics
BAM
flight-open
flight-boarding
flight-closed
flight-push-back
flight-wheels-up
passenger-on
passenger-off
Event Server
check-in
bag-check
bag-tracking
bag-in-container
container-on-plane
Baggage Handling
statistics
BPM/ BPEL lost-bag
WLRT
CEP
SOA Message
Event
Legend
Edge Device (RFID)
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
204
Advanced Tooling for Developers,
Administrators, IT Management,
Business Users
App Frameworks
Oracle Complex Event Processing
Oracle Complex Event Processor (11gR1)
Oracle Business Activity
Monitoring
Continuous Query Language
Rich SQL 99 Compliant continuous query
language
SQL extensions for Pattern recognition
150+Built in Maths & Stats functions
Strong Integration to Oracle DB
Ti T I t ti
Local Cache
Programmatic access to local caches
Integrate directly within EPN Nodes
Core Event Infrastructure
POJO Spring Services
Enterprise Server Topology High Availability
Managed Event Server Cluster
L
a
t
e
n
c
y

A
n
a
l
y
z
e
r
Complex Event
Processing
Stream
Management
Real Time
Kernel
Extended Event Infrastructure
Cluster
Management
Data
Caching
HTTP
Pub/Sub
Engine
Event
Coherence Integration (Clustering)
Scale out Distributed Computing Grid
TimesTen Integration
Business Activity Monitoring Integration
Historical Event Management
Store Events for persistence
Record/Playback Event activity
Report on Event dialogs
Web2.0 Web Client push-based infrastructure
Web based clients send and receive
asynchronous messages over HTTP
Event server components can subscribe to and
publish to channels
Repository
WebLogic Application Grid
WebLogic Real Time
J Rockit DGC
J Rockit
Foundation Services
Coherence
Config/Admin
Security
Logging
Oracle CEP Application Model
Service1 Service2
<<OSGI Service>>
<<OSGI Service>>
Export Import
OSGI B ndle/SpringApplication Conte t
e
Adapter
Ad t
Processor
Adapter
Data Source
Queries
<<Source>>
<<Source>>
<<Sink>>
Event Processing Network (EPN)
OSGI Bundle/Spring Application Context
Queries
Channel
Channel
Channel
Event->External Format
External Format->Event
Adapter
Data Source
Channel
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
205
Event Processing Networks (EPN)
EDA is composed of several processing steps
intermingled with user logic.
Listener
Processor
Rule
Processor
Query
Adapter
Adapter
Processor
Listener
- POJO
Event Source
Data Source
Query
Rule
Query
Query
Rule
Processor
Query
This arrangement or network of event processing components is
called an event processing network (EPN).
Rule
Cache Rule
Processor
Query
Listener
- ALSB
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Caches, stores, loaders, listeners, UDF are all
configured as spring beans
C h b fi d St i A
Oracle CEP Caching Programming Model
Built on Coherence
Cache can be configured as Staging Area
Caches are source(s)/destination(s) for a Processor
Caches are used for:
Distributing Streaming Data
Enriching events
Staging area for Correlated data
Publishing events to a cache
Fault tolerance
High availability
Scalability
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
206
Eclipse plug-ins extend WTP, support OSGI
development
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Oracle CEP Constructs & Visual Tooling
Event-driven components
Adapter
Event source J MS, File, Socket,
etc.
Complex Event Processor
Channel
Cache Cache
DB Table
Continuous Query Language (CQL)
Sink
Complex event output POJ O
listener, J MS, etc.
Event types
Event objects are instances of
event types
Implemented as J ava Beans, Maps,
or Tuples
Graphical visualization and editing of Event Processing
Network (EPN)
Filterable for multiple EPN Assembl y files
Navigation (e.g. double-click to go to source or rename
node)
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
207
Oracle CEP IDE Demonstration & LAB
Reference the provided LAB Guide
InthisLAB youwill createanOracleCEPHelloWorld In this LAB you will create an Oracle CEP HelloWorld
Application, deploy (publish the Application) and review the
results.
Optionally, you will visually modify the application and re-deploy
with new duplicated results.
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Simplified Administration and Deployment Management, Advanced EDA Event Processing Network Performance Tuning
Dynamic Continuous Query Event Processing Language Injection
Oracle CEP Visualizer : Navigation Techniques
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
208
Oracle and CQL
Initiative for a complete continuous query language
Start with SQL 99 plus continuous query
extensions
Based on Stanford University research
Industry standards discussion
Event Processing Technical Society (EPTS)
ANSI SQL
OMG
Adoption Today
ANSI SQL Standards Proposal for CQL Pattern Matching p g
Oracle, IBM, Stanford University
OpenSource Adoption of CQL
Oracle Complex Event Processor (CEP) ReleaseAvailable in 11g R1
415
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
CQL Example
Calculates aggregate values
over a sliding 1 second
window with output every half second
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
209
CQL Constructor
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
CQL Query Plan and Real time monitoring
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
210
Basic Hot-Hot Clustering
Adapter Processor
ClusterAware
E tFilt
1.Events are processed in
parallel by both servers
2.Cluster members are
notified of membership
changes in the cluster
3 M b d t i if
Operation
Adapter ocesso
EventFilter
Event Source
Failure
3.Members can determine if
they are the new primary
4.Members only forward
final events if they are
currently the primary
Event Sink
Membership Change Event
1.Loss or duplicate events
during notification of new
Limitations
Adapter Processor
ClusterAware
EventFilter
during notification of new
primary Final Events
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Hot-hot with Cache-based De-duplication
JMS
Ad t
Processor
JMS
Ad t
CacheAware
EventFilter
1. All final events have a
comparable key.
2. CacheAware filter attempts to
lock on event key, then tests
for presence of key
Operation
Adapter
ocesso
Adapter
Cache
EventFilter
Lock on key
Event Source
Event Sink
for presence of key
3. A put on key implies
ownership of sending the
event
1. Lock on key
2. cache.put(key)
3. sendEvent(event)
JMS
Adapter
JMS
Adatper
Processor
CacheAware
EventFilter
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
211
Cluster
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Coherence Cache Management with OCEP
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
212
Complete Top-Down layered Platform built
from the ground up for performance
Performance orientated Server Clusters
Extreme flexibility using Coherence Extreme flexibility using Coherence
Real Time Optimized EDA Java Event Server
Lightweight OSGi Java Container
Services to manage real time profiling and tuning
Event Processing Network Application Model
Application Thread Optimization
Deterministic Latency JRockit Real Time
Unique Performance tooling on the worlds fastest JVM
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Focus on Event-Driven Architecture (EDA)
Performance of the Lightweight, Low Latency, Extreme
High Throughput, and Java-based Application Container
http://www.oracle.com/technology/products/event-driven-architecture/complex-event-processing.html
Oracle Complex Event Processing
f
Processors
Set of queries applied
to the streams
Listeners
Handle triggers raised
by the processors
Events
Implemented as
J avaBeanor Map
Enriched Streams
From any source:
data streams, web
services, J ava,
Database
Adapters
Translate external
events/data into
java objects for
Data/Msg.
Feeds
Listener/SINK:
User Code
(PlainJ ava)
Data Feed
Adapters
Process
Events
(CEP)
EDA Java Application Container
Aver age Latency vs. Inj ection Rate (10 Connecti ons)
0
10
20
30
40
50
60
70
80
0 200000 400000 600000 800000 1000000 1200000
A
v
e
r
a
g
e

L
a
t
e
n
c
y

(
m
i
c
r
o
s
e
c
o
n
d
s
)
Distribution of Latency Values
20,136,515
3,054,550
131,598
0
5,000,000
10,000,000
15,000,000
20,000,000
25,000,000
0 - 99 100 - 199 >=200
#

o
f

O
u
t
p
u
t

E
v
e
n
t
s
J avaBean or Map
java objects for
processing
Incoming Data Streams
1,000,000+Messages/Sec
Aggregate, correlate, filter data
Can Handle Unlimited Queries
Resulting Data fed to vast
business opportunities
with Java language
Latency
Microsecond Latency (Avg.)
Injection Rate (events/second) Latency Range (microseconds)
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
213
CEPCustomerImplementations&Projects
RealTimeSystemsManagement&Faultmitigation
BorderSecurity,TransportationLogistics
i i f i DynamicAircraftMaintenance
RealtimeSlotMachineUsagepersuasion
OnlineFraudDetection
SmartMeters
RoadwaysTollManagementSystems
Intelligent Cable Box Management IntelligentCableBoxManagement
EmergencyServicesRealTimeLocationProximityTracking
AlgorithmicTrading,SmartOrderRouting
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
Oracle CEP: Why We Win
A Complete Event-Driven Application Infrastructure
Keep up with streaming event
sources
event serverOracle CEP
S t t d l d Support an event model and
associated tools that make
solutions
Fast to build
Easy to adapt
High performance
event processing network
Oracle CEP
Process at high speed/low latency g p y
with determinism
real-time JVMJRockit RT
Ensure that output is highly
available and scalable
distributed cacheCoherence
For Oracle employees and authorized partners only. Do not distribute to third parties.
2009 Oracle Corporation Proprietary and Confidential
214
For Oracle employees and authorized partners only. Do not distribute to third parties.
2008 Oracle Corporation Proprietary and Confidential

You might also like