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
ppurposes 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 Oracle’s
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 Partner’s
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 Partner’s 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 PalvankarHemesh Surana
For Oracle employees and authorized partners only. Do not distribute to third parties. © 2009 Oracle Corporation – Proprietary and Confidential
3
Your instructors
• Prasen Palvankar• Hemesh Surana
• 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 situationTo be packaged and delivered in the field by the fieldTo be packaged and delivered in the field, by the fieldTo be used as a blue print for Oracle University classesTo 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 Playery• 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 1Start Duration Title Presenter09:00 30 Welcome & content distribution
09:30 30 PO Processing Case Study overview
10:00 90 SOA/SCA Overview
11:30 30 EM Overview12: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 2Start Duration Title Presenter09:00 60 BPEL, Human Workflow overview10:00 2hrs Chapter .4-5-6 lab12:00 60 LUNCH
01:00 30 Rules overview01:30 2hrs Chapter 7-8-9 lab03:30 30 OWSM Overview04: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 3Start Duration Title Presenter09: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 Lunch01: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 byThe 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-JMSAdapter• 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-JMSAdapter
For Oracle employees and authorized partners only. Do not distribute to third parties. © 2009 Oracle Corporation – Proprietary and Confidential
What’s 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
B2BESB
ConnectADAPTERS
Basic Components of a SOA Infrastructure
Build/re-use ServicesWeb or Legacy Services
BPELRoute & Transform
ESB & B2B
WEBSERVICE
WEBSERVICE
LEGACYSYSTEM
RULES ENGINE
Externalize business rulesRULES ENGINE
IF
IF
BPEL
OrchestrateBPEL/BPM ENGINE
HUMANWORKFLOW Involve human beings
HUMAN WORKFLOW
WEBSERVICE LEGACY
SYSTEM
SecureGLOBAL SECURITY FRAMEWORK
VisualizeBUSINESS 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 11Oracle SOA Suite 11g What’s 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 complexSOA 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 bindingp pcoming 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 TechnologiesDesign-timemetadata
Managementconsole
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-timemetadata
Managementconsole
Runtime
ESB
BPEL PM
RulesCompositeApplication
For Oracle employees and authorized partners only. Do not distribute to third parties. © 2009 Oracle Corporation – Proprietary and Confidential
Emergence of Service Platforms
SERVICE PLATFORM11g• Integrated for ease-of-use
& optimized performances
Web ServicesBPELESB 10.1.3
10.1.2
& optimized performances
• Yet, fully standards-compliant• No sacrifice on hot-pluggability
SCA
WSDL
CORBA
EAIMessaging
J2EE XSLTXML
For Oracle employees and authorized partners only. Do not distribute to third parties. © 2009 Oracle Corporation – Proprietary and Confidential
19
<Insert Picture Here>
AdoptingWebLogic 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 wizardg• 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 JMS as default
messaging in addition to AQ JMSmessaging, in addition to AQ JMS.• J2EE and Spring: all SOA engines are J2EE
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 JGroups)
Additi l SOA b fi d i WLS l• Additional SOA servers can be configured using WLS console• JMS 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 tService 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 ofC1service
S S
R
properties
Java 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
C2
wire
component
composite
reference
S
R R
Binding:SOAP
JMS
JCS
…
Co po e t p o des og c• 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
BPELWS
WSRS
R
R
BPEL
wire
SOA composite
R WSS
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
MediationMediationWeb servicesand adaptersWeb servicesand adapters
Palette of Service Components
& Adapters
Palette of Service Components
& Adapters
BPEL orchestration
BPEL orchestration
pp
MediationMediation
Business RulesBusiness Rules
Human TasksHuman 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 operformance:• over the wire (SOAP/HTTP)
transmissions
• marshalling/unmarshalling of messages between enginesmessages 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 InfrastructureOne unified infrastructure to manage
Applicationcomposers
BPEL
HumanTask
RulesMediation
Mediation
11g Service Infrastructure
BusinessRulesMediator
Policy ManagerOptimized
binding
BPEL HumanWorkflow
Oracle Service Bus
Common JCA-based connectivity infrastructureRepository
p
IDESCA Composite
SOA Composite Editor
BPEL orchestration
Business Rules
Human Tasks Web
servicesand
adapters
BAM Oracle Service Bus
46
SOAOperations
Web-basedconsole
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 HumanTask
Global Policy Management:Oracle WSM Policy Manager
• Clearly separates process logic from security concerns
• Secures endpoints
Service Infrastructure
Policy ManagerTask
SOAP SOAP
Web Service Interceptor:
• Authentication
Service Component Interceptors:
• Authorization
22 33 44
5511
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 & 3rd-
Party)DBLDAPFile
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. Namespaces2. Events Names3. 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 failedError 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
JEEapps
Dashboards
SOAapps
instances
Contextualmenu
CompositeCompositetest page
pp
errors
FMWComp.
NavigationNavigationtree
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
54For 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
BAMCEPEDN
EDA delivers real-time event processing for monitoring, analyzing, and acting on business process optimization.
BAM Dashboards
Mobile Devices
createSupplier
ADF page flowand 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 thSeamless 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 JDeveloper and re-deploy!JDeveloper and re-deploy!
JDeveloperor command-line
11g SOA Suite
3. deploy
1. open 2. save
11g composite project10.1.3 ESB or BPEL project
11g SOA SuiteServer
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 iUser 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• Outgoing notifications from a BPEL processOutgoing 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
“it’s 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 testingto 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 Testing10.1.3 BPELTest framework elevated to composite level
1. Define tests / asserts / emulations (JDeveloper)2. Execute (SOAConsole or ANT)2. Execute (SOAConsole or ANT)3. Review results (EM or standard JUnit 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
65For 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 JDeveloper 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 dBAM 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 dataUse 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 JMS 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 dB2B 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 program to export agreements into aRun 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 dSOA 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 JDeveloper, apply any manual steps and re-deploy!any manual steps and re-deploy!
JDeveloperor command-line
11g SOA Suite
3. deploy
1. open 2. save
11g composite project10.1.3 ESB or BPEL project
11g SOA SuiteServer
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 projectsCan 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
Jdeveloper 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 JDeveloper 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 g10g 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 ESBArtifacts 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 WSDL’s, 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 gBPEL 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 gfeasibility 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 system has all long running processes in retired10g 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 t11g 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 gEM, JMX/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 tSecuring 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 ppresentation. (refer OVD, OID, JPS, 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 compositesOWSM Migration
• 11g SOA install auto-deploys 11g OWSM policy manager• 10g OWSM policies do not migrate to 11g OWSM as they are
syntactically different Refer to OWSM guide for 10g policy tosyntactically different. Refer to OWSM guide for 10g policy to 11g policy mapping.
• If 10g BPEL/ESB is secured using OWSM agent, then• There’s no need for agent migration as agent is built-in the 11g SOA
runtime• Using JDev/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 InteroperabilityOverview
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 OWSM gateway interoperates with 11g SOA10g 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 SOAEnterprise 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 AttachmentPolicy 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 enabledp ,
• 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• Common features 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 operationsp
• Operator• Deploy / Un-deploy / Re-deploy• On / Off, Active / Retire• Attach / Detach policies• Delete instances• Composite level settings for audit trail, payload validationp 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 ManagerFusion Middleware Control• Everything mentioned
so far…
WebLogic ServerAdministration Console• Adapter configAdapter 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 Forward…10g to 11g
Oracle ESB +
New features:• SCA Enabled• Rule Engine based
Dynamic Routing • Support for all
MEP Patterns• Java Callout• Converged Fault
Service Infrastructure
BusinessRulesMediator
Policy ManagerOptimized
binding
BPEL HumanWorkflow CEP
JCAService/Event Delivery API
10g + Converged Fault Fwk
• Eventingetc…
binding
Oracle Service Bus
Repository
AquaLogicService 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 singleSCA alignment All SOA components are part of single
project• Java 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
Applicationcomposers
• Inline mediation• Transformations• Filtering
Service Infrastructure
BusinessRulesMediator BPEL Human
Workflow CEP
Oracle Service Bus
JCA
SOAOperations
• 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 SOAseamless 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 11GOracle 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 ArchitectureAdapter 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 ArchitectureOrchestrate 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 itSOA 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)
• 3rd-party (Partners) adapters – co-sell
• Single JCA framework for all adapters:
• In-memory invocation
• Transactional
• SCA
• JCA Binding
• Hot Pluggable: Oracle adapters can be
OracleAS Adapters Legacy Legacy
ApplicationApplication
O lO l
PackagedPackagedApplicationApplication
BPEL PM
TechnologyTechnology
OSB
PORTAL
AdapterDesign-time
WSDL
JCA
NativeInterface
BAM
• Hot Pluggable: Oracle adapters can be deployed on 3rd-party containers, along with SOA Suite
• Declarative configuration
• Services & References
J2EE Application Server(Oracle & 3rd party
Application Servers)
Oracle Oracle ApplicationsApplications
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…
DatabasesOracle 8i and aboveIBM DB/2InformixClarion
ApplicationsOracle ApplicationsSAP R/3, mySAP Peoplesoft
TechnologySOAPHTTP, HTTP-S, RESTEmail – POP3, SMTP, IMAPFTP, FTP-S
ClipperCloudscape DBASE Dialog Essbase FOCUS Data Access Great Plains Microsoft SQL ServerMUMPS (Digital Standard MUMPS)Navision Financials (ODBC 3.x)NucleusParadoxPointbase
JD EdwardsSiebel ClarifyLotus NotesAribaAXIOM mx/open BaanBroadVisionClarifyCommerce OneHogan Financials i2 TechnologiesLawson
Flat FilesJMSOracle AQIBM MQSeriesTIBCO RendezvousSocketMSMQ
LegacyCICSIMS/DB IMS/TM
BundledSold as an option, direct from OracleAvailable through certified partnersPointbase
PROGRESSRed BrickRMS SAS Transport FormatSybaseTeradataUnisys DMS 1100/2200 UniVerse
LawsonLivelink Manugistics Microsoft CRM VantiveWalker Interactive RemedySalesforce.com
VSAMADABASNaturalTuxedoCA-DatacomScreen ScrapingCA-IDMSC-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 AdapterFTP Adapter• Socket Adapter• JMS 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 JCA Bindings)2. XSD3. Others (e.g Toplink xml files
with DB adapter)• Inbound JCA• Outbound using WSIF• Resource adapter XML File outside of
RAR. E.g. OC4J-ra.xml• EM based ra.xml file modification• End point Properties through individual
1. ServiceName.wsdl2. ServiceName.xsd3. Adapter.jca4. Others (e.g. .properties,
mappings.xml file• Runs on the SCA Infrastructure• Inbound “Services”• Outbound “Reference”• Abstract WSDL
JCA Bi di (SCA)• End point Properties through individual consoles
• JCA 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 JCA File<adapter config name="MedFlatIn" adapter="File Adapter" xmlns="http://platform integration 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 (JCA 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> <component name="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 AdaptersNew Features 11g
AQ AdapterCompletely re-designedMultiple receiver threads (Inbound)AQ J d t d
Socket AdapterWizard UI in JdeveloperSupport one-way, request/responseC l t l h d h k
MQ SeriesIntegration with IMS and CICS systemsSupport for SSL
File/FTP AdapterPolling from multiple directoriesSupport for Append in Ftp AdapterSupport for active/active failover
JMS AdapterMap message supportCertification Active MQ, Weblogic JMS, IBM MQ, IBM JMS OC4J
AQ Jar deprecatedNew 11g JDBC.jar Based AQ integrationUI Support enqueue/dequeue
DB Adapter Stored procedure support for DB2/AS400 Sybase
Complex protocol handshake declaratively (using XSLT) or custom Java codeSupports multiple character encodingIntegrated with translator infrastructure
Support for SSLUser ExitsRFH2 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 failoverSupport for ftp servers running on mainframesChunked Interaction a.k.a Outbound De-batchingSupport for huge file transfers (~gigs)
JMS (10.1.3.4), WLS remote queuesStream support for large payloadRequestor Pattern (Temporary Queue)
DB2/AS400, SybaseImproved WizardsDistributed 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:• J2CA standards for outbound and inbound communication• J2CA standards for outbound and inbound communication
SOA Composite
Client
Outbound
EISJCA adapter
S i
Reference
Oracle Weblogic Server 11g
JCA activationagent
Client
EISJCA 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
MediatorS S
RJCA
XMLBi XML
XML Most SOA products, XML and messaging-oriented, do not handle well large documents. Oracle SOA Suite covers all use cases :
BPELS
R R
Database
JCA
Binary XML
Binary XML
DO
CUM
ENT
MAN
AGER
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 Debatchingadapters\adapters-file-103-File Adapter Scalable DOMadapters\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 SlidBackup 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 can serveSupports both enqueue and dequeue operations, and can serve
as a producer as well as a consumer of AQ messages• Transactional
BAM
BPELWSIFConsumer
OSB
Portal
Java EE applicationOracle 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 itSOA 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 itSOA Suite
Applications Integration
For Oracle employees and authorized partners only. Do not distribute to third parties. © 2009 Oracle Corporation – Proprietary and Confidential
63
Ebusiness SuiteIntegration Repository - Local and Hosted
• Catalog of all E-Business Suite Integration Points
• Source of truth for all integration projects forintegration projects for
CustomersConsultants & Integrators
• Assurance that you are using public supported and certified interfaces
• Powerful UI for searching and viewing available Interfaces
• Better planningBetter 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--BusinessBusiness
SuiteSuiteAdapterAdapter
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 itSOA 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
AdapterAdapter
JMSJMS
HTTPHTTP
FTPFTP
TCP/IPTCP/IP
JCA
WSIF
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
IntegrationBroker
SOAP
Explorer• Metadata expressed in XSD/WSDL format.
PeopleToolsPeopleToolsJ2EE 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
OracleAdapter
ForSiebel
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, HTTPD 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
ApplicationApplication
O lO l
PackagedPackagedApplicationApplication
BPEL PM
TechnologyTechnology
OSB
PORTAL
AdapterDesign-time(JDeveloper)
WSDL
JCA
NativeInterface
BAM
• Encodings
• Priority, persistence, expiry
• Various kind of reports e.g COA, COD etc.
• Global Transaction Support (XA)
J2EE Application Server(Oracle & 3rd party
Application Servers)
Oracle Oracle ApplicationsApplications
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 Oracle10g
iWay WebMethods6.x
TIBCO5.x
Librados
Version awareness & iREPi t tiintegration
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 PartnersAdapters 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
• JCA Transport + Adapter Certifications• Packaged with OSB install
OSB 10.3.1
• AQ • Database• EBusiness Suite
• Packaged separately• SAP• PeopleSoft• SiebelSiebel• JD 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 view…Why? 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• ExtensibleExtensible• 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 and WSDL typed variablesXML 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 Java APIPublic Java 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
UnitedLoad
?
Send RFQ
Receive quote
Send RFQ
Receive quote
Select best vendor
StarLoan
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
Java Service
ERPSAP O l t
DatabaseStored Procedures
BPEL
IUTOMCAT
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
ProcessModeller
BPEL
BusinessRulesMediator BPEL Human
Workflow
SCA Composite
SOA Composite Editor
BPEL
HumanTask
Rules
BPEL orchestration
Business Rules
Human Tasks Web
servicesand
adapters
Mediation
SAR
11g Service InfrastructurePolicy ManagerCommon JCA-based connectivity infrastructure
DehydrationStore
MDS
Web-basedconsole
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 11gScalable DOM
Reduced memory consumptionBetter performance for large payloads
Entity VariablesC
Transformations Multiple input sourcesComplex constructs: any, xsi:typeSubstitutionsAbstract types and elements
Claim-check conceptFetching of data is deferred until neededInterfaces:
ADF-BC (SDO data), RDBMS
RuntimeIn-memory state (Fusion CRM)RAC integration enhancementsUnified error hospital
EDN SupportBPEL can publish and subscribe to events directly
Migration ToolMigrate existing BPEL processes to composite applicationAbility 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 ServiceWSDL
Workflow ArchitectureJDeveloper
Task MetadataTask MetadataTask MetadataBPEL DesignerBPEL Designer
Custom App
Assign Tasks
TaskComplete
BPEL Process
WSDLInterface
C S
Worklist Application
Update Task
Supervisor
Work Assignee
Process Owner
ServiceComponent Services
• Task Management ServiceTask data, forms, Attachments
• Task Routing ServiceAssignment, Dispatching
• User Metadata ServiceRules, Work queues
• Identity ServiceUsers, Roles
• Worklist ServiceTask query, Reporting
• Notification ServiceEmail, Wireless
Consumer(Non-BPEL)
JavaAPI
JavaPOJO / EJB
For Oracle employees and authorized partners only. Do not distribute to third parties. © 2009 Oracle Corporation – Proprietary and Confidential
Summary of Workflow FeaturesTask Assignment• Users• Roles• Groups
Task routing• Declarative patterns• Ad-hoc routing• Document based routing• Complex routing with business rules
NotificationsManagement 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 portletsC l t l t i bl• Completely customizable
• Web Services and Java API
Identity Management• Roles and Org. Hierarchy• Integrates with OID, LDAP,
JAZN; 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 - WorkflowADF task flow for task forms
ADF enables sophisticated task display forms using RCF components, can create multi-page formsAuto generate ADF task forms.
New Out of the box Worklist application
Digital signatures for tasksUse digital certificates to sign task content when taking actions on a task
MS Office/Excel integrationUse Excel to initiate workflows Excel to access worklist tasksNew Out of the box Worklist application
Based on rich client framework (JSF)Significant usability enhancements
New Identity management layerUse of Java 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 policiesRestrict who can see and edit different parts of the taskRestrict actions performed by participants
Task service enhancementsSupport for to-do tasksSupport for sub-tasks
Task reporting enhancementsEnd-to-end instance tracking of BPEL, mediator, Workflow
backward n levels in routing chainNotification enhancements
Reliability enhancements - Detection of auto-reply, badly formatted responses, spamUser preferences for various devices for different types of notifications
New in 11g: IM
New report for task productivity and assignee time distribution
Workflow engine dashboardWorkflow component view in SOA consoleDetailed performance metricsError 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 Jess)
• 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 AuthorCustom Author
RETE Rules “Engine”
CA
Java FactsXML FactsD
ecis
ion
Serv
ice
BPEL Java Application
/** @Foo **/method Foo(....)
{
Rules Repository
Rul
es A
PI(J
SR 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 SuiteCOMPANYOVERVIEW• 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 Uniform Interfaces 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 system interfaces, 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 AutomationApps 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 pmultitude 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 CompositeDifferent Usage Scenarios
Stand Alone
From Human Task
From BPELFrom 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 BPELwithin BPEL • Leverage BPEL variables and project schemas
• Dictionary completely setup for writing rules –i.e. facts created, tetc.
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 iauthoring
• 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 > 1000with price > 1000, require manual approval
• Out-of-box aggregation functions: count, average, minimum, maximum, sum, collectionC 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 TablesIf 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 iService 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 forDictionary 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 JDeveloper and re-deploy!JDeveloper and re-deploy!
JDeveloperor command-line
11g SOA Suite
3. deploy
1. open 2. save
11g composite project10.1.3 BPEL project or Rule Dictionary
11g SOA SuiteServer
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 JDeveloper, 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 versionof 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 parameterspDeploy to a new environment without changing core composite definition
C \t /d t / ihtt //d b 7001 htt //i 7101h t dh d
PRODUCTIONDEVELOPMENT
C:\tmp /data/receivehttp://dumbo:7001 http://ironman:7101schema=stordersschema=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 includeWSDL 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 toolsDevelopment
machine
test
Testmachine
test
Productionserver
File system
OpenCreate dev config plan
Create dev config planDeploy(from JDEV)
Check inJDev project
SVN
JDeveloper
Check outCreate test config plan
Commandline
CompilePackageDeploy(with ANT)
Check in SARCheck in test config plan
SVN
EnterpriseManager
Check out SARCreate production config plan
Deploy (from EM)
TEST PRODUCTIONDEVELOPMENT
File system SVN
devconfigplan
JDev project
testconfigplan
SARarchive
SVN
For Oracle employees and authorized partners only. Do not distribute to third parties. © 2009 Oracle Corporation – Proprietary and Confidential
Lifecycle lab• From JDeveloper:
• 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 – labDevelopment
machine
test
(simulated) Test server
test
(simulated)Production server
File system
OpenCreate dev config plan
Create dev config planDeploy(from JDEV)
JDeveloper
Get JDev projectCreate test config plan
Commandline
CompilePackageDeploy(with ANT)
Save SARSave test config plan
EnterpriseManager
Get SAR fileCreate production config plan
Deploy (from EM)
TEST PRODUCTIONDEVELOPMENT
File system
devconfigplan
JDev project
testconfigplan
SARarchive
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 ReceiveSales
DBDuplicatenumber!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 FaultsDefinition
• Defined in service WSDL• Service designer defines message structure for the faultg g• messageType defined in WSDL
• Example WSDL:
<?xml version="1.0" encoding="UTF-8" ?><definitions name=" NegativeCreditFault">
<message name="CreditRatingServiceFaultMessage"><message name CreditRatingServiceFaultMessage ><part name="detail" element="NegativeCreditFaultDetails" />
</message>
</definitions>
For Oracle employees and authorized partners only. Do not distribute to third parties. © 2009 Oracle Corporation – Proprietary and Confidential
94
Runtime FaultsAlso 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 ltBPEL 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:
<catch faultName="bpws:selectionFault">
For Oracle employees and authorized partners only. Do not distribute to third parties. © 2009 Oracle Corporation – Proprietary and Confidential
Runtime FaultsremoteFault
• A remoteFault is thrown inside an <invoke> activity• It is thrown because the invocation failsIt 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 FaultsbindingFault
• 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 FaultVersionMismatch 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 FaultsreplayFault
• A replayFault replays the activity inside a scope• At any point inside a scope this fault is bubbled up toAt 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 faulty 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 FaultsWithin 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
<throw name="throw_1" faultName="NegativeCredit" faultVariable="faultVar"/>
<catch faultName="ns1:faultName" FaultVariable="varName">
For Oracle employees and authorized partners only. Do not distribute to third parties. © 2009 Oracle Corporation – Proprietary and Confidential
98
Runtime FaultsCatching 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\system\xmllib\RuntimeFault.wsdl• Declare a variable with messageType bpelx:RuntimeFaultMessage• Catch it:
<catch faultName="bpelx:remoteFault" faultVariable="varName">
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 ltMediator 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 kFault Management Framework
For Oracle employees and authorized partners only. Do not distribute to third parties. © 2009 Oracle Corporation – Proprietary and Confidential
Fault Management FrameworkPolicy Driven Fault Handling
• Introduced in SOA Suite 10.1.3.3• Pre-10.1.3.3 implicit error handling coded into thePre 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 FaultsAdapter 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 FrameworkPolicy 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 Java 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 FrameworkPoliciesRetryAbortHuman InterventionCustom Java Actionetc...
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 Policyfault-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 Policyfault-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,
possibility of changing values 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
• Java action – custom Java
<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-terminatepropertySet="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 Java 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 EJB context – within composite’s 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 InterventionConsole Recovery
• Enterprise Manager based SOA Console• Instance detailInstance 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 InterventionConsole 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 FaultsOne-way (asynchronous) interaction: Service Provider
• Define fault operation in WSDL:<operation name="onResult">
• Execute <invoke> activity in BPEL (for the callback)
p<input message="tns:PaymentProcessorServiceResultMessage"/>
</operation>
<operation name="onInsufficientFundException"><input message="tns:InsufficientFundExceptionPaymentProcessorSvcMessage"/>
</operation>
y ( )<invoke name="replyOutput" partnerLink="client"
portType="tns:PaymentProcessorServiceCallback"operation="onInsufficientFundException"inputVariable="insufficientFundException"/>
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 FaultsRequest-response (synchronous) invocation
• Define fault operation in WSDL:<operation name="process"><input message="tns:CreditRatingServiceRequestMessage "/>
• Execute <reply> activity with fault in BPEL:
<input message= tns:CreditRatingServiceRequestMessage /><output message="tns:CreditRatingServiceResponseMessage" /><fault name="NegativeCredit" message="tns:CreditRatingServiceFaultMessage" />
</operation>
<reply partnerlinke="partner-link-name" portType="port-type-name" operation="operation-name" variable="variable-name" faultName="fault-name">
• Client catches fault in a fault handler:</reply>
<catch faultName="services:NegativeCredit" faultVariable="crError" />
For Oracle employees and authorized partners only. Do not distribute to third parties. © 2009 Oracle Corporation – Proprietary and Confidential
Runtime FaultsGetting fault details with XPath
• In a <catchAll> or specific <catch> handler...
Use the getFaultAsString() XPath extension function to obtain additional information
<catchAll><sequence><assign><from expression="bpelx:getFaultAsString()"/>o e p ess o bpe :get au t sSt g() /<to variable="faultVar" part="message"/>
</assign><reply faultName="ns1:myFault" variable="faultVar" .../>
</sequence></catchAll>
For Oracle employees and authorized partners only. Do not distribute to third parties. © 2009 Oracle Corporation – Proprietary and Confidential
108
Runtime FaultsDefinition
• Example WSDL:<?xml version="1.0" encoding="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 ?<definitions name="RuntimeFault" targetNamespace=http://schemas.oracle.com/bpel/extension><message name="RuntimeFaultMessage">
<part name="code" type="xsd:string" /> <part name="summary" type="xsd:string" /> <part name="detail" type="xsd:string" />
</message></definitions>
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 FaultsOne-way (asynchronous) interaction: Service Consumer
• Use Pick activity to receive exception callback
<pick name="pickPaymentProcessor">
<onMessage portType="ns2:PaymentProcessorServiceCallback"operation="onResult" variable="PaymentResult"partnerLink="PaymentProcessorService">
</onMessage>
<onMessage portType="ns2:PaymentProcessorServiceCallback"operation="onInsufficientFundException"variable="InsufficientFundException"partnerLink="PaymentProcessorService">
</onMessage>
</pick>
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 ServicesSecuring 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
• Don’t want developers to worry about security• Prevent security silosPrevent 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 InfrastructureWS-Security, WS-ReliableMessaging, WS-Policy
JMSJMSHTTPHTTP HTTPHTTP JMSJMSSOAPSOAP
HTTPHTTPSOAPSOAP
HTTPHTTPRESTREST
SCA Metadata Model & Service BindingSCA Metadata Model & Service Binding
WS-Security
(SAML,…)WS-
AddressingWS-
ReliableMessaging
Auditing LoggingAgent
Declarative QoS - Web Services Interoperability Infrastructure (WS-*)
Web Services Manager Web Services DevelopmentWith JDeveloper
Oracle Weblogic Server
Web ServicesMetadataJAX-WS JAX-B
Data BindingAttachment
(MTOM/SwA) JAX-R
Web Services Java Programming Model – Java 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
WebcenterSOA 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 tFeatures
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 propagationy 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 JDeveloper 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 clientsp
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 policy violations- MTOM and reliable-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 PUsername token
• Verify security• Authenticate• Set Subject
wss_username_token_service_policy
OrderBooking SOA Process
Receive Order
Get Customer Info
Verify Credit Card
Web Client
ValidateCredit 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• Java EE 5 JAX-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 (June 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 tArchitecture
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 NamePolicy Name
Policy
RMIRMI
Oracle WSM Policy Manager
RMIRMI
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 managerPolicy 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 iWeblogic agent Built-in agent for Weblogic server
Gateway and 3rd 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 wire10 R3 li i ’t b
10gR3 Gateway
(*)11g
Service11g Client + Policy
+ policy• 10gR3 policies won’t 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 R1Oracle 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 stackcomponentSOA, ADF and WebCenter NO CHANGE (Oracle WSM
policies)
JAX-WS Choice of• Oracle WSM policies• Weblogic WS-Security policies
JAX-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
• Weblogic’s JAX-WS stack replaces Oracle appserver’s stack• Customers get a choice
• Use Oracle WSM policies orU W bl i ’ WS S it li i• Use Weblogic’s WS-Security policies
• Long term (post 11gR1) – Weblogic’s stack will converge into Oracle WSM
• Available features of Oracle WSM for JAX-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 JAX-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 LabObjectives
• Introduction to Web Services Management• Attach policies to a compositeAttach 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 LabUse 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 EMAtt 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 Jdeveloper.
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. Namespaces2. Events Names3. 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 compositeSOA composite
newSupplier event
• Etc. SOA composite
createSupplier
ADF page flowand 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)
Customerportal
22
to o about u de y geventing infrastructure
•Fully declarative
•No need for explicit wiring between components:
truly decoupled applications
•3 level of subscription granularity:
<subscribeNamespacenamespace="http://bigbank.com/events"
BigbankNewAccount
[…]country=‘US’
[…]
CustomerProvisioning
(Canada)
Filtercountry = ‘UK’
CustomerProvisioning
(Canada)
Filtercountry = ‘Canada’
CustomerProvisioning
(US)
Filtercountry = ‘US’
(no filter)
AUDIT
(no filter)
(no filter)
Retail Banking
Application(no filter)
BigbankNewTransfer
[…]
<subscribe xmlns:bb="http://bigbank.com/events"
name="bb:NewTransfer“>
+ XPath filter: $in/tr:NewTransfer/tr:Address/po:Country='
US'
33
11
p g y1. Namespaces2. Events Names3. Content-based XPath filters
OrderProcessing
(no filter)
<subscribe xmlns:bb="http://bigbank.com/events"
name="bb:NewTransfer“>11
3322
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 fileEDL 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 EDNWSDL: JMS API: EDL:WSDL:Standard service interface model
JMS API:Application Programming Interface
EDL:Event Definition Language
XSD:Strong typing
Handful of raw types XSD
Business-oriented Developer-oriented Business-orientedWealth 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 11An 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 modulesg 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• AgilityAgility• 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 We’ll Get There
Java 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 LogicView Data
User InterfaceADF Faces components Business Services
JSR-227
Oracle Fusion Architecture
DBente
r
AssignTask
Human WorkflowService
BPELProcessBusiness
ActivityMonitoring
DataBinding
Web Services
DBSchema
Web
Ce
Events
RulesEngine
results
facts
TaskComplete
Monitoring
OrchestrationHuman interaction Policy evaluationMonitoring
results
For Oracle employees and authorized partners only. Do not distribute to third parties. © 2009 Oracle Corporation – Proprietary and Confidential
Enterprise IDE
• Java 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 designFlow diagrams• 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
VisualDialog
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:• JPA, EJB, Ajax, JavaScript, BPEL, SOAP, WSDL, RMI, JNDI, , , j , p , , , , , ,
JDBC, O/R, HTML, DOM….
• On the other side:• Thousands of developers• Most don’t know these technologies• Most come from 4GL background• Expecting a visual and declarative approach• Don’t 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 , ,
Javascript, DOM
• End-to-end framework• Implements best practices• Standards-based and extensible• Easy to develop with
Oracle JDeveloper provides visual and declarative experience• Oracle JDeveloper 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 ADFAn Enterprise Java Framework
• Add value and simplify Java 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 developmentp• Customization
For Oracle employees and authorized partners only. Do not distribute to third parties. © 2009 Oracle Corporation – Proprietary and Confidential
JSFJSF View
Desktop Browser-Based
OfficeOfficeADFADF SwingSwing
Application Development Framework (ADF)Standards-based Productivity
JSPJSP ADF Faces / DVTADF Faces / DVT
MD
S)
MD
S)
Business Services
ADF Bindings (JSR 227)ADF Bindings (JSR 227) Model
ControllerStrutsStruts JSF/ADF Task FlowJSF/ADF Task Flow
TopLinkTopLink
EJBEJB BAMBAM ADFbcADFbc PortletsPortletsBIBI EssbaseEssbaseBPELBPEL Web Web ServicesServices
JavaJavaMet
adat
a S
ervi
ces
(MM
etad
ata
Ser
vice
s (M
Data Services
opop
XML DataXML Data Legacy DataLegacy DataRelational DataRelational Data Packaged AppsPackaged Apps
For Oracle employees and authorized partners only. Do not distribute to third parties. © 2009 Oracle Corporation – Proprietary and Confidential
134
JSFJSF View
Desktop Browser-Based
OfficeOfficeADFADF SwingSwing
Application Development Framework (ADF)Fusion Stack
JSPJSP ADF Faces / DVTADF Faces / DVT
MD
S)
MD
S)
Business Services
ADF Bindings (JSR 227)ADF Bindings (JSR 227) Model
ControllerStrutsStruts JSF/ADF Task FlowJSF/ADF Task Flow
TopLinkTopLink
EJBEJB BAMBAM ADFbcADFbc PortletsPortletsBIBI EssbaseEssbaseBPELBPEL Web Web ServicesServices
JavaJavaMet
adat
a S
ervi
ces
(MM
etad
ata
Ser
vice
s (M
Data Services
opop
XML DataXML Data Legacy DataLegacy DataRelational DataRelational Data Packaged AppsPackaged Apps
For Oracle employees and authorized partners only. Do not distribute to third parties. © 2009 Oracle Corporation – Proprietary and Confidential
Fusion Development
BusinessBusinessServicesServices
User User InterfaceInterface
Relational Data
XML Data
ExposedExposedPortletsPortlets
BusinessBusinessProcessesProcessesPackaged Apps
For Oracle employees and authorized partners only. Do not distribute to third parties. © 2009 Oracle Corporation – Proprietary and Confidential
135
Fusion Development
BusinessBusinessServicesServices
User User InterfaceInterface
Relational Data
XML Data
ExposedExposedPortletsPortlets
BusinessBusinessProcessesProcessesPackaged 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 operationsManage CRUD operations
• Queries/DML
• Implement business rules• Data validation• Business logic
• ReusableSt 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 Java 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 valuesList of values• Calculated fields• Various validations• Range fetching• Transaction control• Locking mechanismg• 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
BusinessBusinessServicesServices
User User InterfaceInterface
Relational Data
XML Data
ExposedExposedPortletsPortlets
BusinessBusinessProcessesProcessesPackaged 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+ AJAX enabled JavaServer Faces components• Drag-and-drop frameworkDrag and drop framework• Dialog and popup framework• Navigation menu framework• Partial page rendering• Advanced data streaming• Complete JavaScript APIp 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 JSF page flow engine• Adds reusability for tasks and flowsAdds reusability for tasks and flows• Advance functionality in a declarative way
• Page and flow re-use• Executing code in a flow • Security• Flow control• BookmarkingBookmarking• 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 StateTask 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
BusinessBusinessServicesServices
Relational Data
XML Data
User User InterfaceInterface
ExposedExposedPortletsPortlets
BusinessBusinessProcessesProcessesPackaged Apps
For Oracle employees and authorized partners only. Do not distribute to third parties. © 2009 Oracle Corporation – Proprietary and Confidential
• ADF Model• JSR-227 Data Controls
ADF Model - Data Binding
JSR 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
BusinessBusinessServicesServices
User User InterfaceInterface
Relational Data
XML Data
ExposedExposedPortletsPortlets
BusinessBusinessProcessesProcessesPackaged 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 integrationO h t t h t• Orchestrate heterogeneous services
• Hundreds of adapters for back-end system
• Visual development of business processes
• Consistent development experiencep• 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 ServicesSHOPPING PORTAL
, W
SIF Order DB
Order Booking BPEL PROCESS
receive
Insert Order
ESB
rvic
es In
terf
ace:
XM
L, S
OAP
, W
SDL
ADF componentCustomer service
Approval(Workflow)
getCustInfo
Preferred Alternate
invoke invoke
RulesEngine
Rule Author
Rulesrepository
DecisionService
ManualReview?
Web
Ser
ProductSuppliers
NotificationService
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
BusinessBusinessServicesServices
User User InterfaceInterface
Relational Data
XML Data
ExposedExposedPortletsPortlets
BusinessBusinessProcessesProcessesPackaged 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 JSF pages as portletsp g p• Publish ADF Task Flows as portlets• Consume portlets – JSR 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 AnalyticsBusiness 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• Customization and 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 Ted’s Page
Application Customization
+
+
Document
John’s PageMDS 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 ProcessesAdaptive/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
• SOAComposites BAM Adapter• BPEL Process Manager BPEL Sensors with BAM Sensor Actions• WebLogic Application Server WebLogic JMS• WebLogic Application Server WebLogic JMS
• Process Visualization• BAM Reports Embeddable, Real-time Views defined by
continuous queries• Dashboards No-code required to build a Real-time Dashboard
• Process Optimization• Process Optimization• Actions Closed-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
• J2EE BAM Server• Active Data Cache• Report Cache• Event Engine• HA for All Services
Application Server• HA for All Services• JPS Security• EM Integration
• J2EE 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
• J2EE Enterprise Link• Direct JMS 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 10g Enterprise Integration Framework 11g
• JMS Connectivity• JMS Queues & Topics• Batching & Transactionsg
• 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 JMS 1.1 or above
• Choice of Batching and Transactions
• Map XML Tags or Attributes directly to Oracle BAM data objectsj
• 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 compositeP 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
• EJB when in same farm; Java 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 JMS p g• Define Key-Value Pairs
• BAM Enterprise Message Source• Configure JMS• 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 BAM A ti D t C hOracle 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 ServerBAM Server EventEngine
Actions & EscalationsActiveDataCache
Mobile DevicesMessage Queues
CEP
Internet
Architect
Administrator
ReportServer
iCommandExternal Data Objects
WebServices
Internet
BI
Web Services
JMS Connector
BAM Adapter
ADF
BAM DataControl
ADF Pages with DVT
Notification Services
ReportCache
Snapshots & Change Lists
Memory / Disk
ViewSets
API
Kernel
DataSets
DataStorageEngineODI
BPEL
BPM
OESB
iCommand
Oracle Database (Grid)
BAM Data & Metadata
BI
Databases
OLTP & Data Warehouses
Data & MetadataImport & Export
For Oracle employees and authorized partners only. Do not distribute to third parties. © 2009 Oracle Corporation – Proprietary and Confidential
152
Oracle BAM Data SourcesOpen Integration Strategy with Oracle Optimizations
Analyze processes, trends, and context
Web Service
BPEL PM
Oracle Apps
Oracle BAM Real-Time Alerts
Cap
ture
real
-tim
e da
ta
Inte
rfac
e fo
r bu
sine
ss u
sers
JMS
Bus
MS MQ
IBM MQ
Tibco
Oracle AQ
Sonic
JMS 1.1
Enterprise Manager
pris
e M
essa
ge S
ourc
es
Real-Time Dashboard/ Reports
Call Java App or WebServiceOracle
Database
Dat
abas
e
Sql Srv
Sybase
Oracle
JDBC
File System
Ente
rp
For Oracle employees and authorized partners only. Do not distribute to third parties. © 2009 Oracle Corporation – Proprietary and Confidential
Oracle BAM: Active Data CacheProcess Static Data, Events, and Streams
StreamsBA 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-volumeTime orderedDoes not endImpossible 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
Tim
e
Event Processing provides a new dataCAT 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 QueriesEvent Processing Output
FilteringNew 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 & AggregationScrolling, time-based window metrics, e.g. average # of stock trades in the last hourIdentification 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
aggregateLogic 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 Architectsmcreyno, 5/4/2009
154
Monitor business processes & services in real-timeKey Performance Indicators (KPIs)Service Level Agreements (SLAs)
Process Visualization, Oracle BAMMeaningful, Event-driven Visibility for End-Users
Service-Level Agreements (SLAs)
Analyze events as they occur Correlate events & KPIsIdentify trends as they emergeAlert users to bottlenecks & solutions
Act on current conditionsEvent-driven alertsReal-time dashboardsBPEL 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 AJAX application, with no downloads or installs
• Real-time Active Data• Applications don’t poll the server for updates
St d lt h ti hi hi l i A ti D t
The Oracle BAM Technical AdvantageProcess 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 integration for actions directly from their dashboards/alertsBusiness 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 VisualizationActive Studio, Active Viewer, URL Access, & Now in 11gR1 ADF
• Active Studio• Primary Dashboard & Alert Development
Application• Thin-client, AJAX-based Web Application• Built for the MSFT Office User• IE OnlyIE Only
• Active Viewer• Optional Application for Dashboard Access• Thin-client, AJAX-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 IntegrationNew 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 ServerBAM Server EventEngine
Actions & EscalationsActiveDataCache
Mobile DevicesMessage Queues
CEP
Internet
Architect
Administrator
ReportServer
iCommandExternal Data Objects
WebServices
Internet
BI
Web Services
JMS Connector
BAM Adapter
ADF
BAM DataControl
ADF Pages with DVT
Notification Services
ReportCache
Snapshots & Change Lists
Memory / Disk
ViewSets
API
Kernel
DataSets
DataStorageEngineODI
BPEL
BPM
OESB
iCommand
Oracle Database (Grid)
BAM Data & Metadata
BI
Databases
OLTP & Data Warehouses
Data & MetadataImport & 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 Notificationo ce 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 actionsActive Studio Defined UI 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 ServerBAM Server EventEngine
Actions & EscalationsActiveDataCache
Mobile DevicesMessage Queues
CEP
Internet
Architect
Administrator
ReportServer
iCommandExternal Data Objects
WebServices
Internet
BI
Web Services
JMS Connector
BAM Adapter
ADF
BAM DataControl
ADF Pages with DVT
Notification Services
ReportCache
Snapshots & Change Lists
Memory / Disk
ViewSets
API
Kernel
DataSets
DataStorageEngineODI
BPEL
BPM
OESB
iCommand
Oracle Database (Grid)
BAM Data & Metadata
BI
Databases
OLTP & Data Warehouses
Data & MetadataImport & 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 JMS Topic/Queue Connectivity
• Oracle Data Integrator Knowledge Module• SOA Infrastructure Integration with BAM Adapter
• Configurable/ Performant BPEL Sensors• JDeveloper 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
eCommerceWhat is eCommerce ?
• Electronic commerce, eCommerce, is the buying and selling of products or services over the Internet. It canselling 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
eCommerceWhat does it represent and what are the requirements ?
• eCommerce represents:• Classic business processes : Order-to-Cash, Procure-to-Payp• 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
eCommerceWhat 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 CompositeOracle 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
eCommerceWhy 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
eCommerceImplementation 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
3rd Party Application
Composite Application
For Oracle employees and authorized partners only. Do not distribute to third parties. © 2009 Oracle Corporation – Proprietary and Confidential
161
eCommerceProcess flow
Partner
Oracle B2BManages interaction with PartnerDocument validation / translationDocument routing
SOA CompositesMediator
Document transformation Oracle B2B
B2B Composite Code conversionDocument routing
BPEL Process ManagerBusiness process orchestrationError Handing
Human TasksWork list tasks & forms
Business RulesAutomated policies, constraints, computations & reasoning
Application
Application
Middleware Composite
ApplicationDocument 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 ConceptseCommerce: Levels
• Typical an eCommerce transaction is a single document
Levels Question to Ask Shipping Analogy eCommerce protocol exampleDocument 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 tWhat 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 sender’s / receiver’s 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 B2BWhat 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 translatorA robust translation and validation engine that is
Document Management Powered by EDIFECSTM
gan integral part of Oracle B2B.
This provides:A library of ALL EDIFACT, X12, X12N, HL7, HIPAA, EANCOM, NCPDP, …Data file validationData file validationData MigrationTests data generationDe-IdentificationDictionary generationBatching
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 / CONTRLOAG C fi BOD
The structure & codes are validOAG Confirm BODRosettaNet ACKsHL7 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 NotificationRosettaNet Receipt AcknowledgmentebMS Receipt Acknowledgment
• Functional (Generate and consume)EDI Message Syntactically Acknowledgment (CONTRL)
Functional Acknowledgment (997)OAGIS Confirm Business Object Documents (BOD)RosettaNet Receipt Acknowledgmentp gHL7 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 ManagementThe Packaging,Transports and Messaging Services
Facilities to communicate, enabling secure and reliable messagingmessaging• Transports
MLLP, TCP/IP, Oracle AQ, JMS, 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 ManagementThe Profile and Agreement
Facilities to define the Trading Partner & Agreement • Partner Types Host - The installationyp
Partner - The partner• Partner Capabilities Profile - Identification, contact information, key store
Users - Who can access Oracle B2BDocument - Supported documentsChannel - 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 ManagementManaging 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 ChannelsListening 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 EnvironmentManage Environment
• Tuning • Key Stores• SSL
• Manage security• Users & Groups• Roles & Policies
• Manage ServicesManage 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 ManagementOracle 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 MessagesCorrelation of Messages
• MetricsStatistics
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 preal-time
• Analyze events as they occur through complex event processing
• Act on current conditions eitherconditions 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 DBRepository
Oracle DBRepository
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 WLSOracle 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 Roadmap2004 2006 2008
10gR1
2010 2012 2014 2016
11gR1 11gR2 12gR1 Releases TBD …
I iti l R l
Vertical FastPathsAIA PIPsOracle SolutionsEmbeddingPerformanceDocument streamingVisibilityEnhanced Dashboards, Reports, MonitoringFunctionalityHub CapabilitiesDocuments & Delivery
Healthcare FastPathHealthcare based UI, concepts/terminology with streamlined configurationAIA PIPs
SecurityCentral Mgmt, SSO, role based access to documentsPerformanceEnhanced throughput & Large document supportUsabilityEnhanced UI design
Vertical FastPathsAIA PIPsFusion Apps PlatformOracle SolutionsEmbeddingPerformanceManage File TransferVisibilityEnhanced Dashboards, Reports Monitoring
Oracle ITOracle On‐Demand
On‐going features and enhancements
Initial Release
Documents & DeliveryNew standards, transports, exchanges
Enhanced UI designVisibilityEnhanced Reports, Metrics, EM IntegrationFunctionalityPartner Cloning, Auto‐Agrmt GenerationDocuments & DeliveryNew standards, transports, exchanges
Reports, MonitoringFunctionalitySelf‐Service, enhanced VAN SupportDocuments & DeliveryNew standards, 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 BSOA 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 BusEnabling the Agile Enterprise
SOA architectures need to be designed to accommodate change and in fact to anticipate change! That createschange, 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….WHY…EXACTLY?
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
SOAOptimized
SOA MaturityLevel
Cross divisionalservices
Enterprise levelservices
SOADefined
SOARepeatable
SOAManaged
OptimizedLevel
Noimplementations
services
Division levelservices
Project levelservices
No SOA
SOAAd 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 RemoteFunctionality
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
ServiceApplication 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
AfterMove
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 BusProcessOrder
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 WebServices
Service Infrastructure ApproachEnables Agility and Scale
ApplicationClient
Browser
Legacy App
Mainframes
Databases
WSRP
WSRP
WebServices
Data
Adapter
Data
WebApp
ProcessWeb
Services
Mobile
Service Infrastructure
WebServices
Service Infrastructure
MessagingServices
Data & AdapterServices
SecurityServices
UserInteraction
Services
BusinessProcessServices
Meta-dataRepository
Service Registry
Service Management
Monitoring
Com
position Tools
CustomServices
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 FridayOracle 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
ReportingSLA Alerts
Service Management
Monitoring
Unified SecurityM t d t
Content Based Routing
Transformation
Import / Export
Validation
Service Virtualization Configuration Framework
Change Center
Service Chaining
y
FTPMQ
Adaptive MessagingSMTP
Metadata
HTTP/S JCA JMS FileWSRM Tux EJBREST
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 MessagingMore than Web Services…
ReportingSLA Alerts
Service Management
Monitoring
Unified SecurityM t d t
Content Based Routing
Transformation
Import / Export
Validation
Service Virtualization Configuration Framework
Change Center
Service Chaining
y
FTPMQ
Adaptive MessagingSMTP
Metadata
HTTP/S JCA JMS FileWSRM Tux EJBREST
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
ApplicationClient
ServiceClients
Oracle Service Bus Enterprise Services
Service
ApplicationClient
HTTP/SOAP
JMS
WS-RM
TUXService
Request / Response
Service Messaging
S h / A h
Adaptive Messaging In a Nutshell…Adaptive
Messaging
Client
ApplicationClient
ApplicationClient
FTP
REST
FileApplicationClient
MQ
EJB
JCA
Service
Service
Service
• Multiple communications paradigms• Request/response
Synch / Asynch
Split / Join
Publish / Subscribe
• Any to Any Protocol• Any to Any 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 RequiredFor Oracle employees and authorized partners only. Do not distribute to third parties.
© 2009 Oracle Corporation – Proprietary and Confidential
Applications & Database IntegrationMessage Enrichment and Chaining
• Adapter Certifications• Packaged with OSB install
• AQ
Adaptive Messaging
AQ • Database• EBusiness Suite
• Packaged separately• SAP• PeopleSoft• Siebel• JD Edwards• JD Edwards
For Oracle employees and authorized partners only. Do not distribute to third parties. © 2009 Oracle Corporation – Proprietary and Confidential
177
Unified SecurityOptimized, Pluggable, Flexible Policy
ReportingSLA Alerts
Service Management
Monitoring
Unified SecurityM t d t
Content Based Routing
Transformation
Import / Export
Validation
Service Virtualization Configuration Framework
Change Center
Service Chaining
y
FTPMQ
Adaptive MessagingSMTP
Metadata
HTTP/S JCA JMS FileWSRM Tux EJBREST
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 DefaultXACML Default
UnifiedSecurity
• 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 3rd-party components
For Oracle employees and authorized partners only. Do not distribute to third parties. © 2009 Oracle Corporation – Proprietary and Confidential
178
Service VirtualizationEnables Enterprise Agility
ReportingSLA Alerts
Service Management
Monitoring
Unified SecurityM t d t
Content Based Routing
Transformation
Import / Export
Validation
Service Virtualization Configuration Framework
Change Center
Service Chaining
y
FTPMQ
Adaptive MessagingSMTP
Metadata
HTTP/S JCA JMS FileWSRM Tux EJBREST
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 FlowsService
Virtualization
• XLST• Routing
• Conditional• Dynamic• Identity-based
• Logic• If…Then
F h• For…each• Parallel Split/Join
• 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 PatternsSplit 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 ForEachProcessOrder
JoinProcessOrder
15
Order 1 Order 2 Order 3
SPLITResponse
1Response
2Response
3
For Oracle employees and authorized partners only. Do not distribute to third parties. © 2009 Oracle Corporation – Proprietary and Confidential
Service ManagementEmbedded Visibility & Control
ReportingSLA Alerts
Service Management
Monitoring
Unified SecurityM t d t
Content Based Routing
Transformation
Import / Export
Validation
Service Virtualization Configuration Framework
Change Center
Service Chaining
y
FTPMQ
Adaptive MessagingSMTP
Metadata
HTTP/S JCA JMS FileWSRM Tux EJBREST
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
ServiceManagement
• 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• JMX Monitoring InterfacesJMX 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 FrameworkRobust services Deployed into Production
ReportingSLA Alerts
Service Management
Monitoring
Unified SecurityM t d t
Content Based Routing
Transformation
Import / Export
Validation
Service Virtualization Configuration Framework
Change Center
Service Chaining
y
FTPMQ
Adaptive MessagingSMTP
Metadata
HTTP/S JCA JMS FileWSRM Tux EJBREST
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 FrameworkRobust 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/SROER/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
ya 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 05.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.
• JMS numbers are based on non-
0.01.02.03.04.0
0
2000
4000
6000
1 2 4 8 12 16 24 32
Res
pons
e Ti
me
Thro
ughp
u
Number of Clients
HTTP TPS
HTTP RT
4 0
5.0
4000
5000
s)
JMS Pass-Through Routing (Core Message Propagation)
persistent JMS queues.
• The JMS 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
Res
pons
e Ti
me
(ms
Thro
ughp
ut
Number of Clients
JMS TPS
JMS RT
For Oracle employees and authorized partners only. Do not distribute to third parties. © 2009 Oracle Corporation – Proprietary and Confidential
Oracle Service BusEnables Agility and Scale for Enterprise SOA
• Adapt To Change• Service virtualization• Protocol Switching • Routing and Transformation• Error Handling Policy Enforcement
BPMB2B & BPMBPMPortal
• 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
AdaptersService
Repositoryg y• Manage risk
• Embedded service-level management• Failure Isolation and auto-recovery• Application Alerts & SLAs• Auditing and Reporting
Integration ServicesBusiness 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 RoadmapPrimary Product Milestones
OSB 10gR3
11g
• SOA Grid Enabled w/ distributed caching patterns
ALSB 3.0• Complete, light-weight, best-of-breed ESB
• Design time & run-time governance
• Advanced Mediation Patterns - Split-Join, 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
• JCA 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
Applicationcomposers
• Service Composition • Transformations• Filtering
SOA 11g Unified Service Platform
Service Infrastructure
BusinessRulesMediator
Policy ManagerOptimized
binding
BPEL HumanWorkflow CEP
Oracle Service Bus
Service/Event Delivery API
SOAOperations
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 11gHighlights of New Features
EnhancedProductivity
• 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 and wire 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 and statistics for large-scale deployments.
• Split-Join has Wait and Transaction Propagation across parallel invocations.
UnifiedRuntime
• 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.
AdaptiveConnectivity
• Native EJB 3.0 Transport for inbound Proxy and outbound Business Services• Transmit native Java 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
ServiceProvider
PrimaryNodeGet / Put (Cachekey)
Coherence Data Grid
Oracle Service Bu
1. check cache
Process Flow / Orchestration
P
BBackup Node
Service DataOSB ResultCache
us
For Oracle employees and authorized partners only. Do not distribute to third parties. © 2009 Oracle Corporation – Proprietary and Confidential
185
Service Result CacheCheckbox Caching
Business Service
OSB 11gR1
• Cache Results ?
• Time To Live
• XQuery to Generate Unique KeyKey
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 SOAWith an Enterprise-Class Service Bus
Service Intermediary& Management
• Location T
BPMPortal B2B & BPMService Orchestration
Transparency
• Service Virtualization
• Configuration
• Any to Any Protocol, Payload
• Advanced
Oracle Service Bus
AdaptersService
Repository
Presentation Services
• Advanced Integration Patterns
• High Availability & Scale
Integration ServicesBusiness Logic Business Logic
For Oracle employees and authorized partners only. Do not distribute to third parties. © 2009 Oracle Corporation – Proprietary and Confidential
186
What’s 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 and ToolsRequires 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 and all stakeholdersImprove 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 complianceEnforce 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 every life cycle stageEngage 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
GOVERNANCESystem
Monitoring
Enterprise Enterprise ManagerManager
GOVERNANCEREAL-TIMEVISIBILITY
& PROCESSING AlertsBusiness Monitoring
BAMBAM
EventsData Streams
CEPCEP
EnterpriseModeling
BPA SuiteBPA Suite
SOA Governance
CONNECTIVITY
Routing Transform DataQuality
ETL &Replication
Data IntegratorData IntegratorOracle Service BusOracle Service Bus
Mediation
ROUTING & DATA SERVICESNativeBPEL
Business Rules
Human Workflow
BPEL Process ManagerBPEL Process Manager
WS PoliciesSecurity
Web Services Web Services ManagerManager
SOA lifecyclegovernance
EnterpriseEnterpriseRepositoryRepository
ApplicationDevelopmentFramework
JDeveloperJDeveloper
Business UserModeling
BPM SuiteBPM Suite
AppsAdaptersAdapters B2BB2B
PartnersDB Legacy
CONNECTIVITY
Coherence CacheJ2EE Application Server
(Oracle AS, WebLogic, WebSphere, JBoss)Messaging
UDDIRegistryRegistry
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 GovernanceFull Lifecycle
Visibility
DevelopDesign
Analyze& Model
Visibility
Control
Deploy &Secure
Registry / Repository
Analytics
Retire Services
Manage Change
MonitorPolicies& SLAs
375 For Oracle employees and authorized partners only. Do not distribute to third parties. © 2009 Oracle Corporation – Proprietary and Confidential
Product OfferingService-Oriented Architecture – SOA Governance
• Repository to capture, share, & change manage SOA Artifacts across lifecycle
• Standards-based UDDI v3.0 Registry to
Oracle Enterprise RepositoryO l S i R i t
DTRT Sta da ds based U 3 0 eg st 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 CompositesEnterprise Manager
Oracle Web Services Manager
Oracle Service RegistryRT
RT
RT
• Model and monitor J2EE services and their supporting components
A Comprehensive Suite for End-to-End SOA Governance
p gSOA 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 QuadrantGartner 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 recentdirectories, 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 IntelligenceiAS.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 callContact 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• [email protected]• [email protected]
• 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 InfoWhat’s 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 2010M 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• JDev 11g
• Browses and consumes assets from OSR/UDDI• Allows runtime policies to be applied at design
time11g 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 loop” runtime metrics to
OER• Service Level Management for SOA
Suite 11g infrastructure• CAMM integration provides added
context for management metrics • Policy Management Gateway for 11g
• With partners• 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 SOAEnhanced 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-Join 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 JDev and
Eclipse 3.4 consumeCl 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 d t• 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 RepositoryEnhanced 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 TimeMonthly Average Response TimeMinimum Response TimeMaximum Response TimeDaily RequestsWeekly RequestsMonthly RequestsDaily FaultsWeekly FaultsyMonthly FaultsStart Date for Metrics MonitoringLast 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 RepositoryEnhanced 11g RegRep (Fall 2009)
• Enhanced metadata model• Includes Oracle EBS, JMS, 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
Repositoryetadata
UDDI
Metrics via
Publish
UDDI
Approve
SOA Test, Staging & Production
Auto Deployment
SOA Monitoring & Management
Single View of AssetsBusinessOwners
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 PLATFORM11g• Integrated for ease-of-use
& optimized performances
Web ServicesBPELESB 10.1.3
10.1.2
& optimized performances
• Yet, fully standards-compliant• No sacrifice on hot-pluggability
SCA
WSDL
CORBA
EAIMessaging
J2EE XSLTXML
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
BPELWS
WSRS
R
R
BPEL
wire
SOA composite
R WSS
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 BPELCan 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
BPELWS
WSRS
R
R
RegistryRepository
Registry
• SCA services• External Services BPEL
wire
SOA composite
R WSS
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
RepositoryImpactAnalysis
JDev AssetBrowse and Consume
Registry/RepositoryBindings and
Categorizations
For Oracle employees and authorized partners only. Do not distribute to third parties. © 2009 Oracle Corporation – Proprietary and Confidential
Other Repository InfrastructurePlanned 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 CaseSOA 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 OSBp 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 GovernanceFocus on the Design Phase
Visibility
DevelopDesign
Analyze& Model
Visibility
Control
Deploy &Secure
Registry / Repository
Analytics
Retire Services
Manage Change
MonitorPolicies& SLAs
For Oracle employees and authorized partners only. Do not distribute to third parties. © 2009 Oracle Corporation – Proprietary and Confidential
198
Order ProcessingA 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 RelationshipsCreate 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 OSRPromote Service and WSDL to OSR
• Consume Service from OSR/UDDI, Deploy and Test (Optional)• Configure JDev 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 JavaEvent 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
GOVERNANCESystem
Monitoring
Enterprise Enterprise ManagerManager
GOVERNANCEREAL-TIMEVISIBILITY
& PROCESSING AlertsBusiness Monitoring
BAMBAM
EventsData Streams
CEPCEP
EnterpriseModeling
BPA SuiteBPA Suite
CONNECTIVITY
Routing Transform DataQuality
ETL &Replication
Data IntegratorData IntegratorOracle Service BusOracle Service Bus
Mediation
ROUTING & DATA SERVICESNativeBPEL
Business Rules
Human Workflow
BPEL Process ManagerBPEL Process Manager
WS PoliciesSecurity
Web Services Web Services ManagerManager
SOA lifecyclegovernance
EnterpriseEnterpriseRepositoryRepository
ApplicationDevelopmentFramework
JDeveloperJDeveloper
Business UserModeling
BPM SuiteBPM Suite
AppsAdaptersAdapters B2BB2B
PartnersDB Legacy
Coherence CacheJ2EE Application Server
(Oracle AS, WebLogic, WebSphere, JBoss)Messaging
UDDIRegistryRegistry
JRockit VM & RT
399For Oracle employees and authorized partners only. Do not distribute to third parties. © 2009 Oracle Corporation – Proprietary and Confidential
Oracle EDA SuiteComplete Suite for Industrial Event Processing
REAL-TIMEVISIBILITY
&
AlertsBusiness Monitoring
BAMBAM
Event FeedsData Streams
J b d E t
CEPCEP
Routing Transform DataQuality
ETL &Replication
Data IntegratorData IntegratorOracle Enterprise Oracle Enterprise Service BusService Bus
Mediation
& PROCESSING
Java-based EventServer
AdaptersAdaptersCONNECTIVITY
ROUTING & DATA
SERVICES
Business Rules
Socket DB FileCONNECTIVITY
J2EE Application Server(Oracle AS, WebLogic, WebSphere, JBoss)
Industry SpecificJMS
CoherenceJRockit VM JRockit RTENTERPRISE PERFORMANCE & SCALABILITY
400For 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 ManagementReponses 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 Processorf
Processors• Set of queries applied
to the streams Listeners• Handle triggers raised
by the processorsEvents• Implemented as
JavaBean or Map
Enriched Streams
• From any source: data streams, web services, Java, Database
Adapters
• Translate external events/data into java objects for
Data/Msg.Feeds Listener/SINK:
User Code(Plain Java)
Data Feed Adapters
ProcessEvents(CEP)
EDA Java Application ContainerAverage Latency vs. Injection Rate (10 Connections)
0
10
20
30
40
50
60
70
80
0 200000 400000 600000 800000 1000000 1200000
Ave
rage
Lat
ency
(m
icro
seco
nds)
Distribution of Latency Values
20,136,515
3,054,550
131,5980
5,000,000
10,000,000
15,000,000
20,000,000
25,000,000
0 - 99 100 - 199 >=200
# of
Out
put E
vent
s
JavaBean or Mapjava objects for processing
Incoming Data Streams1,000,000+ Messages/Sec
Aggregate, correlate, filter dataCan Handle Unlimited Queries
Resulting Data fed to vast business opportunities
with Java languageLatency
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 ProcessorOracle Complex Event Processing (CEP)
StreamsBA 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-volumeTime orderedDoes not endImpossible 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
Tim
e
Event Processing provides a new dataCAT 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 ProcessingIn-Memory, Continuous QueriesEvent Processing Output
FilteringNew 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 & AggregationScrolling, time-based window metrics, e.g. average # of stock trades in the last hour
Pattern MatchingNotification 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
ZRuns In Memory (not in Database)***Logic is defined through Continuous Queries on the data
1 9 12 19
minutes
XY 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(Plain Java)
Data Feed Adapters
ProcessEvents(CEP)
EDA Java Application Container
Load Generator
-AMEX symbols- Level 2 mktdata (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 SOAExample: Baggage Handling
Ticketing ReservationsService Bus
“Situational Awareness”
Gate OperationsFlight Operations
missing-bagflight-delaystatistics
BAM
flight-openflight-boardingflight-closedflight-push-backflight-wheels-up
passenger-onpassenger-off
Event Server
check-inbag-check
bag-trackingbag-in-containercontainer-on-plane
Baggage Handlingstatistics
BPM/ BPEL lost-bagWLRT
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 languageSQL extensions for Pattern recognition150+ Built in Maths & Stats functionsStrong Integration to Oracle DBTi 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 AvailabilityManaged Event Server ClusterLa
tenc
y A
naly
zer
Complex Event Processing
Stream Management
Real Time Kernel
Extended Event Infrastructure
ClusterManagement
DataCaching HTTP
Pub/Sub EngineEvent
Coherence Integration (Clustering)Scale out Distributed Computing Grid
TimesTen Integration
Business Activity Monitoring Integration
Historical Event ManagementStore Events for persistenceRecord/Playback Event activityReport on Event dialogs
Web2.0 Web Client push-based infrastructureWeb based clients send and receive asynchronous messages over HTTPEvent server components can subscribe to and publish to channels
Repository
WebLogic Application GridWebLogic Real Time
JRockit DGC
JRockit
Foundation Services
CoherenceConfig/AdminSecurity Logging
Oracle CEP Application Model
Service1 Service2
<<OSGI Service>> <<OSGI Service>>
Export Import
OSGI B ndle/Spring Application 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
AdapterData 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.
ListenerProcessor
RuleProcessor
Query
Adapter
Adapter
Processor
Listener- POJO
Event Source
Data Source
Query
RuleQuery
Query
RuleProcessor
Query
This arrangement or network of event processing components is called an event processing network (EPN).
RuleCache Rule
Processor
QueryListener- 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 beansC 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 – JMS, File, Socket, etc.
• Complex Event Processor• Channel• Cache• Cache• DB Table• Continuous Query Language (CQL)
• Sink• Complex event output– POJO
listener, JMS, etc.• Event types
• Event objects are instances of event types
• Implemented as Java Beans, Maps, or ‘Tuples’
• Graphical visualization and editing of Event Processing Network (EPN)• Filterable for multiple EPN Assembly 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 & LABReference the provided LAB Guide
In this LAB you will create an Oracle CEP “HelloWorld”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 TuningDynamic 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 Matchingp g
• Oracle, IBM, Stanford University• OpenSource Adoption of CQL• Oracle Complex Event Processor (CEP) Release Available in 11g R1
415For Oracle employees and authorized partners only. Do not distribute to third parties. © 2009 Oracle Corporation – Proprietary and Confidential
CQL Example
Calculates aggregate valuesover 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 ProcessorClusterAware
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 ProcessorClusterAware
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
JMSAd t
ProcessorJMS
Ad tCacheAwareEventFilter
1.All “final” events have a comparable key.
2.CacheAware filter attempts to lock on event key, then tests for presence of key
Operation
Adapterocesso Adapter
Cache
EventFilter
Lock on key
Event Source Event Sink
for presence of key3.A “put” on key implies
ownership of sending the event
1. Lock on key2. cache.put(key)3. sendEvent(event)
JMSAdapter
JMSAdatperProcessor 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 CoherenceExtreme 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 Containerhttp://www.oracle.com/technology/products/event-driven-architecture/complex-event-processing.html
Oracle Complex Event Processingf
Processors• Set of queries applied
to the streams Listeners• Handle triggers raised
by the processorsEvents• Implemented as
JavaBean or Map
Enriched Streams
• From any source: data streams, web services, Java, Database
Adapters
• Translate external events/data into java objects for
Data/Msg.Feeds Listener/SINK:
User Code(Plain Java)
Data Feed Adapters
ProcessEvents(CEP)
EDA Java Application ContainerAverage Latency vs. Injection Rate (10 Connections)
0
10
20
30
40
50
60
70
80
0 200000 400000 600000 800000 1000000 1200000
Ave
rage
Lat
ency
(m
icro
seco
nds)
Distribution of Latency Values
20,136,515
3,054,550
131,5980
5,000,000
10,000,000
15,000,000
20,000,000
25,000,000
0 - 99 100 - 199 >=200
# of
Out
put E
vent
s
JavaBean or Mapjava objects for processing
Incoming Data Streams1,000,000+ Messages/Sec
Aggregate, correlate, filter dataCan Handle Unlimited Queries
Resulting Data fed to vast business opportunities
with Java languageLatency
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
CEP Customer Implementations & Projects
• Real Time Systems Management & Fault mitigation
• Border Security, Transportation Logistics
i i f i• Dynamic Aircraft Maintenance
• Realtime Slot Machine Usage “persuasion”
• Online Fraud Detection
• Smart Meters
• Roadways Toll Management Systems
• Intelligent Cable Box Management• Intelligent Cable Box Management
• Emergency Services Real Time Location Proximity Tracking
• Algorithmic Trading, Smart Order Routing
For Oracle employees and authorized partners only. Do not distribute to third parties. © 2009 Oracle Corporation – Proprietary and Confidential
Oracle CEP: Why We WinA Complete Event-Driven Application Infrastructure
• “Keep up” with streaming event sourcesevent server Oracle CEPS t t d l d• Support an event model and associated tools that make solutions
• Fast to build• Easy to adapt• High performanceevent processing network
Oracle CEP• Process at high speed/low latency g p y
with determinism real-time JVM JRockit RT
• Ensure that output is highly available and scalable distributed cache Coherence
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