You are on page 1of 215

For Oracle employees and authorized partners only. Do not distribute to third parties.

2008 Oracle Corporation Proprietary and Confidential

Safe Harbor Statement


The following is intended to outline our general p product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracles products remains at the sole discretion of Oracle. fO

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Oracle Training Materials Usage Agreement


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. Site The use of the Materials is restricted to the non commercial internal training of the Partners non-commercial, 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 noninfringement. 4. Under no circumstances shall Oracle or the Oracle Authorized Delivery Partner be liable for any loss, damage, liability or expense incurred or suffered which is claimed to have resulted from use of this Site of Materials. As a condition of use of the Materials, Partner agrees to indemnify Oracle from and against any and all actions, claims, losses, damages, liabilities and expenses (including reasonable attorneys' fees) arising out of Partners use of the Materials. 5. Reference materials including but not limited to those identified in the Boot Camp manifest can not be redistributed in any format without Oracle written consent.
For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

SOA 11g Foundation Bootcamp: Welcome! Overview, Objectives, Logistics


Prasen Palvankar Hemesh Surana

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

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:
Target audience: Presales and Implementation consultants Objectives: Provide enough knowledge to demo and present SOA 11g Future: Modular material, 2 days to 4 days depending on situation To be packaged and delivered in the field by the field field, To be used as a blue print for Oracle University classes To be ready before SOA Suite 11g GA

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Lab topology
You will install on your laptop:
VMWare Player y WinRar IE 7.x

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

SOA Suite 11g Foundation Training Agenda

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Day 1
Start
09:00 09:30 10:00 11:30 12:00 01:00 02:00

Duration
30 30 90 30 1hr 1hr 4 hrs

Title
Welcome & content distribution PO Processing Case Study overview SOA/SCA Overview EM Overview LUNCH Mediator, Adapters overview Lab Setup / Chapter 1-2-3 lab

Presenter

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Day 2
Start
09:00 10:00 12:00 01:00 01:30 03:30 04:00 05:00 05:30

Duration
60 2hrs 60 30 2hrs 30 1hr 30 30

Title
BPEL, Human Workflow overview Chapter .4-5-6 lab LUNCH Rules overview Chapter 7-8-9 lab OWSM Overview App. E lab(OWSM) Exception Handling overview OSB Overview

Presenter

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Day 3
Start
09:00 10:00 11:00 11:30 12:00 01:00 01:30 04:00

Duration
60 60 30 30 60 30 150 60

Title
App. D lab (fault) App. J lab and install (OSB) EDN Overview App. F Lab (EDN) Lunch BAM Overview BAM Lab Wrap-up and Q/A/Open Discussion

Presenter

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

SOA 11g LABS Purchase Order Processing


The purchase order details can come in from any source (in our case a testing page) the credit card status for the customer is validated and if the credit card is good, the order continues. An order for a large purchase price requires a manual approval step. The order is written to a text file to be processed by the 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

SOA 11g LABS overview: core


e2e-105-POProcessing-01-Setup e2e-105-POProcessing-02-DBAdapter e2e-105-POProcessing-03-FileAdapter 2 105 POP i 03 Fil Ad t 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

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

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

10

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

11

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

12

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

13

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

Whats New in Oracle SOA Suite 11g

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

14

<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

Basic Components of a SOA Infrastructure


ESB

Build/re-use Services Web or Legacy Services


B2B

Connect ADAPTERS
BPEL IF
LEGACY SYSTEM
RULES ENGINE

Route & Transform ESB & B2B Externalize business rules RULES ENGINE

WEB WEB
SERVICE

SERVICE

IF
HUMAN WORKFLOW

Orchestrate BPEL/BPM ENGINE Involve human beings HUMAN WORKFLOW Secure


GLOBAL SECURITY FRAMEWORK

WEB SERVICE LEGACY SYSTEM

Visualize
BUSINESS ACTIVITY MONITORING

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

15

<Insert Picture Here>

Oracle O l SOA Suite 11g S it 11 Whats New?

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Problem statement
SOA tools have become more and more capable SOA tools have also become more complex 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

16

Example: Order Processing


Task p purchase order Accept p coming over SOAP Route it for fulfillment Product Web services binding g

ESB

Orchestrate fulfillment tasks BPEL Request human approval Externalize approval rules Log results to file Human Workflow Rules File adapter

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Required Technologies
Design-time metadata Management console Runtime

ESB

BPEL PM

Rules

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

17

Collapsing DT, RT and M&M


Design-time metadata Management console Runtime

ESB

BPEL PM

Rules

Composite Application

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Emergence of Service Platforms SERVICE PLATFORM


Integrated for ease-of-use & optimized performances Yet, fully standards-compliant No sacrifice on hot-pluggability

11g

SCA ESB BPEL


Web Services WSDL
XSLT J2EE XML
EAI

10.1.3 10.1.2

Messaging
CORBA

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

18

<Insert Picture Here>

Adopting WebLogic Server

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

WLS Capabilities leveraged in SOA 11g


Installation and Configuration:
SOA domain can be created using WLS domain configuration wizard g multiple servers can be configured in a single pass.

Transaction Management: XA support and recovery Thread Management: leverages Work Manager API Messaging: adoption of WLS JMS as default messaging, messaging in addition to AQ JMS 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

19

Runtime HA Capabilities
Clustering
Easy SOA cluster setup using WLS configuration wizard Based on zero-config Coherence infrastructure (vs JGroups) Additional SOA servers can be configured using WLS console Additi l b fi d i l 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>

Service C S i Component t 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

20

What is SCA?
properties
Java interface WSDL portType

Service Component Architecture:


language-neutral component model assembly model 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 Co po e t p o des og c Reference: refers to external services Wire: connects services, components and references no special semantic.

S service
Binding: SOAP JMS JCS

C1

R
wire

C2
component

R reference

composite

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Challenge SOA lifecycle can be difficult:


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

21

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.
service
properties

reference

S Mediator R
wire

R BPEL R

WS

WS

S BPEL R R

WS

SOA composite

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

SCA Composite Editor


SCA Composite Editor
Mediation Web services and adapters p Palette of Service Components & Adapters

Mediation

BPEL orchestration Human Tasks

Business Rules

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

22

Challenge Distributed aspect of SOA can a e egat e pact on have a negative impact o performance:
over the wire (SOAP/HTTP) transmissions marshalling/unmarshalling of messages between engines Management complexity Etc.
For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

11g SCA Service Infrastructure


One unified infrastructure to manage

Mediation

BPEL

Rules

Mediation BPEL orchestration Human Tasks Business Rules Web services and adapters

Human Task

Application composers p
IDE

SCA Composite

SOA Composite Editor

Mediator

Business Rules

BPEL

Human Workflow

11g Service Infrastructure


Repository Common JCA-based connectivity infrastructure
Optimized binding

Policy Manager

BAM

Oracle Service Bus


SOA Operations
Web-based console

B2B

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

46

23

Challenge

Setting d S tti and managing i 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

Global Policy Management: Oracle WSM Policy Manager


Clearly separates process logic from security concerns Secures endpoints Sets and propagate identity
Service Component Interceptors: Authorization 1 Web Service Interceptor: Authentication Authorization Message Integrity & Confidentiality (signatures, encryption/decryption) Publish security requirements as WS-Policy in WSDL
SOAP SOAP

Mediator
2 3

BPEL
4

Human Task
Policy Manager

Service Infrastructure

Web Service Interceptor: 5 User token insertion (such as SAML) Integrity & Confidentiality (signatures, encryption/decryption)

HTTP/SOAP message

HTTP/SOAP message

Java Platform Security


SSO (Oracle Access Manager & 3rdParty)

File

LDAP

DB

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

24

Challenge

Asynchronous M Messaging?! A h i ?! 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

Event Delivery Network (EDN)


Work with events not messaging infrastructure! Declarative way to work with publish-subscribe Offers rich subscription capabilities:
1. Namespaces 2. Events Names 3. Content-based XPath filters

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

25

Challenge

How can I get H t complete end-to-end visibility and increase my auditing capabilities in such a distributed environment?

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Monitoring fully-integrated in Fusion Middleware Control


Service monitoring across all SOA components: ESB, BPEL, Human Workflow, etc. , , , Integral part of Enterprise Manager FMW Control Instances tracking (what happened when):
Each instance uniquely identified with ECID Instances journey tracked through all SOA components: ESB, BPEL, adapters, workflow,

Error hospital: to search, manage resubmit failed Error hospital : search manage, 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

26

Contextual menu

Dashboards

JEE apps SOA apps pp instances Composite test page

errors

FMW Comp. Navigation tree


For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Policy Management
Search for policies Port dependency per policy Customize out-of-box policies Create new or like policies Edit policies Generate client policies Export/import policies Policy subject validation

For Oracle employees and authorized partners only. Do not distribute to third parties. 54 2009 Oracle Corporation Proprietary and Confidential

27

Challenge

How can we make sense of H k f 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


EDA delivers real-time event processing for monitoring, analyzing, and acting on business process optimization. EDN
event
createSupplier

CEP

BAM

ADF page flow and BC

Mobile Devices BAM Dashboards

event

SOA composite

ADF (active RCF & DVT)

JMS

close loop

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

28

<Insert Picture Here>

Seamless Upgrade Path S l U d P th

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 or command-line

3. deploy

1. open

2. save

11g SOA Suite Server


10.1.3 ESB or BPEL project 11g composite project

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

29

<Insert Picture Here>

User M U Messaging Services i S i

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 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

30

<Insert Picture Here>

What l is Wh t else i new? ? Hundreds of new features based on customers feedback it s platform its 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


1

Leverages SCA to deliver the industry first full Service 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 3 Wealth of new features based on customers feedback
2

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

31

Challenge

How can we b i bring H unit testing to the world of SOA composites?

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Unit Testing
10.1.3 BPELTest framework elevated to composite level 1. Define tests / asserts / emulations (JDeveloper) 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

32

Testing
Test different operations within WSDL HTML or XML based input fields Save tests for future use Stress test an operation

For Oracle employees and authorized partners only. Do not distribute to third parties. 65 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

33

<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 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

34

<Insert Picture Here>

BAM 11 U 11g Upgrade d Key Steps

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

BAM upgrade steps overview


RCU creates the schema for 11g BAM Use Upgrade assistant tool to copy data 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

35

<Insert Picture Here>

B2B 11 U 11g Upgrade d 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 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

36

<Insert Picture Here>

SOA 11g U 11 Upgrade d 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!
JDeveloper or command-line

3. deploy

1. open

2. save

11g SOA Suite Server


10.1.3 ESB or BPEL project 11g composite project

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

37

JDeveloper Upgrade
In-place upgrade of application/project. Can upgrade any project, not just SOA projects. project 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

38

Manual steps
Strong attempt made to automate project upgrade as much as possible g p given large differences between g 10g and 11g.
Not always possible. A few things deferred due to time constraints.

Some manual steps. Refer to Upgrade Guide for details. Artifacts upgraded are BPEL processes ESB processes, services, Rules dictionaries, Human Workflow tasks, Adapters. Some limitations apply. Artifacts not upgraded are build files, Fault policies.
For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Best Practices
If a composite references another composite in the migrating application
Migrate/Deploy invoked composite first

Refer to project for abstract WSDL, and HTTP URL for concrete WSDL. Use MDS to share WSDLs, schemas across projects.

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

39

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 p g g patch for 10g g BPEL client. URLs in 11g has different syntax. (includes callback URL used by invoked services).

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

BPEL instance Migration


No support on first release for BPEL instance migration, or audit trail migration. Oracle investigating g , g g g feasibility of instance migration. Two choices for cutting over long running processes to 11g.

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

40

Side by Side Upgrade


10g and 11g systems run side by side. 10g system has all long running processes in retired state so no new process instances can be created. Clients are switched over to 11g. 10g system continues running until all callbacks arrive to complete long running processes. 10g system is decommissioned.

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Grace period cutover


10g system has all long running processes in retired state so no new process instances can be created. p After a grace period, all 10g long running processes are killed. 10g system is decommissioned. 11g system is brought up in production.

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

41

<Insert Picture Here>

11g System 11 S t Configuration and Deployment Upgrade Overview

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Configuration/Deployment Upgrade
10g configuration files not automatically upgraded to 11g configuration files. 11g has to be configured using g g g g g EM, 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 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

42

<Insert Picture Here>

Securing 11g S t S i 11 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 p profile management in 11g is beyond the scope of this g g y p presentation. (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

43

Securing SOA composites OWSM Migration


11g SOA install auto-deploys 11g OWSM policy manager 10g OWSM policies do not migrate to 11g OWSM as they are syntactically different. Refer to OWSM guide for 10g policy to different 11g policy mapping. If 10g BPEL/ESB is secured using OWSM agent, then
Theres no need for agent migration as agent is built-in the 11g SOA runtime Using 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 start using 11g built-in agents b attaching 11 OWSM policies Or, t t i 11 b ilt i t by tt hi 11g li i to SOA composite.

10g OWSM Monitor functionality will be provided by EM SOA Mgt Pack for 11g AppServer scheduled for release in CY 2010.

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

<Insert Picture Here>

10g/11g Interoperability Overview

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

44

10g/11g interoperability
10g B2B interoperates with 11g SOA. 10g OWSM gateway interoperates with 11g SOA 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

Enterprise Manager 11g f SOA E t i M 11 for

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

45

Terms / Concepts
Farm
1 Domain + (possibly) OPMN components (p y) p

Target
A specific component within the Farm that can be EM managed

soa-infra
The SOA container for composite applications

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Management Activities
Composite Lifecycle
Deploy / Un-deploy / Re-deploy, On / Off, Active / Retired

Instance Tracking
Monitor instance state, track message flow, view payloads

Fault Recovery
Retry / Resubmit faulted instances that are resubmitable

Performance Monitoring
Runtime statistics

Policy Attachment
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

46

New Features / Concepts


Composite Instance State
Derived from state of component instances, must be enabled p ,

Audit-Level Inheritance
Service engines can inherit audit level from soa-infra

Role-Based Access
Administrator, operator and read-only roles

Advanced Configuration via MBean Browser


Common features on properties page

Log Viewer
Filtered, searchable built-In log viewer

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Role-Based Access
Read-Only
No MBean operations p

Operator
Deploy / Un-deploy / Re-deploy On / Off, Active / Retire Attach / Detach policies Delete instances Composite level settings for audit trail, p y p g , payload validation

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

47

Layered Management
Enterprise Manager Fusion Middleware Control Everything mentioned so far

WebLogic Server Administration Console Adapter config Data sources JMS JTA Security Realms

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

SOA Suite: Oracle Enterprise Service Bus Roadmap Discussions

SOA Suite Product Management team

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

48

Oracle Fusion Middleware

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Moving Forward10g to 11g


New features:
SCA Enabled Rule Engine based Dynamic Routing Support for all MEP Patterns

Oracle ESB 10g

+
Mediator

Java Callout Converged Fault Fwk Eventing etc

Business Rules

BPEL

Human Workflow

CEP

Service Infrastructure
Service/Event Delivery API
Optimized binding

Policy Manager

JCA

Oracle Service Bus AquaLogic Service Bus 3.x


For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Repository

49

Evolution
Features added to OESB/Mediator SCA 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 Schematron validation XPath based Assignment DVM, Xref can be designed in DT Streaming Attachment 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

50

SOA 11g Unified Service Platform


Application composers
Inline mediation Transformations Filtering
Mediator Business Rules BPEL Human Workflow CEP

Service Infrastructure
JCA

Oracle Service Bus


Service virtualization Gateway Monitoring

SOA Operations

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Seamless Upgrade Paths


Oracle ESB user communities have a seamless upgrade path to the 11g SOA 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

51

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Oracle Adapters 11G

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

52

Agenda
Adapter Architecture Adapter details Q&A
<Insert Picture Here>

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

A Service Oriented Architecture


Orchestrate processes, Mitigate errors, Define a canonical, Translate / transform data, Address: Security / Compliance / Visibility / Management

Web Services

BAM

eBiz Suite Adapter

Human Task

BPEL Process

Business Rules
Trading Partner

Siebel Adapter

B2B Mediator

B2B Protocols

PSFT Adapter

SAP Adapter

Legacy

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

53

<Insert Picture Here>

SOA S it Suite Connectivity: Adapters

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Oracle Adapters: Unified Connectivity Framework


Enterprise-strength infrastructure for connectivity to enterprise information systems (EIS).
Adapter Design-time

Categories of adapters: Oracle OEM (Iway, Attunity) (Iway 3rd-party (Partners) adapters co-sell Single JCA framework for all adapters: In-memory invocation

BAM Technology Legacy Application Packaged Application Oracle O l Applications J2EE Application Server (Oracle & 3rd party Application Servers)

OracleAS Adapters
PORTAL
WSDL

Transactional SCA JCA Binding Hot Pluggable: Oracle adapters can be deployed on 3rd-party containers, along with SOA Suite Declarative configuration Services & References
OSB

Native
Interface JCA

BPEL PM J2EE Applications Mediator

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

54

Some of the Adapters Available for Oracle SOA Suite


Applications
Oracle Applications SAP R/3, mySAP Peoplesoft JD Edwards Siebel Clarify Lotus Notes Ariba AXIOM mx/open Baan BroadVision Clarify Commerce One Hogan Financials i2 Technologies Lawson Livelink Manugistics Microsoft CRM Vantive Walker Interactive Remedy Salesforce.com

Databases
Oracle 8i and above IBM DB/2 Informix Clarion Clipper Cloudscape DBASE Dialog Essbase FOCUS Data Access Great Plains Microsoft SQL Server MUMPS (Digital Standard MUMPS) Navision Financials (ODBC 3.x) Nucleus Paradox Pointbase PROGRESS Red Brick RMS SAS Transport Format Sybase Teradata Unisys DMS 1100/2200 UniVerse

Technology
SOAP HTTP, HTTP-S, REST Email POP3, SMTP, IMAP FTP, FTP-S Flat Files JMS Oracle AQ IBM MQSeries TIBCO Rendezvous Socket MSMQ

Legacy

Bundled Sold as an option,

CICS direct from Oracle IMS/DB Available through IMS/TM certified partners VSAM ADABAS Natural Tuxedo CA-Datacom Screen Scraping CA-IDMS C-ISAM,D-ISAM,K-SAM, QSAM

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Adapters 11g
File Adapter FTP Adapter 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

55

Adapter changes from 10.1.3.x 11g


10.1.3.x
Artifacts 1. WSDL (Inline JCA Bindings) 2. XSD 3. 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 consoles

11g
Artifacts 1. ServiceName.wsdl 2. ServiceName.xsd 3. Adapter.jca 4. Others (e.g. .properties, mappings.xml file Runs on the SCA Infrastructure Inbound Services Outbound Reference Abstract WSDL JCA Bi di (SCA) Binding 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

56

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> <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> <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

57

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" xmlns:xs="http://www.w3.org/2001/XMLSchema" l "htt // 3 /2001/XMLS h " 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/SOAFlatStructure/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/SOAFlatStructure/MediatorFlatStructure/MedFlatOut%2F#wsdl.interface(Write_ptt)"/> <binding.jca config="MedFlatOut_file.jca"/> </reference> <wire> <source.uri>MedFlatIn</source.uri> <target.uri>MediatorFlat/MediatorFlat</target.uri> </wire> <wire> <source.uri>MediatorFlat/MedFlatOut</source.uri> <target.uri>MedFlatOut</target.uri> </wire> </composite>
For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Oracle Adapters
New Features 11g
Socket Adapter
Wizard UI in Jdeveloper Support one-way, request/response Complex protocol h d h k C l t l handshake declaratively (using XSLT) or custom Java code Supports multiple character encoding Integrated with translator infrastructure

MQ Series
Integration with IMS and CICS systems Support for SSL User Exits RFH2 Headers (available in 10.1.3.x SOA also) Inbuilt XA Support (available in 10.1.3.x SOA also) Extensible Messaging Options (Ability for user to configure the Enqueue/Dequeue operation)

AQ Adapter
Completely re-designed Multiple receiver threads (Inbound) AQ Jar deprecated J d t d New 11g JDBC.jar Based AQ integration UI Support enqueue/dequeue

File/FTP Adapter
Polling from multiple directories Support for Append in Ftp Adapter Support for active/active failover Support for ftp servers running on mainframes Chunked Interaction a.k.a Outbound De-batching Support for huge file transfers (~gigs)

JMS Adapter
Map message support Certification Active MQ, Weblogic JMS, IBM MQ, IBM JMS OC4J JMS (10.1.3.4), WLS remote queues Stream support for large payload Requestor Pattern (Temporary Queue)

DB Adapter
Stored procedure support for DB2/AS400, DB2/AS400 Sybase Improved Wizards Distributed Polling (Cluster) Huge huge (gigs) payload support

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

58

Describing the Adapter Framework


Oracle Adapter Framework is based on:
J2CA standards for outbound and inbound communication

Outbound SOA Composite Client

Reference

JCA adapter

EIS

Service S i
JCA activation agent Oracle Weblogic Server 11g
For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

JCA adapter

EIS Inbound

Large Document Handler


XML S JCA S

Mediator

R XML

Binary XML Bi S

Most SOA products, XML and messaging-oriented, do not handle well large documents. Oracle SOA Suite covers all use cases : 1. 2. 3. Scalable DOM Adapter de-batching (including XML) Chunked Interaction for native and XML data. Specially, XML Chunking uses BEA pull parser. Streaming XPath Functions File-IO Attachments

BPEL

R JCA

DOCUMENT MANAGER

Binary XML

Database

4.

Samples:
adapters\adapters-file-102-File Adapter XML Debatching adapters\adapters-file-103-File Adapter Scalable DOM adapters\adapters-ftp-101-FTP Adapter Debatching

5. 6.

The File-IO and Attachments can be used to transfer ~gigs without getting into memory constraints.

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

59

Backup Slides B k Slid

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Database Adapter
Transactional Relational XML mapping

Exposes database operations as Services


Object data conversion Mappings Persistence manager Query Cache JCA TX

Standards based (WSDL, XSD, SQL 92) Tables / Views, PL/SQL Third Party Databases Managed Mode Custom SQL

WSIF

BAM BPEL

TopLink OSB JDBC Portal Java EE application

Oracle

Informix

DB2

MS SQL

Sybase

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

60

AQ Adapter
Provides bidirectional integration Supports both enqueue and dequeue operations, and can serve as a producer as well as a consumer of AQ messages Transactional

BAM Consumer WSIF Native format translator Oracle Advanced Queue Producer JCA Java EE application BPEL OSB Portal

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

<Insert Picture Here>

SOA S it Suite Legacy Integration

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

61

Legacy Integration
Web Services Legacy Adapters MQ Series File Adapter Socket Tuxedo
Leverages and capitalizes on existing legacy data Incorporates mainframes into a service-oriented architecture Rapid, user-friendly, modeling tool. Convert definitions in PSB, DBD and COBOL copy books into XSD/WSDL. Concurrent processing for high performance Load-balancing and HA support Support for native mainframe security mechanisms RACF, ACF-2, TopSecret Change Data Capture*

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

<Insert Picture Here>

SOA S it Suite Applications Integration

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

62

Ebusiness Suite
Integration Repository - Local and Hosted
Catalog of all E-Business Suite Integration Points Source of truth for all integration projects for
Customers Consultants & Integrators

Assurance that you are using public supported and certified interfaces Powerful UI for searching and viewing available Interfaces Better planning 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 designtime 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

63

Connectivity:
eBusiness Suite Adapter - Service enables Oracle Applications

Version Awareness Interfaces with Integration


EDI Gateway XML Gateway Oracle E-Business Suite Adapter Workflow BES Interface Tables, Concurrent Mgr Stored Procedures

Repository Integrates via Open Interfaces and Stored Procedures for inserting data into Oracle Applications. Bi-directional XML integration with XML and EDI Gateway for exchanging OAG based XML/EDI documents.

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

<Insert Picture Here>

SOA S it Suite Applications Integration

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

64

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 Component Interfaces JOLT client (PSJOA) S O A P
BAM

Adapter

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 Metadata expressed in XSD/WSDL format.

TCP/IP HTTP JMS FTP

J W C S A I
F

PORTAL OSB BPEL PM J2EE Applications

Integration Broker

PeopleTools

J2EE Application Server

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Siebel Adapter Architecture


Bi-directional support for Siebel versions 6.0.3 till 8.x Support for Siebel Business Object, Business Services and Integration Objects Interfaces via Java Data Bean and COM Data Bean API Support for guaranteed delivery of Siebel events Files, MQSeries, HTTP D Dynamic i t i introspection of outti f t of-the-box & custom Siebel objects. Schemas expressed as XSD/WSDL

Oracle Adapter For Siebel

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

65

Oracle Adapters: MQ Series Adapter


Native Integration with MQ Series
Leverages native MQ Series API's to connect MQ Series Support Native MQSeries Correlation
Adapter Design-time (JDeveloper)

Highly scalable, and performant Support MQ Native features like PAN and NAN

BAM Technology Legacy Application Packaged Application Oracle O l Applications J2EE Application Server (Oracle & 3rd party Application Servers)

Message Grouping Segmentation Native MQ Functions RFH2 Headers Encodings Priority, persistence, expiry Various kind of reports e.g COA, COD etc. Global Transaction Support (XA)

OracleAS Adapters
PORTAL
WSDL

Native
Interface JCA

OSB

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 Version awareness & iREP integration i t ti Expose Oracle Application interfaces as Web Services 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

Oracle 10g

iWay

WebMethods 6.x

TIBCO 5.x

Librados

(proprietary)

(proprietary)

(proprietary)

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

66

Oracle SOA Suite Adapter Partners


Adapters co-sold with Oracle and supported by partner

14 adapters specializing in mainframe connectivity (JCA binding with SOA Suite)

34 terminal emulation transaction adapters (SOAP over http binding with SOA Suite)

14 adapters for z/OS, MVS and VSE platforms (SOAP over http binding with SOA Suite)

36 adapters for unstructured data such as PDF, HL7 etc. (Translator adapters)

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)

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

OSB 10.3.1

JCA Transport + Seven Adapters


JCA Transport + Adapter Certifications
Packaged with OSB install

AQ Database EBusiness Suite


Packaged separately

SAP PeopleSoft Siebel JD Edwards

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

67

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

68

What is BPEL?
Business Process Execution Language XML-based markup language for composing a 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
Gartner believes that BPEL will emerge as the leading industry standard for Web service orchestration and coordination of business processes.
- David Smith, Research Vice President and fellow, Gartner

BPEL processes expose a WSDL interface


A process flow is automatically a service

BPEL is the future of the integration space in my viewWhy? Because the value is so much higher when you provide not only a way to integrate applications, but also a way to create services from them and put them into business processes
- John Rymer, Vice President, Forrester Research, Inc.

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Strengths of BPEL
Separation of business process definition from implementation
Orchestrates services Abstracted from changes in services

Designed for long running processes Built-in support for asynchronous interaction Fault handling and compensating transactions Extensible Parallel flows Conditional branching

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

69

Based on standards
Uses and extends the web services model
WSDL for defining the interface XML and WSDL typed variables SOAP for communication

XML Schema for definitions XPath for data querying XSLT for transformations WS-Addressing WSIF in 10.1.3, Service Infrastructure in 11

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

And open
Web services / SOAP interface Public 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

70

BPEL by example
<process> <variables> <partnerlink> <sequence> <invoke> <flow> <fl > Service <sequence> <invoke> <partnerLink> <receive> </sequence> <sequence> United <invoke> Load <receive> </sequence> <partnerLink> </flow> <switch> <case> <sequence/> </case> <case> <sequence/> </case> <switch> </sequence> </process>
Customer
Get cust info BPEL Flow

<process>
start

10:00am

<variable> <invoke> <flow>


Send RFQ

<faultHandlers>
Handle customer data exception

<invoke>
Send RFQ

Star Loan
Receive quote Receive quote

<receive> </flow> <switch>


?
Select best vendor

<partnerLink>

end

</process>

1:00am

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 Java Service

?
J2EE BPEL TOMCAT
IU

Database Stored Procedures ERP SAP, O l SAP Oracle, etc. t User Tasks

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

71

Architecture and Deployment


BPA Suite
BPEL

Process Modeller

Mediation

Mediation BPEL orchestration Human Tasks Business Rules Web services and adapters

BPEL

Rules

Human Task

SAR

SCA Composite

SOA Composite Editor

Mediator
MDS

Business Rules

BPEL

Human Workflow

11g Service Infrastructure


Common JCA-based connectivity infrastructure Policy Manager

Web-based console

Dehydration Store

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

72

Features: BPEL PM 11g


Scalable DOM Reduced memory consumption Better performance for large payloads Entity Variables Claim-check concept C Fetching of data is deferred until needed Interfaces: ADF-BC (SDO data), RDBMS Runtime In-memory state (Fusion CRM) RAC integration enhancements Unified error hospital Transformations Multiple input sources Complex constructs: any, xsi:type Substitutions Abstract types and elements EDN Support BPEL can publish and subscribe to events directly Migration Tool Migrate existing BPEL processes to composite application Ability to migrate running instances to new process versions

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

<Insert Picture Here>

Human Worflow

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

73

Workflow Architecture
JDeveloper BPEL Designer Task Metadata

WSDL Interface

Human Workflow Service

Custom App

Supervisor Work Assignee Process Owner

Assign Tasks

Update Task

Task Complete

Worklist Application

BPEL Process

Service Consumer (Non-BPEL)

Component S C Services
Task Management Service Task data, forms, Attachments Task Routing Service Assignment, Dispatching User Metadata Service Rules, Work queues Identity Service Users, Roles Worklist Service Task query, Reporting Notification Service Email, Wireless

Java POJO / EJB Java API

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Summary of Workflow Features


Task Assignment
Users Roles Groups

Task routing
Declarative patterns Ad-hoc routing Document based routing Complex routing with business rules

Management Rules
Escalation, Expiration Delegation, Vacation rules Work load balancing

Notifications
Declarative specification of: When assigned, expired, Who assignee, manager, Email, Voice, Pager, SMS

Worklist Application
Profile based assignee, supervisor, group owner, process owner Available as portlets C Completely customizable l t l t i bl Web Services and Java API

Reports, Audit Trails,


Productivity and distribution reports Complete history and audit trail

Task Forms
ADF based task forms Auto-generated, user defined Task Data controls MS Office integration

Identity Management
Roles and Org. Hierarchy Integrates with OID, LDAP, JAZN; custom plug-ins

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

74

Features: BPEL PM 11g - Workflow


ADF task flow for task forms ADF enables sophisticated task display forms using RCF components, can create multi-page forms Auto generate ADF task forms. New Out of the box Worklist application Based on rich client framework (JSF) Significant usability enhancements New Identity management layer Use 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 backward n levels in routing chain Notification enhancements Reliability enhancements - Detection of auto-reply, badly formatted responses, spam User preferences for various devices for different types of notifications New in 11g: IM Digital signatures for tasks Use digital certificates to sign task content when taking actions on a task MS Office/Excel integration Use Excel to initiate workflows Excel to access worklist tasks Access/Visibility policies Restrict who can see and edit different parts of the task Restrict actions performed by participants Task service enhancements Support for to-do tasks Support for sub-tasks Task reporting enhancements End-to-end instance tracking of BPEL, mediator, Workflow New report for task productivity and assignee time distribution Workflow engine dashboard Workflow component view in SOA console Detailed performance metrics Error reporting

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Oracle Business Rules

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

75

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

Custom Author

Oracle Rule Author Rules SDK

Custom Author

Rules Repository R l R it
A C

BPEL

RETE Rules Engine

XML Facts

Java Facts

Rules API (JSR 94)

Decision Service

/** @Foo **/ method Foo(....) {

Java Application

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

76

TWC enables customer self-service using Oracle SOA Suite


COMPANYOVERVIEW 2nd largest multiple service provider; owns and manages advanced, well-clustered cable systems in the United States Industry: Communication 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)

RESULTS
Application to allow Business Class Phone
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
Opportunities & Challenges
Apollo Group is leading provider of higher education programs for working adults Highly manual way of determining student eligibility for funds g y p Highly complex workflow with varied business rules and multitude of applications (PeopleSoft, e-Business Suite) Need to implement solution and process entire student population in 4 months

Process Automation Apps Integration

Solution
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

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

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

77

Oracle Business Rules 11g


Easier to use Date, Time, Effectivity Aggregates Decision Tables Dictionary Links, and many more Web based business user authoring (R1+)
For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Business Rules in SOA Composite


Different Usage Scenarios

Stand Alone

From Human Task

From BPEL

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

78

Tight Integration with BPEL


Create rule dictionary from within BPEL ithi Leverage BPEL variables and project schemas Dictionary completely setup for writing rules i.e. facts created, etc. t

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 ifthen rules authoring th i 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

79

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 with price > 1000 ith i 1000, require manual approval Out-of-box aggregation functions: count, average, minimum, maximum, sum, collection C t Custom aggregation ti function

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

80

Decision Tables
If CurrentDate.date = During Sale and CustomerOrder.vipStatus = Platinum or Silver and CustomerOrder.totalAmount >= 700 Then Discount = 15 and status = APPROVED List of Values or Ranges

Set of Values or Ranges to compare with

Resolve overlap between R1 and R3 by overriding R3 with R1

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Decision Function
Simplifies exposing rules to be invoked as Decision Service S i or otherwise th i 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

81

Rules Testing

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Many More Features

Dictionary Links Spread rules across dictionaries for 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

82

83

84

10.1.3

11g Upgrade Path

Completely transparent and automated project upgrade: simply open your project in JDeveloper and re-deploy!
JDeveloper or command-line

3. deploy

1. open

2. save

11g SOA Suite Server


10.1.3 BPEL project or Rule Dictionary 11g composite project

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

85

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:
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 version configuration plans to customize environmentspecific values

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

86

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 p parameters Deploy to a new environment without changing core composite definition

schema=dev h d

C:\tmp C \t

http://dumbo:7001 schema=storders htt //d b 7001 h t d

/data/receive /d t / i

http://ironman:7101 htt //i 7101

DEVELOPMENT

PRODUCTION

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

87

Anatomy of a SOA config plan


2 main sections: <composite/> To operate substitutions on anything in composite.xml <wsdlAndSchema/> dlA dS h / to operate substitutions on .xsd, .wsdl and .jca files
<composite name="POProcessing"> <searchReplace> <search>8888</search> <replace>8889</replace> <searchReplace>--> </composite>

<wsdlAndSchema name="WriteApprovalResults_file.jca"> <jca:property name="PhysicalDirectory"> <replace>c:\tmp\out</replace> </jca:property> </wsdlAndSchema>

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 service properties Reference properties binding properties

JCA adapter files: any property XSD files: schemaLocation attribute of an include, import, and redefine WSDL files: location attribute of an include 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

88

2 main use cases


1

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 plan she i given l h is i 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 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
ant-sca-compile.xml t il l ant-sca-deploy.xml ant-sca-mgmt.xml ant-sca-package.xml ant-sca-test.xml ant-sca-upgrade.xml ant-scac.xml ant-scac xml ant-scap.xml ant-scatest.xml

WLST
deployComposite p y p undeployComposite startComposite stopComposite activateComposite retireComposite assignDefaultComposite attachPlan extractPlan g generatePlan 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

89

Lifecycle scenario actors and tools


Development machine test Test machine test Production server

Create dev config plan Deploy (from JDEV)

Compile Package Deploy (with ANT)

Deploy (from EM)

JDeveloper
Open Create dev config plan Check in JDev project

Command line
Check in SAR Check in test config plan

Enterprise Manager
Check out SAR Create production config plan

File system

SVN

Check out Create test config plan

SVN
SAR archive

JDev project

DEVELOPMENT

dev config plan

TEST

test config plan

PRODUCTION

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,

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 Deploy, attaching new TEST config plan D l hi fi l

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

90

Lifecycle scenario lab


Development machine test (simulated) Test server test (simulated) Production server

Create dev config plan Deploy (from JDEV)

Compile Package Deploy (with ANT)

Deploy (from EM)

JDeveloper
Open Create dev config plan

Command line
Get JDev project Create test config plan

Save SAR Save test config plan

Enterprise Manager
Get SAR file Create production config plan

File system
JDev project SAR archive

dev config plan

test config plan

DEVELOPMENT

TEST

PRODUCTION

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Fault Handling

91

Challenges
Need for reliable SOA
g g p y Higher degree of complexity Reuse impact
Sales DB
Receive

Duplicate number!

Handle all type of exceptions


Anticipated Unexpected
Invoke Invoke

Router
Receive Receive

Billing

Reduce Complexity
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

92

Business Faults
Application-specific Business logic decides how to handle fault Anticipated errors: failures in business state, input data inconsistencies, exceptional states Examples:
Invalid account number submitted Credit limit exceeded Outside allowable date range

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Business Faults
Definition Defined in service WSDL
Service designer defines message structure for the fault g g messageType defined in WSDL

Example WSDL:
<?xml version="1.0" encoding="UTF-8" ?> <definitions name=" NegativeCreditFault"> <message name="CreditRatingServiceFaultMessage"> 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

93

Runtime Faults
Also known as technical or system faults Runtime faults
(remoteFault, bindingFault, etc.) - unexpected

I f t t Infrastructure faults f lt
Service down, network outage, connection timeouts

Data format errors


Inappropriate data structure, corrupted message

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

<Insert Picture Here>

BPEL F lt Faults

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

94

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 forcedTermination correlationViolation uninitializedVariable repeatedCompensation invalidReply

Standard faults are defined as follows:


Typeless meaning they do not have associated messageTypes Typeless, 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 Faults
remoteFault A remoteFault is thrown inside an <invoke> activity It is thrown because the invocation fails For example, a SOAP fault is returned by the remote service
Fault Code ConnectionRefused WSDLReadingError GenericRemoteFault Description of Fault Remote server is unavailable Failed to read the WSDL Generic remote fault

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

95

Runtime Faults
bindingFault
A bindingFault is thrown inside an <invoke> activity A bindingFault is not retryable This type of fault usually requires human intervention y y Example: The WSDL of the process fails to load
Fault Code
VersionMismatch MustUnderstand

Description of Fault
The processing party found an invalid namespace for the SOAP envelope element. 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 Generic error on the client side Input message part number mismatch Output message part number mismatch Input message part type error Output message part type error Generic error on the server side Server is up, but there is no service Request is missing the HTTP SOAP action Request is not authenticated Request is not authorized
For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Client.GenericError Client.WrongNumberOfInputParts Client.WrongNumberOfOutputParts Client.WrongTypeOfInputPart Client.WrongTypeOfOutputPart Server.GenericError Server.NoService Server.NoHTTPSOAPAction Server.Unauthenticated Server.Unauthorized

Runtime Faults
replayFault A replayFault replays the activity inside a scope scope At any point inside a scope, this fault is bubbled up to the scope Oracle BPEL Server then re-executes the scope from the beginning

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

96

Implementing Faults
Faults occur when
a <throw> activity is used to throw a specific fault y p you invoke a partner link that returns a fault

In addition, runtime faults can be thrown by the underlying framework into a BPEL process

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Throwing Faults
Within the same process Use <throw> activity to throw a fault
<throw name="throw_1" faultName="NegativeCredit" faultVariable="faultVar"/>

A business or runtime fault can be caught with a faultHandler using the faultName and a faultVariable
<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

97

Runtime Faults
Catching Runtime Faults BPEL runtime faults are caught as a named BPEL fault The bindingFault and remoteFault can be associated with a message. This enables the faultHandler to get details about the faults Example
Import the following into your process WSDL: HOME\bpel\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>

Mediator Faults M di t F lt

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

98

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

99

<Insert Picture Here>

Fault M F lt Management F t Framework k

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Fault Management Framework


Policy Driven Fault Handling Introduced in SOA Suite 10.1.3.3 Pre 10.1.3.3 Pre-10.1.3.3 implicit error handling coded into the process
Painful reusability Clutters up process map

Available in SOA Suite 11g with enhancements


Mediator Faults Adapter Faults BPEL Faults

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

100

Fault Management Framework


Policy Driven Fault Handling
Externalize your error handling Policy-driven Intended for technical faults (but handles business faults as well) Engine level
No impact on BPEL process design No impact on process in runtime (fault is isolated from process)

XML-based fault policies


Conditions for faults (fault name, XPath on fault content) S t of actions ( t h Set f ti (retry, human i t intervention, replay scope, rethrow fault, ti l th f lt 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 Framework


Intercepts faults before fault handler

Policies

Actions

Retry Abort Human Intervention Custom Java Action etc...


Fault Policy Framework

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

101

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

Overrides any fault handling in the BPEL process Defined in fault-policies.xml in the same directory as composite.xml
Can also be stored in the MDS and referenced in composite.xml useful if standard policies across SOA applications
For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

XML for Fault Handling Policy


fault-policies.xml
<?xml version="1.0" encoding="UTF-8"?> <faultPolicies> <faultPolicy version="2.0.1" id "CRM S i F lt " f ltP li i "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"/> </condition> <condition> <action ref="ora-retry"/> </condition> </faultName> </Conditions>

Policy ID

Fault Name

XPath Expression

Action Reference

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

102

XML for Fault Handling Policy


fault-policies.xml
<Actions> <Action id="ora-rety"> <retry> <retryCount>3</retryCount> <retryInterval>2</retryInterval> <exponentialBackoff/> <retryFailureAction ref="ora-java"/> <retrySuccessAction ref="ora-java"/> </retry> </Action> <Action id="ora-rethrow-fault"> <rethrowFault/> </Action> <Properties> P ti <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

Action ID, referred from Condition

Action specification

Properties

Recovery Actions
Retry
Retries failed operation # times with specified wait time, exponential back off, retry failure action, multiple WSDL locations
<Action id="ora-retry"> <Retry> <retryCount>3</retryCount> <retryInterval>2</retryInterval> <exponentialBackoff/> <retryFailureAction ref="ora-java"/> <retrySuccessAction ref="ora-java"/> </Retry> </Action>

Human Intervention
Console based recovery, possibility of changing values of component variables

<Action id="ora-human-intervention"> <humanIntervention/> </Action>

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

103

Recovery Actions
Replay scope
Throws replay fault, which triggers replay of enclosing scope
<Action id="ora-replay-scope"> <replayScope/> </Action>

Rethrow fault
Throws fault into the process instance, which can handle it

<Action id="ora-rethrow-fault"> <rethrowFault/> </Action>

Java action custom Java code called


Code can perform additional tasks and select recovery action

<Action id="ora-java"> <javaAction className="mypackage.myClass" defaultAction= ora-terminate defaultAction="ora terminate" propertySet="propSet1" > <returnValue value="RETHROW" ref="ora-rethrow-fault"/> <returnValue value="MANUAL" ref="ora-human-intervention"/> </javaAction> </Action>

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Java Action
Implements IFaultRecoveryJavaClass interface
public interface IFaultRecoveryJavaClass { public void handleRetrySuccess(IFaultRecoveryContext ctx ); public String handleFault(IFaultRecoveryContext ctx ); }

handleRetrySuccess is invoked upon a successful retry attempt. The retry policy chains to a Java action on retrySuccessAction handleFault is invoked to execute a policy of type javaAction Typically handles side tasks: notifications, f f fault logging and extended decisions about recovery action Executed in EJB context within composites transaction
For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

104

Policy Bindings
Associates the policies defined in the fault policies file with
SOA composite application Components (BPEL, Mediator etc)

Defined in fault-bindings.xml
<?xml version="1.0" encoding="UTF-8" ?> <faultPolicyBindings version="0.0.1 xmlns="http://schemas.oracle.com/bpel/faultpolicy" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <composite faultPolicy=MyConnectionFaults"/> <component faultPolicy=MyServiceFaults"/> <name>routePOMediator</name> <name>POProcess</name> </component> </faultPolicyBindings>

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Human Intervention
Console Recovery Enterprise Manager based SOA Console Instance detail
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

105

Human Intervention
Console Recovery Actions Available
Set Outcome and Continue
User decides Activity Output can be "skipped", or manually entered. Get and Set the data before continuing

Re-Throw Fault
User can set data, then throw to an "outerscope" fault handler

Replay Scope
User can replay the scope with changed data values

Abort Process
User can abort the faulted process

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Returning External Faults


One-way (asynchronous) interaction: Service Provider Define fault operation in WSDL:
<operation name="onResult"> p <input message="tns:PaymentProcessorServiceResultMessage"/> </operation> <operation name="onInsufficientFundException"> <input message="tns:InsufficientFundExceptionPaymentProcessorSvcMessage"/> </operation>

Execute <invoke> activity in BPEL (for the callback) 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

106

Returning External Faults


Request-response (synchronous) invocation Define fault operation in WSDL:
<operation name="process"> <input message="tns:CreditRatingServiceRequestMessage "/> message= tns:CreditRatingServiceRequestMessage /> <output message="tns:CreditRatingServiceResponseMessage" /> <fault name="NegativeCredit" message="tns:CreditRatingServiceFaultMessage" /> </operation>

Execute <reply> activity with fault in BPEL:


<reply partnerlinke="partner-link-name" portType="port-type-name" operation="operation-name" variable="variable-name" faultName="fault-name"> </reply>

Client catches fault in a fault handler:


<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 Faults
Getting fault details with XPath In a <catchAll> or specific <catch> handler... Use the getFaultAsString() XPath extension function to obtain additional information

<catchAll> <sequence> <assign> o expression="bpelx:getFaultAsString()"/> bpe :get au t sSt g() / <from e p ess o <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

107

Runtime Faults
Definition Example WSDL:
<?xml version="1.0" e cod g U ? e s o .0 encoding="UTF-8" ? 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>

If a faultVariable (of messageType RuntimeFaultMessage) is i used when catching th f lt th f lt code can b d h t hi the fault, the fault d be queried from the faultVariable, along with the fault summary and detail.

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Returning External Faults


One-way (asynchronous) interaction: Service Consumer Use Pick activity to receive exception callback
<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

108

Securing SOA using Oracle Web Services Manager (WSM) in 11g1

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Introducing Oracle WSM


Secures SOA declaratively Centralized administration and local 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

109

Customer Needs
Dont want developers to worry about security Prevent security silos E2E identity propagation Interoperate with other security products (such as .NET) Audit all service accesses, get reports Monitor policy violations

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Web Services Infrastructure


WS-Security, WS-ReliableMessaging, WS-Policy

Web Services Manager

HTTP SOAP

HTTP REST

JMS SOAP

Web Services Development With JDeveloper

SCA Metadata Model & Service Binding


WSSecurity (SAML,) WSAddressing WSReliable Messaging

Agent

Auditing

Logging

Declarative QoS - Web Services Interoperability Infrastructure ( p y (WS-*) ) JAX-WS Attachment Web Services (MTOM/SwA) Metadata WSIF JAX-B Data Binding JAX-R

Web Services Java Programming Model Java EE

Oracle Weblogic Server

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

110

Securing more than SOA apps

SECURITY (WS-*)

Oracle Web Services Manager

Web Services

SOA

ADF

Webcenter

JAX-WS

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>

Features F t

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

111

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 y propagation Automatic identity 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

112

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 clients p

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

113

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

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

114

Identity propagation use case


wss_username_token_service_policy

Verify security Authenticate Set Subject


Username token

OrderBooking SOA Process O d B ki P

wss10_saml_token_service_policy

Web Client

Receive Order

Verify SAML token Authenticate Set Subject


SAML

Authorize user
component_authorization_policy

Get Customer Info

Verify Credit Card

Validate Credit Card Service Read Subject Insert SAML Token


wss10_saml_token_client_policy

Fulfill Order

Notify Customer

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 v3 3 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

115

<Insert Picture Here>

Architecture A hit t

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
Interceptor Framework Web Service
Policy Reference: oracle-webservices.xml Policy Name

Oracle Fabric
Policy Reference: composite.xml Policy Name

Policy Access Point (PAP)

Policy Name RMI

Policy RMI

Oracle WSM Policy Manager

MDS
For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

116

Policy interceptor chain

Application Runtime pp

Deployed Application p y pp

Request

MTOM
Response

Security

RM

Mgt

Web Service

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

117

Mapping of WSM 10gR3 components to 11gR1


10gR3 WSM
Policy manager Console and Monitor Agents for OC4J/SOA Weblogic W bl i agent t Gateway and 3rd party agents

11gR1 WSM
Policy manager Enterprise Manager (EM) + EM SOA Mgt Pack (for SLM) Built-in agent for SOA and Weblogic server Built-in B ilt i agent for Weblogic t f W bl i server Post 11gR1 release

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

10gR3-11gR1 Hybrid Architecture


11gR1 policies will interoperate with 10gR3 policies on the wire 10 R3 policies wont b 10gR3 li i t be manageable by 11gR1 policy manager Provision to upgrade remaining infrastructure to 11gR1 except for Gateway (until 11g Gateway becomes available)
11g Client + Policy 10gR3 Gateway (*) 11g Service
+ policy (optional)

11gR1 WSM PM

10gR3 WSM PM, Monitor

MDS
Database 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

118

<Insert Picture Here>

Oracle O l WSM 11gR1 11 R1 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
SOA, ADF and WebCenter

Security stack
NO CHANGE (Oracle WSM policies) Choice of Oracle WSM policies Weblogic WS-Security policies Weblogic WS-Security policies

JAX-WS

JAX-RPC

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

119

Securing JAX-WS clients/services


Weblogics JAX-WS stack replaces Oracle appservers stack Customers get a choice
Use Oracle WSM policies or U W bl i WS S Use Weblogics WS-Security policies it li i

Long term (post 11gR1) Weblogics 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 Policy impact analysis Policy mgt for reliable messaging, addressing, MTOM policies using Oracle WSM Bulk policy attachment Auditing of policy attachment events
For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

OWSM Lab
Objectives Introduction to Web Services Management Attach policies to a composite Demonstrate identity propagation

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

120

OWSM Lab
Use Case
Attach Policies to a composite to authn, sign, encrypt
UserID/PassWD authn on entry to a composite Id tit propagates through multiple components in the composite Identity t th h lti l t i th it SAML identity propagation with signing and encryption on invoke from the composite

Steps
Attach userNameToken policy to POProcessing composite entry point in EM Attach SAML with message protection to Credit Card validation service reference in EM Att h SAML with message protection t C dit card validation Attach ith t ti to Credit d lid ti 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

121

Challenge

Asynchronous M Messaging?! A h i ?! 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

Event Delivery Network (EDN)


Work with events not messaging infrastructure! Declarative way to work with publish-subscribe Offers rich subscription capabilities:
1. Namespaces 2. Events Names 3. Content-based XPath filters

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

122

EDN support across the stack


ESB fan-out patterns

newSupplier event

SOA composite SOA composite SOA composite

Update operations on ADF-BC objects trigger events, initiating SOA composites


newSupplier event

createSupplier

Etc.

ADF page flow and BC

SOA composite

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Event Delivery Network (EDN)


publish-subscribe abstraction
EDN

Developers do not need to know about u de y g o underlying eventing infrastructure Fully declarative

2
CRM
(no filter)

Customer portal
(no filter)
Bigbank NewTransfer

<subscribe xmlns:bb="http://bigbank.com/events" name="bb:NewAccount>

Retail Banking Application

[]

No need for explicit wiring (no filter) between components: truly decoupled applications 3 level of subscription granularity: p g y 1. Namespaces 2. Events Names 1 3. Content-based XPath filters
2 3

Customer Provisioning (US) Customer Provisioning Filter Customer (Canada) country =Provisioning US Filter (Canada) country = Canada Filter country = UK

<subscribe xmlns:bb="http://bigbank.com/events" name="bb:NewTransfer> + XPath filter: $in/tr:NewTransfer/tr:Address/po:Country=' US'

Bigbank NewAccount [] country=US []

1
AUDIT

<subscribeNamespace namespace="http://bigbank.com/events" (no filter)

Order Processing
(no filter)

<subscribe xmlns:bb="http://bigbank.com/events" name="bb:NewTransfer>

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

123

Event Delivery Network (EDN)


XSD file

EDL file

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

EDN: aligns SOA and EDA


SERVICES WSDL: Standard service interface model XSD: Strong typing Business-oriented Wealth of tools MESSAGING JMS API: Application Programming Interface Handful of raw types Developer-oriented Mostly coding tools EDN EDL: Event Definition Language XSD Business-oriented 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

124

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

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

The Fusion Development Framework An Overview of Oracle ADF 11g A O i fO l 11

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

126

Oracle Fusion Applications


Merge Oracle EBS, Siebel, Peoplesoft into one offering with multiple modules g p Probably one of the largest software development projects in the world
Thousands of developers Several years in the making

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

What We Wanted
Cutting Edge UI Agility System Integration Scalability, Security, Portability

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

127

How Well 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

128

Oracle Fusion Architecture


View User Interface WebCe enter
ADF Faces components

Business Logic Business Services JSR-227 Data Binding Web Services


Events

Data

DB Schema

Business Activity Monitoring

Human Workflow Service

BPEL Process
Assign Task Task Complete

facts results

Rules Engine

Monitoring

Human interaction

Orchestration

Policy evaluation

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 Services SOA WebCenter / Portlets Database XML

JDeveloper

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

129

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

130

Visual and Declarative


WYSIWYG UI design Flow diagrams Modelers Visual XML Editors Process Flow

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Choice of Development Styles

Visual Dialog Code


For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

131

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 dont know these technologies Most come from 4GL background Expecting a visual and declarative approach Dont have time to learn all these new technologies Need to focus on their specific application needs

How do you make it easy and approachable?

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

The Solution - Oracle ADF


Abstract developers from technology complexities
Example - UI Components abstracts from Ajax, Flash, p p j , , Javascript, DOM

End-to-end framework Implements best practices Standards-based and extensible Easy to develop with
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

132

Oracle ADF An Enterprise Java Framework


Add value and simplify Java EE Provides solutions for:
UI components and framework Advanced Controller Binding UI to business services Declarative and proficient business services O/R mapping Visual and declarative development p Customization

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Application Development Framework (ADF)


Standards-based Productivity
Desktop
ADF Swing Metadata Services (M MDS) Office JSP

Browser-Based
JSF ADF Faces / DVT

View

Struts

JSF/ADF Task Flow

Controller Model

ADF Bindings (JSR 227)

Java

EJB

BAM

BPEL

ADFbc Web Services

BI

Essbase

Portlets

TopLink op

Business Services

Data Services
Relational Data XML Data Legacy Data Packaged Apps

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

133

Application Development Framework (ADF)


Fusion Stack
Desktop
ADF Swing Metadata Services (M MDS) Office JSP JSF

Browser-Based
ADF Faces / DVT

View

Struts

JSF/ADF Task Flow

Controller Model

ADF Bindings (JSR 227)

Java

EJB

BAM

BPEL

ADFbc Web Services

BI

Essbase

Portlets

TopLink op

Business Services

Data Services
Relational Data XML Data Legacy Data Packaged Apps

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Fusion Development

Relational Data

Business Services
XML Data

User Interface

Packaged Apps

Business Processes
For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Exposed Portlets

134

Fusion Development

Relational Data

Business Services
XML Data

User Interface

Packaged Apps

Business Processes
For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Exposed Portlets

Business Service Goals


Bridge Object-Relational gap Manage CRUD operations
Queries/DML

Implement business rules


Data validation Business logic

Reusable St d d b Standards-based d

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

135

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 values Calculated fields Various validations Range fetching Transaction control g Locking mechanism 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

136

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

137

Fusion Development

Relational Data

Business Services
XML Data

User Interface

Packaged Apps

Business Processes
For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Exposed Portlets

From These

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

138

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 Drag-and-drop framework Dialog and popup framework Navigation menu framework Partial page rendering Advanced data streaming Complete JavaScript API p p Skinning Accesibility

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

139

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 flows Advance functionality in a declarative way
Page and flow re-use Executing code in a flow Security Flow control Bookmarking Back button support Exception and transaction management Memory scope management

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

140

Bounded Task Flow Example

addCust

editRecord

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

Task Flow Private Implementation and State

Page region

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

141

Fusion Development

Relational Data

Business Services
XML Data

User Interface

Packaged Apps

Business Processes
For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Exposed Portlets

ADF Model - Data Binding

ADF Model
JSR-227 Data Controls JSR 227

Service Oriented Interface


Abstract implementation from clients Loose coupling between services and application

More Productivity
Drag and Drop Data Binding

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

142

Fusion Development

Relational Data

Business Services
XML Data

User Interface

Packaged Apps

Business Processes
For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Exposed Portlets

Business Process Development


BPEL - standard for service integration O h t t heterogeneous Orchestrate h t services Hundreds of adapters for back-end system Visual development of business processes Consistent development experience p
Same tool Visual, drag & drop

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

143

Orchestrate Services
SHOPPING PORTAL

ESB

Order Booking BPEL PROCESS

receive Web Ser rvices Interface: XML, SOAP, WSDL, WSIF Insert Order
Order DB

getCustInfo Rules repository

ADF component Customer service

Rules Engine

Decision Service

Manual Review?
Alternate

Rule Author

Approval (Workflow)

Preferred

invoke receive

invoke receive

Product Suppliers

Notify Cust

Notification Service

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Fusion Development

Relational Data

Business Services
XML Data

User Interface

Packaged Apps

Business Processes
For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Exposed Portlets

144

Oracle WebCenter
Blend the line between Portal and your application
Publish JSF pages as p p g portlets 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 Web UI Components Portlets Task Flows Page (Contextual) Events

Backend Services
Business Processes Business Rules Routing Rules Business Events Data Transformation Business Analytics Data Access & Validation

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

145

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

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 Document
User Customization

Teds Page

Application Customization

MDS Customization Engine

Johns Page

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

146

Oracle BAM 11g

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Oracle Business Activity Monitoring (BAM)


Integrated SOA/ Process Insight
Process Flows Exceptions/ Bottlenecks/ Process Opportunities Adaptive/Dynamic Processes

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

147

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

Process Visualization
BAM Reports Embeddable, Real-time Views defined by continuous queries Dashboards No-code required to build a Real-time Dashboard

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 JPS Security EM Integration

Application Server

BAM Server
ActiveDataCache

EventEngine

Actions & Escalations Notification Services

J2EE Web Applications


Active Viewer Active Studio Architect Administrator On-line Help
API Kernel

ReportCache
ViewSets DataSets DataStorageEngine Snapshots & Change Lists Memory / Disk

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

148

BAM Enterprise Link 10g Enterprise Integration Framework 11g


JMS Connectivity
JMS Queues & Topics Batching & Transactions g

Enterprise Link/ Oracle Data Integrator


Insert, Update, & Delete Change Data Capture Advanced Version Management

Web Services API


WSIL & Dynamic WSDLs

Native Oracle SOA Integration


BPEL-BAM Sensors SOA 11g BPEL Partner Links Mediator Pipeline Interceptors

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

JMS Connectivity in Oracle BAM 11g: Enterprise Message Sources


Available in Oracle BAM Architect
Drop down menu

JMS Topic or Queue Connectivity


Supports JMS 1.1 or above

Choice of Batching and Transactions Map XML Tags or Attributes directly to Oracle BAM data objects j
Insert, update, delete, upsert

Incorporate XSL Transforms where necessary

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

149

Native Oracle SOA Integration in BAM 11g: BAM Adapter


Framework for the 11g SOA Infrastructure that provides 3 ways to communicate with BAM
Reference-binding component in a SOA composite P t Partner link i a BPEL process li k in 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 p g Implemented using JMS 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

150

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 Oracle O l BAM Active Data Cache A ti D t C h

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


Application Server
Message Queues WebApplications

BAM Server
Enterprise Integration Framework ActiveDataCache

EventEngine

Mobile Devices
StartPage ActiveViewer

BAM Dashboards

Actions & Escalations ActiveStudio Notification Services

CEP
JMS Connector API Kernel BAM Adapter

Architect Administrator

BPM
WebServices

ReportCache
ViewSets DataSets DataStorageEngine Snapshots & Change Lists Memory / Disk

Internet
ReportServer

OESB
Web Services

ADF Pages with DVT

Internet
ODI

ADF
BAM DataControl

BPEL

External Data Objects

BI

iCommand

Data & Metadata Import & Export

OLTP & Data Warehouses Databases

BAM Data & Metadata Oracle Database (Grid)

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

151

Oracle BAM Data Sources


Open Integration Strategy with Oracle Optimizations
Web Service BPEL PM Oracle Apps Enterprise Manager

Analyze processes, trends, and context

Enterp prise Message Sources

Oracle BAM

Capture real-time data

Real-Time Alerts
Interface for business users

JMS 1.1 MS MQ IBM MQ Tibco Oracle AQ Sonic JDBC Oracle Sybase Sql Srv File System Database JMS Bus

Real-Time Dashboard/ Reports

Oracle Database

Call Java App or WebService

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Oracle BAM: Active Data Cache


Process Static Data, Events, and Streams

BA

BOEING

77.575

800

20080305 10:03:02:78

DO

DUPONT

41.575

3000

20080305 10:03:04:12

Streams
Continuous input, often in high-volume Time ordered Does not end Impossible to process / analyze in realtime with traditional relational database systems

AA

ALCOA INC

20.125

1000

20080305 10:03:01:55

AXP

AMER EXPRESS CO

45.875

500

20080305 10:03:02:10

BA

BOEING

77.575

800

20080305 10:03:02:78

CITIGROUP

34.125

2000

20080305 10:03:03:05

CAT

CATERPILLAR

22.5

600

20080305 10:03:03:46

DO

DUPONT

41.575

3000

20080305 10:03:04:12

AA

ALCOA INC

20.125

1000

20080305 10:03:01:55

AXP

AMER EXPRESS CO

45.875

500

20080305 10:03:02:10

Time

BA

BOEING

77.575

800

20080305 10:03:02:78

CITIGROUP

34.125

2000

20080305 10:03:03:05

CAT

CATERPILLAR

22.5

600

20080305 10:03:03:46

DO

DUPONT

41.575

3000

20080305 10:03:04:12

AA

ALCOA INC

20.125

1000

20080305 10:03:01:55

AXP

AMER EXPRESS CO

45.875

500

20080305 10:03:02:10

BA

BOEING

77.575

800

20080305 10:03:02:78

CITIGROUP

34.125

2000

20080305 10:03:03:05

CAT

CATERPILLAR

22.5

600

20080305 10:03:03:46

DO

DUPONT

41.575

3000

20080305 10:03:04:12

AA

ALCOA INC

20.125

1000

20080305 10:03:01:55

AXP

AMER EXPRESS CO

45.875

500

20080305 10:03:02:10

BA

BOEING

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

152

What Is Event Processing?


Event Processing Output
Filtering New stream filtered for specific criteria, e.g. stock price > $22 Correlation & Aggregation Scrolling, time-based window metrics, e.g. average # of stock trades in the last hour Identification of non-events, e.g. price changes A and B occurred within 15 minute window; we also expected C but it never happened
CAT CATERPILLAR DO DUPONT AA ALCOA INC AXP AMER EXPRESS CO

D 22.5 600 20080305 10:03:03:46 D 41.575 3000 20080305 10:03:04:12 D 20.125 1000 20080305 10:03:01:55 D 45.875 500 20080305 10:03:02:10 BA BOEING D 77.575 800 20080305 10:03:02:78

In-Memory, Continuous Queries

EP

BAM vs. Complex Event Processing


CEP engines also filter, correlate and aggregate But CEP adds complex pattern matching to the mix Multi-pass query logic Multi-stage pattern recognition

Runs In-Memory (not in Database) *** Logic is defined through Continuous Queries on the data

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

slm6

The Development Environment, Oracle BAM


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 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

Provides IT Operations with key integrations to:


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

153

Slide 306 slm6 Change to focus only on Architect


smcreyno, 5/4/2009

Process Visualization, Oracle BAM


Meaningful, Event-driven Visibility for End-Users Monitor business processes & services in real-time
Key Performance Indicators (KPIs) Service-Level Service Level Agreements (SLAs)

Analyze events as they occur


Correlate events & KPIs Identify trends as they emerge Alert users to bottlenecks & solutions

Act on current conditions


Event-driven alerts Real-time dashboards BPEL processes & web services integration

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

The Oracle BAM Technical Advantage


Process Visualization
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 dont poll the server for updates Streams delta changes on continuous hierarchical queries: A ti D t St d lt h ti hi hi l i 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 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.

Event Driven Alerts

Action Framework
Business users can access web services integration for actions directly from their dashboards/alerts Automatic recovery from losing internet connectivity, without reloading the dashboard and without losing any messages

Seamless Wireless Recovery

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

154

Oracle BAM Visualization


Active 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 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 Integration


New in 11gR1: Preview Feature Until Patchset 1
JDeveloper Design Time
Create BAM Server Connection Introspect BAM Data Objects form Resource Catalog Drag & Drop Data Control Creation Bind Query to DVT Components

ActiveData on Any Application Page


Runtime support for push, polling & paging

Multi-browser Support ADF Tables, Graphs & Gauges


Almost all DVT components are supported including: ADF Table ADF Tree DVT Bar, Stacked Bar, Pie, Line, Area, Combo DVT Dial Guage DVT Maps

Supports Web Center Design Time


ADF-based Portlets with Active Data

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

155

Oracle BAM: Architected for Integration


Application Server
Message Queues WebApplications

BAM Server
Enterprise Integration Framework ActiveDataCache

EventEngine

Mobile Devices
StartPage ActiveViewer

BAM Dashboards

Actions & Escalations ActiveStudio Notification Services

CEP
JMS Connector API Kernel BAM Adapter

Architect Administrator

BPM
WebServices

ReportCache
ViewSets DataSets DataStorageEngine Snapshots & Change Lists Memory / Disk

Internet
ReportServer

OESB
Web Services

ADF Pages with DVT

Internet
ODI

ADF
BAM DataControl

BPEL

External Data Objects

BI

iCommand

Data & Metadata Import & Export

OLTP & Data Warehouses Databases

BAM Data & Metadata Oracle Database (Grid)

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Process Optimization: Oracle BAM Actions


Alerts
Framework for Automated, Event-triggered Response E-mail Voice Notification o 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 actions 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

156

Oracle BAM: Architected for Integration


Application Server
Message Queues WebApplications

BAM Server
Enterprise Integration Framework ActiveDataCache

EventEngine

Mobile Devices
StartPage ActiveViewer

BAM Dashboards

Actions & Escalations ActiveStudio Notification Services

CEP
JMS Connector API Kernel BAM Adapter

Architect Administrator

BPM
WebServices

ReportCache
ViewSets DataSets DataStorageEngine Snapshots & Change Lists Memory / Disk

Internet
ReportServer

OESB
Web Services

ADF Pages with DVT

Internet
ODI

ADF
BAM DataControl

BPEL

External Data Objects

BI

iCommand

Data & Metadata Import & Export

OLTP & Data Warehouses Databases

BAM Data & Metadata Oracle Database (Grid)

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


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 Management Infrastructure Single M tI f t t


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

157

eCommerce: Oracle B2B 11g g

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

eCommerce
What is eCommerce ?

Electronic commerce, eCommerce, is the buying and selling of products or services over the Internet. It can take many forms and shapes one of which is Businessto-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

158

eCommerce
What does it represent and what are the requirements ?

eCommerce represents:
Classic business processes p Mature business documents Industry tempered Messaging Services
: Order-to-Cash, Procure-to-Pay : Purchase Order, Invoice, Payment : 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 Consolidated Security

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

eCommerce
What is Oracle B2B ?

Oracle B2B is an eCommerce gateway that enables the secure and reliable exchange of business documents between trading partners. It enables a subset of the eCommece requirements:
Business Document Translation Secure Connectivity Quality of Service (QoS) Trading Partner Management (Profiles / Agreements)

Partner

Oracle B2B

B2B Composite

Middleware Composite

Application

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

159

eCommerce
Why Oracle B2B and SOA Suite ?

This platform addresses the eCommerce requirements.


Oracle B2B, as a component of the SOA Suite, provides:
Business Document Translation Instance Tracking, Visibility and Auditing Secure Connectivity Quality of Service (QoS) Trading Partner Management (Profiles / Agreements) A Unified Business Process Platform End-to-End End to End Instance Tracking Visibility and Auditing Tracking, Integrated Process Intelligence Process and Service Governance Consolidated Security

The SOA Suite provides:

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

eCommerce
Implementation of end-to-end eCommerce business processes
Bottom-line
The focus must be the Business Process eCommerce integral component of an enterprises integration strategy You musts address ALL of the requirements
eBusiness Suite PeopleSoft Seibel Legacy 3rd Party Application Composite Application

Healthcare:
HL7 over MLLP

Healthcare:
HIPAA over FTP

Logistics:
XML over ebMS

Retail:
X12 over AS2

High Technology:
RosettaNet over RNIF

Data Synchronization:
1Sync: UCCnet over AS2

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

160

eCommerce
Process flow
Partner

Oracle B2B
B2B Composite

Oracle B2B Manages interaction with Partner Document validation / translation Document routing SOA Composites Mediator Document transformation Code conversion Document routing BPEL Process Manager Business process orchestration Error Handing Human Tasks Work list tasks & forms Business Rules Automated policies, constraints, computations & reasoning Application Document processing Note:
Business requirements may only require a subset of the components A composite managing the nuances of the B2B gateway enables more flexibility in middleware processes

Middleware Composite

Application

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

161

B2B Concepts
eCommerce: Levels

Typical an eCommerce transaction is a single document


Levels
Document Packaging Transport Messaging Service

Question to Ask
What is the item ? How is the item packaged ? How is the item sent / received ? Who is the carrier ? What Wh t carrier services i i are required ?

Shipping Analogy
Cell Phone Box, bubble wrap Truck, Ship, Plane DHL, FedEx, UPS, USPS Requirements: R i t Signed receipt Overnight / next day Delivery attempts What are the senders / receivers capabilities ? What did we agree ?

eCommerce protocol example


EDI, HL7, HIPAA, UCCnet, OAG, UBL, cXML, xCBL, RosettaNet, MIME, SMIME, XMLDSig, XMLEncrypt HTTP, HTTPs, File, FTP, FTPs, sFTP, TCP/IP, SMTP, IMAP, POP3, MLLP RNIF, AS1, AS2, ebMS Requirements: R i t Digital Signing Time to Acknowledge / Respond Retry Counts Trading Partner Profile Trading Partner Agreement

Profile Agreement

What are the Trading Partners capabilities ? What did we agree ?

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Oracle B2B
What does it do? Oracle B2B is enables the secure and reliable exchange of messages between an enterprise and its trading partners, enabling:
Document Management 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

162

Document Management
The Document

Facilities to manage document standards enabling:


Definition, validation, translation, identification, correlation, batching, routing, 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

Document Management
Powered by EDIFECSTM

The translator
A robust translation and validation engine that is g an integral part of Oracle B2B.

This provides:
A library of ALL EDIFACT, X12, X12N, HL7, HIPAA, EANCOM, NCPDP, Data file validation Data Migration Tests data generation De-Identification Dictionary generation Batching
For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

163

B2B Concepts
eCommerce: Acknowledgement categories

There are five categories of acknowledgements


Category
1. Transport 2. Messaging Service

Shipping Analogy
Destination exists Item arrived

eCommerce Protocol example


HTTP RNIF AS1, AS2 ebMS Web Services

Acknowledgment Description
Codes: 200 / 400 Receipt Acknowledgement Message Disposition Notification (MDN) Receipt Acknowledgement WS-Reliable Message Sequencing The structure & codes are valid

3. Functional

Item not damaged

EDI 997 / CONTRL OAG Confirm BOD C fi RosettaNet ACKs HL7 ACKs PO Confirmation RosettaNet PIP0A1

4. Business 5. Process

A related item was shipped back Item received was not processed

A Business response (PIP3A4) Notification of Failure (NoF)

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Document Management
Acknowledgments

Facilities to manage acknowledgments


Transport Messaging Service (Generate and consume)
AS1, AS2 RosettaNet ebMS Message Disposition Notification Receipt Acknowledgment Receipt Acknowledgment Message Syntactically Acknowledgment (CONTRL) Functional Acknowledgment (997) Confirm Business Object Documents (BOD) Receipt Acknowledgment p g Acknowledgment Message

Functional (Generate and consume)


EDI OAGIS RosettaNet HL7

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

164

Transport / Exchange Management


The Packaging,Transports and Messaging Services

Facilities to communicate, enabling secure and reliable messaging


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 Host Channel Listening Channel
To communicate to Partner To communicate to the Host To communicate to the Host - In the agreement - In the agreement - 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

165

Trading Partner Management


The Profile and Agreement

Facilities to define the Trading Partner & Agreement


Partner Types yp Partner Capabilities
Host Partner Profile Users Document Channel - The installation - The partner - Identification, contact information, key store - Who can access Oracle B2B - Supported documents - Defined channels

Agreements:
What Partner What document / flow What Delivery Channel What Identification What Callout (optional)

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

System Management
Managing Oracle B2B

Facilities to mange Oracle B2B


Deploy Manage Deployments Types Import / Export Schedule Batch Manage Batch Callouts Purge Listening Ch Li t i Channels l Configuration
Monitor / Query / Deployed Agreements Manage Deployment states Create Partner identifiers & contacts Metadata: Repository / Agreement Schedule / Query: EDI Batching Query / Manage: EDI Batching Define java callouts & parameters Purge Design / Instance data Define Host Listening Channels Define System Parameters

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

166

System Management
Oracle WLS 11g: Administration Console

Oracle B2B: A deployed Enterprise Application: b2bui


Manage Environment
Tuning Key Stores SSL

Manage security
Users & Groups Roles & Policies

Manage Services

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

System Management
Oracle EM 11g: Fusion Middleware Console

Manage the application: b2bui Manage B2B endpoints 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

167

Reports and Monitoring


Oracle B2B Reports & Metrics

Reports
Application Message
What was sent or received to middleware

Business Message
The translated message

Error Message
Processing Errors

Wire Message
What was sent or received to Partner

Conversation
Correlation of Messages

Metrics
Statistics

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Reports and Monitoring


Oracle Business Activity Monitoring (BAM)

Monitor business p processes & services in real-time Analyze events as they occur through complex event processing Act on current conditions either automatically or manually

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

168

Oracle B2B:
HA: typical configuration
Oracle DB Repository RAC Oracle DB Repository

Oracle B2B is utilized the standard configuration fi ti recommended by WLS Oracle B2B is a:
HTTP Client FTP Client Mail Client MLLP Client & Server TCP/IP Client & Server

Data Tier

Oracle SOA Suite Oracle B2B

Oracle SOA Suite Oracle B2B App Tier

OHS with virtual URLs, FTP Server & Proxy

OHS with virtual URLs, FTP Server & Proxy

Load Balancer

DMZ
Note: Outbound can be direct or through a proxy

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 ( p (RNIF) ) 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

169

Oracle B2B Roadmap


2004
10gR1

2006

2008
11gR1

2010
11gR2

2012
12gR1

2014
Releases TBD

2016

InitialRelease I iti l R l HealthcareFastPath HealthcarebasedUI,concepts/terminology withstreamlinedconfiguration AIAPIPs Security CentralMgmt,SSO,rolebasedaccessto documents Performance Enhancedthroughput&Largedocument support Usability EnhancedUIdesign Enhanced UI design Visibility EnhancedReports,Metrics,EMIntegration Functionality PartnerCloning,AutoAgrmtGeneration Documents&Delivery Newstandards,transports,exchanges VerticalFastPaths AIAPIPs OracleSolutions Embedding Performance Documentstreaming Visibility EnhancedDashboards, Reports,Monitoring Functionality HubCapabilities Documents&Delivery Documents & Delivery Newstandards, transports,exchanges

OracleIT OracleOnDemand Ongoingfeatures andenhancements

VerticalFastPaths AIAPIPs FusionAppsPlatform OracleSolutions Embedding Performance ManageFileTransfer Visibility EnhancedDashboards, Reports,Monitoring Reports Monitoring Functionality SelfService,enhanced VANSupport Documents&Delivery Newstandards, transports,exchanges

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

SOA 11 O 11g Oracle S l Service Bus i B

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

170

Oracle Service Bus


Enabling the Agile Enterprise
SOA architectures need to be designed to accommodate change, change and in fact to anticipate change! That creates AGILITY. Whether you are evolving existing infrastructure to SOA, or building a SOA Enterprise from the ground up, an enterprise service bus is an essential component of any reference SOA architecture.

But.WHYEXACTLY?

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

The SOA Challenge


Moving Past the Division
SOA Maturity Level
Division level services Project level services Enterprise level services Cross divisional services SOA Managed SOA Repeatable SOA Defined SOA Optimized

No implementations

SOA Ad Hoc

No SOA

Exploring

Expanding

Exploiting

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

171

Service Integration: Developer Perspective

Application

Remote Functionality

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Why a Service Bus?


A few examples
The endpoint problem even with Web Services

Application

Service Service

Database

Application Service Application Service Service Service

EJB

SAP

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

172

Why a Service Bus?


Example: Location Transparency
Isolate from changes to service location

Service Bus
New Hire Process Route to Host Two

Host One Before


Initialize Benefits Service

Move After Host Two


Initialize Benefits Service

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Why a Service Bus?


Example: Backwards Compatibility
Isolate from changes to service contract/interface

Service Bus
Customer Portal

<1.0> <2.0>

Transform Message

<2.0>

Process Order Service

<1.0> <2.0>

CSR App

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

173

Service Infrastructure Approach


Enables Agility and Scale
Presentation Clients
Portal Browser WSRP Application Client

Process

Logic

Data
Identity/ Policy

Process

Web Services
Data Mainframes

Web Services
WSRP Data Databases

Process
Mobile Web App

Web Services

Adapter

Legacy App

Web Services

Service Infrastructure

Service Management
Composition Tools

Messaging Services

Data & Adapter Services

Security Services

User Interaction Services

Business Process Services

Custom Services

Service Registry Meta-data Repository

Monitoring

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

OSB Lab for Friday


Oracle Service Bus Message Flow PO Processing Composite 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

174

Oracle Service Bus


Key Ingredients for Enterprise Service Bus
Service Management
Monitoring SLA Alerts Reporting

Service Virtualization
Content Based Routing Transformation Service Chaining

Configuration Framework
Change Center Validation Import / Export

Unified Security y
Authentication Authorization Identity Sign/Encrypt

Metadata M t d t

Adaptive Messaging
HTTP/S JCA JMS WSRM REST MQ SMTP FTP File Tux EJB

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Adaptive Messaging
More than Web Services
Service Management
Monitoring SLA Alerts Reporting

Service Virtualization
Content Based Routing Transformation Service Chaining

Configuration Framework
Change Center Validation Import / Export

Unified Security y
Authentication Authorization Identity Sign/Encrypt

Metadata M t d t

Adaptive Messaging
HTTP/S JCA JMS WSRM REST MQ SMTP FTP File Tux EJB

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

175

Adaptive Messaging In a Nutshell


Service Clients
Application Client Application Client Application Client Application Client Application Client HTTP/SOAP

Adaptive Messaging

Oracle Service Bus


Service Messaging
WS-RM

Enterprise Services
Service TUX Service

Request / Response
JMS

Synch / Asynch S h A h
FTP REST

MQ Service EJB Service

Split / Join Publish / Subscribe

File

JCA Service

Any to Any Protocol Any to Any Payload


XML non-XML Binary

Multiple communications paradigms


Request/response Synchronous and asynchronous One-to-many, many-to-one Pub-sub Mix-and-match (e.g. sync-to-async)

No WSDL Required

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Applications & Database Integration


Message Enrichment and Chaining
Adapter Certifications
Packaged with OSB install AQ Database EBusiness Suite Packaged separately SAP PeopleSoft Siebel JD Edwards

Adaptive Messaging

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

176

Unified Security
Optimized, Pluggable, Flexible Policy
Service Management
Monitoring SLA Alerts Reporting

Service Virtualization
Content Based Routing Transformation Service Chaining

Configuration Framework
Change Center Validation Import / Export

Unified Security y
Authentication Authorization Identity Sign/Encrypt

Metadata M t d t

Adaptive Messaging
HTTP/S JCA JMS WSRM REST MQ SMTP FTP File Tux EJB

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
Common Security Services
Authentication Authorization XACML 3rd Party Credential Mappers Default PKI SAML 3rd Party

Unified Security

Audit Default 3rd Party

Message Security
WS-Policy/WS-Security SAML, UserID/Password, X509 Signing & Encryption Custom security credentials

Default 3rd Party

Console Security
Supports Web Single-Sign-On Role based access

Policy-based Security 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

177

Service Virtualization
Enables Enterprise Agility
Service Management
Monitoring SLA Alerts Reporting

Service Virtualization
Content Based Routing Transformation Service Chaining

Configuration Framework
Change Center Validation Import / Export

Unified Security y
Authentication Authorization Identity Sign/Encrypt

Metadata M t d t

Adaptive Messaging
HTTP/S JCA JMS WSRM REST MQ SMTP FTP File Tux EJB

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Service

Message Flows
Validation Enrichment Transformation XQuery XLST Routing Conditional Dynamic Identity-based Logic IfThen F Foreach h 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

Virtualization

178

Service

Advanced Integration Patterns


Split and Join For Parallel Action
Incoming payload is split into multiple service invocations Multiple service responses are aggregated into single payload Parallel action results into significant performance improvement
Request Payload Oracle Service Bus
ProcessOrder Split ForEach 15 ProcessOrder Join

Virtualization

Response Payload

JOIN

SPLIT
Order 1 Order 2 Order 3 Response Response Response 1 2 3

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Service Management
Embedded Visibility & Control
Service Management
Monitoring SLA Alerts Reporting

Service Virtualization
Content Based Routing Transformation Service Chaining

Configuration Framework
Change Center Validation Import / Export

Unified Security y
Authentication Authorization Identity Sign/Encrypt

Metadata M t d t

Adaptive Messaging
HTTP/S JCA JMS WSRM REST MQ SMTP FTP File Tux EJB

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

179

Embedded Service Visibility


Endpoint URI Management
API to grow and shrink the pool of Endpoint URI

Service Management

Dashboard
Fault and performance metrics Summaries for aggregated ESB

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 Interfaces SNMP Alerts

Operational Customization
Smart operator console: One screen for operational customization Advanced searching capabilities

Full Integration with Enterprise Manager

Ensure Quality of Service with built-in optimizations for performance and monitoring

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Configuration Framework
Robust services Deployed into Production
Service Management
Monitoring SLA Alerts Reporting

Service Virtualization
Content Based Routing Transformation Service Chaining

Configuration Framework
Change Center Validation Import / Export

Unified Security y
Authentication Authorization Identity Sign/Encrypt

Metadata M t d t

Adaptive Messaging
HTTP/S JCA JMS WSRM REST MQ SMTP FTP File Tux EJB

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

180

Configuration Framework
Robust services Deployed into Production
Change Center
Semantic Integrity of Artifacts View & resolve conflicts Undo, Re-do tasks Audit changes

Import/Export
Customization Files Fully scriptable, integration with OER/SR

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 Number of Users Message Size Number of Services
What about speed?

Scalability is like y a train!

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

181

Pass-Through Routing (Message Propagation) - 27 million 5 KB SOAP messages per hour


8000
Throughput

5.0 4.0 40 3.0 2.0 1.0 0.0 1 2 4 8 12 16 Number of Clients 24 32

6000 4000 2000 0

Response Time (ms) e

The pass-through use case reflects the performance of message propagation with 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 nonpersistent JMS queues. The JMS benchmark involves a complete round-trip of the message to the client (2 queue hops).

HTTP Pass-Through Routing (Core Message Propagation)

HTTP TPS HTTP RT

JMS Pass-Through Routing (Core Message Propagation)


5000
Throughput

5.0 4.0 40 3.0 2.0 1.0 0.0 1 2 4 8 12 16 Number of Clients


Response Time (ms s)

4000 3000 2000 1000 0

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 Bus


Enables Agility and Scale for Enterprise SOA
Adapt To Change
Service virtualization Protocol Switching Routing and Transformation Error Handling, Policy Enforcement Handling
BPM Portal

BPM

B2B & BPM

Scale in Multiple Dimensions


1000s of services Millions of Transactions through Caching, Parallel Processing, Throttling

Oracle Service Bus

Reduce Cost Through Re-use


Connect your services once Easily configure services for integration Single view of assets w/ Service Lifecycle g y
Service Repository Adapters

Manage risk
Embedded service-level management Failure Isolation and auto-recovery Application Alerts & SLAs Auditing and Reporting
Integration Services Business Logic Business Logic

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

182

Oracle Service Bus Roadmap


Primary Product Milestones
11g OSB 10gR3
Oracle branded and remediated SOA Grid Enabled w/ 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 Event-driven SOA w/ native event types & generation Enhanced Tooling

ALSB 3.0
Complete, light-weight, best-of-breed ESB Design time & run-time governance Advanced Mediation Patterns - Split-Join, Dynamic Dispatch Endpoint Management Throttling, Load-balancing, Failover, Service Pooling Highly performant & scalable Built-in management, monitoring & reporting

Native bindings to BPEL PM Certified on WLS 10.3 Product Specific Highlights Visual Debugging Action metrics Message Tracing Streaming Attachments, MTOM Dynamic Transformations More REST JCA Transport + Adapters

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

SOA 11g Unified Service Platform


Application composers
Service Composition Transformations Filtering

Mediator

Business Rules

BPEL

Human Workflow

CEP

Service Infrastructure
Service/Event Delivery API
Optimized binding

Policy Manager

SOA Operations

End-to-End SOA Lifecycle Governance

Oracle Service Bus


JCA

Service virtualization Shared Service Gateway Monitoring

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

183

Oracle Service Bus 11g


Highlights of New Features
Enhanced Productivity Performance & Scalability Unified Runtime Adaptive Connectivity
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.

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.

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.

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


Side Cache Pattern
2. if results not in cache, invoke service & cache results

OSB 11gR1

Oracle Service Bu us

Service Provider

Legacy

Service Consumer

1. check cache

Coherence Data Grid


Get / Put (Cachekey) Service Data

Primary Node

P
OSB Result Cache

Process Flow / Orchestration

Backup Node

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

184

OSB 11gR1

Service Result Cache


Checkbox Caching Business Service
Cache Results ? Time To Live XQuery to Generate Unique Key

Result Cache is an implementation of Side Cache pattern


For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Help Realize the Full Benefits of SOA


With an Enterprise-Class Service Bus
Service Intermediary & Management
Portal BPM
Service Orchestration B2B & BPM

Location Transparency T Service Virtualization Configuration

Oracle Service Bus


Adapters

Service Repository

Presentation Services

Any to Any Protocol, Payload Advanced Integration Patterns High Availability & Scale

Integration Services Business Logic Business Logic

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

185

Whats New in Oracle Registry Repository for 11g

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

About SOA Governance


FACTS
Governance is NOT A Product Requires the proper mix of People Process and Tools People, Success requires commitment from the entire organization Extends through the entire service lifecycle Increase visibility, reduces risk and can raise ROI Increase SOA adoption and success rates Improve alignment of Business, IT and all stakeholders Business Facilitate cross organizational communications Reduce time to market

IMPACT

372

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

186

SOA Governance Usage Examples


BUSINESS GOALS
Build a reusable services portfolio to demonstrate ROI Enforce business practices and enable compliance Reduce development time and costs Minimize SOA project failures and increase trust Automate harvesting of assets and updates throughout the lifecycle Use workflow for manual tasks approvals and process automation Engage stakeholders at every life cycle stage Enable an iterative development and review process Monitor usage for ongoing feedback cycle to all stakeholders Validate and enforce policies

TECHNICAL PROCESSES (apply to every lifecycle stage)

373

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Oracle SOA and Event Technologies


SOA Governance
BPA Suite REAL-TIME VISIBILITY & PROCESSING Enterprise Modeling BPM Suite Business User Modeling JDeveloper Application Development Framework BAM

GOVERNANCE CEP

Enterprise Manager

Alerts Events Business Monitoring Data ORCHESTRATIONStreams BPEL Process Manager

GOVERNANCE Monitoring
Web Services Manager WS Policies Security Enterprise Repository SOA lifecycle governance Registry UDDI
JRockit VM & RT

System

Native Business Human BPEL Workflow ROUTING &Rules SERVICES DATA


Oracle Service Bus Routing Data Integrator

Transform ETL & Data Replication Quality Mediation CONNECTIVITY B2B


Partners

Adapters
Apps DB Legacy

Coherence Cache Messaging

J2EE Application Server


(Oracle AS, WebLogic, WebSphere, JBoss)

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

187

SOA Governance
Full Lifecycle
Design Develop Analyze & Model

Visibility

Registry / Repository

Deploy & Secure

Control

Retire Services Manage Change

Monitor Policies & SLAs

Analytics

375

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Product Offering
Service-Oriented Architecture SOA Governance
DT RT RT Oracle Enterprise Repository Oracle Service Registry O l S i R i t Oracle Web Services Manager
Repository to capture, share, & change manage SOA Artifacts across lifecycle Standards-based UDDI v3.0 Registry to Sta da ds based U 3 0 eg st y publish & discover Services Policy Manager to define & manage Security & QOS Policies on Services Management Console to Monitor Service Level Response Times & Availability Management Console to Monitor, Trace, & Change-Manage SOA Composites Model and monitor J2EE services and their supporting components

RT

Enterprise Manager p g SOA Management Pack Plus

A Comprehensive Suite for End-to-End SOA Governance


For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

188

Oracle positioned in Leaders Quadrant


Gartner MQ for Integrated SOA Governance Technology Sets
A substantial amount of SOA governance technology from BEA Systems has been integrated with other elements of the Oracle portfolio, including Oracle BPM Suite, Oracle SOA Suite and Oracle Service Bus. Oracle's SOA policy management is also well-integrated with identity management technologies and directories, and the recent acquisition of ClearApp can address the monitoring requirements of SOA governance.
Source: Magic Quadrant for Integrated SOA Governance Technology Set; L. Frank Kenney, Daryl C. Plummer; March 31, 2009 Source: http://www.oracle.com/corporate/analyst/reports/infrastructure/index.html#fus

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

RegRep Customer Intelligence


iAS.us.oracle.com
Search Wins by Governance component View FMW Quarterly Win reports External reference forums
Farmers Insurance on OSB and Governance

asrefs.us.oracle.com
Search Wins by Governance Suite View project details
By product, reference status, regions, industry etc

Discuss your Governance Wins on the Quarterly Governance Review call


Contact Jyothi Swaroop or Dave Berry

378

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

189

RegRep Technical Resources


Internal
Presentation, FAQ, Viewlets, VMWare and Training links
ias.us.oracle.com soagov.us.oracle.com registry.us.oracle.com

RFC, POC and Pillar SC Questions


Governance_ww@oracle.com Integration_ww@oracle.com

Training Fusion Factory

ff.us.oracle.com

Search SOA Governance OU Web SOA Governance Workshop


ouweb.us.oracle.com/custom/global/FY09NATO/soa_gov.html

External
Docs, Downloads, Samples, Datasheet, Whitepaper and more
otn.oracle.com/goto/regrep Governance Blog blogs.oracle.com/governance/

379

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

SOA Governance 11g R1 Release Info


Whats New?
Phase 1 Focus Lifecycle 11g R1 SOA Launch
OER 10g can harvests artifacts (not SCA composites) from SOA Suite 11gR1 11g Built-in Policy Management w/11g
11g SOA Console with built in Policy Manager (OWSM) integration Policy mgmt agents for 11g Browses and consumes assets from OSR/UDDI Allows runtime policies to be applied at design time

Phase 2 Focus - Production Assurance SOA 11g EM/OWSM/SMP 2010


M Management Pack Plus f SOA 11g t P k Pl for 11
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

JDev 11g

11g RegRep Wildcat Fall 2009


OER 11g harvests and models 11g SCA composites as well as 10g assets/artifacts Enhanced Reg/Rep synchronization OSR, OER, 11g certified on WLS 10.3.1 (Farallon)

Policy Management Gateway for 11g


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

190

Registry/Repository Support for SOA


Enhanced 11g RegRep (Fall 2009)
OER 11g with SOA Suite 10g Deeper harvesting of OSB Assets/Artifacts for visibility OSB publishes proxy services and other artifacts to OER In addition to WSDL, XSD, and XSLT
OSB Proxy Service Business Services Split-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 consume

Cl i the Loop with M Closing th L ith Management P k Pl t 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 with multiple embedded services can b propagated t ith lti l b dd d i be t d 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

191

Result: Metrics in Enterprise Repository


Enhanced 11g RegRep (Fall 2009)
Supports Management Pack Plus for SOA 10 (2009) and 11g(2010)
Closed Loop Metrics:
Daily Average Response Time Weekly Average Response Time Monthly Average Response Time Minimum Response Time Maximum Response Time Daily Requests Weekly Requests Monthly Requests Daily Faults y Weekly Faults Monthly Faults Start Date for Metrics Monitoring Last Updated

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Application/Adapter Model

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

192

Adapters in Enterprise Repository


Enhanced 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


Service Definition
Architect

Service Implementation and Configuration


Service Bus

Target Service Metadata etadata


Business Owners Single View of Assets

Harvest
Repository

BPEL WSDL XSDs Code Proxy

SOA Designers and Developers Proxy Pipeline

Approve
Other Runtime Metrics
UDDI

Validation, Mediation

UDDI UDDI

Auto Deployment

SOA Monitoring & Management

Publish Discover
Metrics via UDDI

SOA Test, Staging & Production

IT Operations

Staging Production

Integration Testing

SLA Management

Policy Enforcement

Consumer Provisioning & Contract Management


For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

193

<Insert Picture Here>

Oracle Registry Repository SOA 11gR1

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Emergence of Service Platforms SERVICE PLATFORM


Integrated for ease-of-use & optimized performances Yet, fully standards-compliant No sacrifice on hot-pluggability

11g

SCA ESB BPEL


Web Services WSDL
XSLT J2EE XML
EAI

10.1.3 10.1.2

Messaging
CORBA

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

194

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.
service
properties

reference

S Mediator R
wire

R BPEL R

WS

WS

S BPEL R R

WS

SOA composite

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Oracle 11g SOA Composite


SOA composite is a standards-based deployment unit Leverages the SCA assembly model Can mix variety of components: Mediator BPEL Mediator, BPEL, Human Workflow, etc.
Repository Registry

11g Registry/Repository
Harvests projects and files
SCA, WSDL, XSD

service

properties

reference

S Mediator R
wire

R BPEL R

WS

Exposes
SCA services External Services

WS

S BPEL R R

WS

SOA composite

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

195

11g Design Time Asset Management


With Enterprise Repository and Service Registry
Repository Impact Analysis

Registry/Repository Bindings and Categorizations JDev Asset Browse and Consume

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Other Repository Infrastructure


Planned for 11g Release Migration path for ALER customers to OER
Blends ALER 3.0 model with 10gR3 model, and advances it to SCA for 11g composites

Platform Certification
WebLogic Server 10.3.1 (Farallon) Windows 2008 Eclipse 3.4 with Oracle Enterprise Platform for Eclipse Already on OTB: VS.NET 2005 ClearCase 7 AIX Other TBA

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

196

11gR1 Oracle Service Registry Use Case


SOA Runtime Endpoint Consumption SOA Suite 11gR1 continues to use UDDI Inquiry API
Single Composite (SCA) supported across11g BPEL, Mediator Composites, WSDL and endpoint published to UDDI SCA Composites have External References pointing to Services in UDDI OSR UDDI Inquiry URL configured in Unified SOA Console

Zero Latency Performance with 11g Composite Cache


Endpoint error triggers reload from OSR Under consideration: UDDI Subscription API for EndPoint changes ala OSB p g

SOA 11g requires both WSDL and Endpoint in OSR


Represented as 2 UDDI Binding Templates in OSR: WSDL and Endpoint

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

SOA Governance
Focus on the Design Phase
Design
Develop Analyze & Model

Visibility

Registry / Repository

Deploy & Secure

Control

Retire Services Manage Change

Monitor Policies & SLAs

Analytics

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

197

Order Processing A Top Down Approach

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

OER 11g SCA Data Model

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

198

Order Processing OER Design Lab


Design a Composite
Install OER 10.3 into OSB 10.3 WLS Container Browse Console and Start the Asset Editor Create a Composite and Create Services Create Relationships
Composite, Services and Existing Policies

Harvest and Post Process WSDL from POProcessing project


Install and Configure Harvester to Harvest a WSDL file Define the relationship between the Service and WSDL (can be automatic) Define the relationship between the Service and the Composite you created earlier

Promote Service to OSR (Optional)


Install OSR 10.3 onto OSB 10.3 WLS Container Configure the OER 10.3 Harvester Promote Service and WSDL to OSR

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 Event-driven Architecture, Real time Java

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

199

Oracle SOA and Event Technologies


BPA Suite REAL-TIME VISIBILITY & PROCESSING Enterprise Modeling BPM Suite Business User Modeling JDeveloper Application Development Framework BAM

GOVERNANCE CEP

Enterprise Manager

Alerts Events Business Monitoring Data ORCHESTRATIONStreams BPEL Process Manager

GOVERNANCE Monitoring
Web Services Manager WS Policies Security Enterprise Repository SOA lifecycle governance Registry UDDI
JRockit VM & RT

System

Native Business Human BPEL Workflow ROUTING &Rules SERVICES DATA


Oracle Service Bus Routing Data Integrator

Transform ETL & Data Replication Quality Mediation CONNECTIVITY B2B


Partners

Adapters
Apps DB Legacy

Coherence Cache Messaging

J2EE Application Server


(Oracle AS, WebLogic, WebSphere, JBoss)

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

399

Oracle EDA Suite


Complete Suite for Industrial Event Processing
BAM CEP

REAL-TIME VISIBILITY & PROCESSING

Alerts Business Monitoring

Business Rules
Oracle Enterprise Service Bus Routing Transform Mediation Adapters
Socket DB File

Event Feeds Data Streams J b dE t Java-based Event Server

ROUTING & DATA SERVICES

Data Integrator ETL & Data Replication Quality

CONNECTIVITY ENTERPRISE PERFORMANCE & SCALABILITY

JMS Industry Specific Coherence

JRockit VM

JRockit RT

J2EE Application Server


(Oracle AS, WebLogic, WebSphere, JBoss)

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

400

200

Event-Driven Applications
Distributed order orchestration

Asset management

Algorithmic trading

Proximity/Location Tracking Intrusion detection systems Military asset allocation

Need to support one or more of: Financial Services High volume Transportation & Logistics Continuous streaming Telecommunications & Services Sub-millisecond latency Manufacturing Negative Working Disparate sources Utilities & Insurance Capital inventory Time windowMilitary processing management Public Sector & Complex pattern matching
Grid Infrastructure Management Reponses to calamities earthquake, flooding

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Focus on Event-Driven Architecture (EDA)


Lightweight, Low Latency, Extreme High Throughput, and Java-based Application Container
Oracle Complex Event Processor
Distribution of Latency Values f

Enriched Streams

Average Latency # of Output Events (m icroseconds)

Average Latency vs. Application Container EDA Java Injection Rate (10 Connections)

From any source: data streams, web services, Java, Database

Data/Msg. 25,000,000 80 Feeds


70 20,000,000 60

20,136,515 Adapters

Data Feed

Process Events (CEP)

Listener/SINK: User Code (Plain Java)

15,000,000 50 10,000,000
30 20 5,000,000 10 0 0 40

Adapters

3,054,550 131,598

Translate external events/data into java objects for processing

0
200000 0 - 99 400000

100 600000 - 199 800000

>=200 1000000

1200000

Latency (events/second) Injection RateRange (microseconds)

Processors Set of queries applied to the streams Listeners Handle triggers raised by the processors Events Implemented as JavaBean or Map

Aggregate, correlate, filter data Can Handle Unlimited Queries Incoming Data Streams 1,000,000+ Messages/Sec Latency Microsecond Latency (Avg.) Resulting Data fed to vast business opportunities with Java language

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

201

Event Processor
Oracle Complex Event Processing (CEP)

BA

BOEING

77.575

800

20080305 10:03:02:78

DO

DUPONT

41.575

3000

20080305 10:03:04:12

Streams
Continuous input, often in high-volume Time ordered Does not end Impossible to process / analyze in realtime with traditional relational database systems

AA

ALCOA INC

20.125

1000

20080305 10:03:01:55

AXP

AMER EXPRESS CO

45.875

500

20080305 10:03:02:10

BA

BOEING

77.575

800

20080305 10:03:02:78

CITIGROUP

34.125

2000

20080305 10:03:03:05

CAT

CATERPILLAR

22.5

600

20080305 10:03:03:46

DO

DUPONT

41.575

3000

20080305 10:03:04:12

AA

ALCOA INC

20.125

1000

20080305 10:03:01:55

AXP

AMER EXPRESS CO

45.875

500

20080305 10:03:02:10

Time

BA

BOEING

77.575

800

20080305 10:03:02:78

CITIGROUP

34.125

2000

20080305 10:03:03:05

CAT

CATERPILLAR

22.5

600

20080305 10:03:03:46

DO

DUPONT

41.575

3000

20080305 10:03:04:12

AA

ALCOA INC

20.125

1000

20080305 10:03:01:55

AXP

AMER EXPRESS CO

45.875

500

20080305 10:03:02:10

BA

BOEING

77.575

800

20080305 10:03:02:78

CITIGROUP

34.125

2000

20080305 10:03:03:05

CAT

CATERPILLAR

22.5

600

20080305 10:03:03:46

DO

DUPONT

41.575

3000

20080305 10:03:04:12

AA

ALCOA INC

20.125

1000

20080305 10:03:01:55

AXP

AMER EXPRESS CO

45.875

500

20080305 10:03:02:10

BA

BOEING

77.575

800

20080305 10:03:02:78

Event Processing provides a new data management infrastructure to support and analyze Streams in real-time

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Oracle Complex Event Processing


Event Processing Output
Filtering New stream filtered for specific criteria, e.g. stock price > $22 Correlation & Aggregation Scrolling, time-based window metrics, e.g. average # of stock trades in the last hour Pattern Matching Notification of detected event patterns, e.g. price changes A, B and C occurred within 15 minute window
CAT CATERPILLAR DO DUPONT AA ALCOA INC AXP AMER EXPRESS CO

D 22.5 600 20080305 10:03:03:46 D 41.575 3000 20080305 10:03:04:12 D 20.125 1000 20080305 10:03:01:55 D 45.875 500 20080305 10:03:02:10 BA BOEING D 77.575 800 20080305 10:03:02:78

In-Memory, Continuous Queries

EP

Example: Stock Trading W Pattern


Runs In-Memory (not in In Memory Database) *** Logic is defined through Continuous Queries on the data

Y WZ X

minutes 1 9 12 19
For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

202

Lightweight Server for Event Processing


Financial Services: Signal Generation Demonstration
EDA Java Application Container Load Generator -AMEX symbols - Level 2 mkt data (520 bytes)

Data/Msg. Feeds

Data Feed Adapters

Process Events (CEP)

Listener/SINK: User Code (Plain Java)

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Delivering Event-Driven SOA


Example: Baggage Handling
Ticketing

Service Bus
Reservations

check-in Flight Operations flight-open flight-boarding flight-closed flight-push-back flight-wheels-up


Event Server CEP

bag-check passenger-on passenger-off

Gate Operations

Situational Awareness
missing-bag BAM flight-delay statistics BPM/ BPEL
WLRT

Baggage Handling bag-tracking bag-in-container container-on-plane


Edge Device (RFID)

lost-bag

Legend
SOA Message Event
For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

203

Oracle Complex Event Processor (11gR1)


Advanced Tooling for Developers, Administrators, IT Management, Business Users Business Activity Oracle
Monitoring

Oracle Complex Event Processing


App Frameworks
POJO Spring Services

Continuous Query Language Rich SQL 99 Compliant continuous query language SQL extensions for Pattern recognition 150+ Built in Maths & Stats functions Strong Integration to Oracle DB TimesTen Integration Ti T I t ti Coherence Integration (Clustering) Scale out Distributed Computing Grid Business Activity Monitoring Integration

Core Event Infrastructure

Latency Analyzer

Stream Management

Complex Event Processing

Real Time Kernel

Local Cache
Programmatic access to local caches Integrate directly within EPN Nodes Enterprise Server Topology High Availability Managed Event Server Cluster Web2.0 Web Client push-based infrastructure Web based clients send and receive asynchronous messages over HTTP Event server components can subscribe to and publish to channels Historical Event Management Store Events for persistence Record/Playback Event activity Report on Event dialogs

Extended Event Infrastructure


Data Caching Cluster Management HTTP Pub/Sub Engine

Event Repository

Foundation Services
Coherence
Config/Admin Security Logging

JRockit WebLogic Application Grid JRockit DGC


WebLogic Real Time

Oracle CEP Application Model


<<OSGI Service>> Service1 <<OSGI Service>> Service2

Export

Import

OSGI B ndle/Spring Application Context Bundle/Spring Conte t


<<Source>> Data Source Adapter Event Processing Network (EPN)

Channel

Processor Queries

<<Sink>>
Channel

External Format->Event <<Source>>


Channel

Adapter Event->External Format

Queries

Data Source

Adapter Ad t

Channel

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

204

Event Processing Networks (EPN)


EDA is composed of several processing steps intermingled with user logic. Processor Rule Query Processor Rule Query Processor Rule Query

Listener - POJO

Event Source

Adapter

Processor Query Query

Data Source

Adapter

Cache Rule This arrangement or network of event processing components is called an event processing network (EPN).

Processor Rule Query

Listener - ALSB

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Oracle CEP Caching Programming Model Built on Coherence


Caches, stores, loaders, listeners, UDF are all configured as spring beans C h can b configured as St i A Cache be fi d 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

205

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. Channel Cache DB Table Continuous Query Language (CQL) Complex event output POJO listener, JMS, etc.

Complex Event Processor


Sink

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

206

Oracle CEP IDE Demonstration & LAB Reference the provided LAB Guide

In this LAB you will create an Oracle CEP HelloWorld 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

Oracle CEP Visualizer : Navigation Techniques


Simplified Administration and Processing Management, Advanced EDA Event Processing Network Performance Tuning Dynamic Continuous Query Event DeploymentLanguage Injection

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

207

Oracle and CQL


Initiative for a complete continuous query language Start with SQL 99 plus continuous query extensions
Based on Stanford University research

Industry standards discussion


Event Processing Technical Society (EPTS) ANSI SQL OMG

Adoption Today
ANSI SQL Standards Proposal for CQL Pattern Matching p g

Oracle, IBM, Stanford University


OpenSource Adoption of CQL Oracle Complex Event Processor (CEP) Release Available in 11g R1

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

415

CQL Example

Calculates aggregate values over a sliding 1 second window with output every half second

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

208

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

209

Basic Hot-Hot Clustering

Operation
1.Events are processed in parallel by both servers 2.Cluster members are notified of membership changes in the cluster 3.Members can determine if 3M b d t i they are the new primary 4.Members only forward final events if they are currently the primary

Adapter

Processor ocesso

ClusterAware EventFilter E tFilt

Failure
Event Source

Event Sink Membership Change Event

Limitations
1.Loss or duplicate events during notification of new new primary

Adapter

Processor

ClusterAwareFinal Events EventFilter

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


Operation
JMS Adapter Ad t
CacheAware EventFilter
Lock on key

Processor ocesso

JMS Adapter Ad t

1. All final events have a comparable key. 2. CacheAware filter attempts to lock on event key, then tests for presence of key 3. A put on key implies ownership of sending the event

Event Source

Cache
1. Lock on key 2. cache.put(key) 3. sendEvent(event)

Event Sink

JMS Adapter

Processor

CacheAware EventFilter

JMS Adatper

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

210

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

211

Complete Top-Down layered Platform built from the ground up for performance
Performance orientated Server Clusters Extreme flexibility using Coherence Real Time Optimized EDA Java Event Server Lightweight OSGi Java Container Services to manage real time profiling and tuning Event Processing Network Application Model Application Thread Optimization Deterministic Latency JRockit Real Time Unique Performance tooling on the worlds fastest JVM
For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Focus on Event-Driven Architecture (EDA)


Performance of the Lightweight, Low Latency, Extreme High Throughput, and Java-based Application Container
http://www.oracle.com/technology/products/event-driven-architecture/complex-event-processing.html

Oracle Complex Event Processing


Distribution of Latency Values f

Enriched Streams

Average Latency # of Output Events (m icroseconds)

Average Latency vs. Application Container EDA Java Injection Rate (10 Connections)

From any source: data streams, web services, Java, Database

Data/Msg. 25,000,000 80 Feeds


70 20,000,000 60

20,136,515 Adapters

Data Feed

Process Events (CEP)

Listener/SINK: User Code (Plain Java)

15,000,000 50 10,000,000
30 20 5,000,000 10 0 0 40

Adapters

3,054,550 131,598

Translate external events/data into java objects for processing

0
200000 0 - 99 400000

100 600000 - 199 800000

>=200 1000000

1200000

Latency (events/second) Injection RateRange (microseconds)

Processors Set of queries applied to the streams Listeners Handle triggers raised by the processors Events Implemented as JavaBean or Map

Aggregate, correlate, filter data Can Handle Unlimited Queries Incoming Data Streams 1,000,000+ Messages/Sec Latency Microsecond Latency (Avg.) Resulting Data fed to vast business opportunities with Java language

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

212

CEPCustomerImplementations&Projects
RealTimeSystemsManagement&Faultmitigation BorderSecurity,TransportationLogistics DynamicAircraftMaintenance i i f i RealtimeSlotMachineUsagepersuasion OnlineFraudDetection SmartMeters RoadwaysTollManagementSystems Intelligent Cable Box Management IntelligentCableBoxManagement EmergencyServicesRealTimeLocationProximityTracking AlgorithmicTrading,SmartOrderRouting

For Oracle employees and authorized partners only. Do not distribute to third parties. 2009 Oracle Corporation Proprietary and Confidential

Oracle CEP: Why We Win A Complete Event-Driven Application Infrastructure


Keep up with streaming event
sources event server Oracle CEP S Support an event model and t t d l d associated tools that make solutions
Fast to build Easy to adapt High performance

event processing network Oracle CEP Process at high speed/low latency g p y with determinism real-time 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

213

For Oracle employees and authorized partners only. Do not distribute to third parties. 2008 Oracle Corporation Proprietary and Confidential

214

You might also like