1. Trang chủ
  2. » Ngoại Ngữ

Student Guide - SOA 11g Foundation Bootcamp

215 368 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 215
Dung lượng 12,27 MB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

© 2009 Oracle Corporation – Proprietary and Confidential Training objectives • SOA11g features and functions with little hands-on • About the SOA11g Foundation BootCamp: Modular material

Trang 1

© 2008 Oracle Corporation – Proprietary and Confidential

The following is intended to outline our general

product direction It is intended for information

Safe Harbor Statement

p

purposes only, and may not be incorporated into any

contract It is not a commitment to deliver any

material, code, or functionality, and should not be

relied upon in making purchasing decisions.

The development, release, and timing of any

features or functionality described for Oracle’s

f O

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

© 2009 Oracle Corporation – Proprietary and Confidential

products remains at the sole discretion of Oracle.

Trang 2

Use of this Site (“Site”) or Materials constitutes agreement with the following terms and conditions:

1 Oracle Corporation (“Oracle”) is pleased to allow its business partner (“Partner”) to download and

copy the information, documents, and the online training courses (collectively, “Materials") found on this

Site The use of the Materials is restricted to the non commercial internal training of the Partner’s

Oracle Training Materials – Usage

Agreement

Site The use of the Materials is restricted to the non-commercial, internal training of the Partner s

employees only The Materials may not be used for training, promotion, or sales to customers or other

partners or third parties

2 All the Materials are trademarks of Oracle and are proprietary information of Oracle Partner or other

third party at no time has any right to resell, redistribute or create derivative works from the Materials

3 Oracle disclaims any warranties or representations as to the accuracy or completeness of any

Materials Materials are provided "as is" without warranty of any kind, either express or implied,

including without limitation warranties of merchantability, fitness for a particular purpose, and

non-infringement

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

© 2009 Oracle Corporation – Proprietary and Confidential

4 Under no circumstances shall Oracle or the Oracle Authorized Delivery Partner be liable for any loss,

damage, liability or expense incurred or suffered which is claimed to have resulted from use of this Site

of Materials As a condition of use of the Materials, Partner agrees to indemnify Oracle from and against

any and all actions, claims, losses, damages, liabilities and expenses (including reasonable attorneys'

fees) arising out of Partner’s use of the Materials.

5 Reference materials including but not limited to those identified in the Boot Camp manifest can not be

redistributed in any format without Oracle written consent.

SOA 11g Foundation Bootcamp: Welcome!

Overview, Objectives, Logistics

Prasen Palvankar

Hemesh Surana

Trang 3

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:

Modular material, 2 days to 4 days depending on situation

To be packaged and delivered in the field by the field

To be used as a blue print for Oracle University classes

To be ready before SOA Suite 11g GA

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

© 2009 Oracle Corporation – Proprietary and Confidential

Trang 4

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

Trang 5

Day 1

09:00 30 Welcome & content distribution

09:30 30 PO Processing Case Study overview

01:00 1hr Mediator, Adapters overview

02:00 4 hrs Lab Setup / Chapter 1-2-3 lab

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

© 2009 Oracle Corporation – Proprietary and Confidential

Day 2

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

© 2009 Oracle Corporation – Proprietary and Confidential

Trang 6

Day 3

09:00 60 App D lab (fault)

10:00 60 App J lab and install (OSB)

04:00 60 Wrap-up and Q/A/Open Discussion

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

© 2009 Oracle Corporation – Proprietary and Confidential

SOA 11g Foundation BootCamp:

Use Case Overview

Trang 7

SOA 11g LABS – Purchase Order

Processing

• The purchase order details can come in from any

source (in our case a testing page)

• the credit card status for the customer is validated

and if the credit card is good, the order continues

• An order for a large purchase price requires a manual

approval step

• The order is written to a text file to be processed by The order is written to a text file to be processed by

the fulfillment house

• For approved orders, the order is sent to the

fulfillment carrier.

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

© 2009 Oracle Corporation – Proprietary and Confidential

Trang 8

SOA 11g LABS – overview: core

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

© 2009 Oracle Corporation – Proprietary and Confidential

SOA 11g LABS – overview: extras

Trang 9

SOA 11g LABS – Setup

• e2e-105-POProcessing-01-Setup

• Create soademo user and table for credit card check

• Create soademoDatabase data source

• Create demoFulfillmentQueue jms messaging queue

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

© 2009 Oracle Corporation – Proprietary and Confidential

SOA 11g LABS – DB Adapter

• e2e-105-POProcessing-02-DBAdapter

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

© 2009 Oracle Corporation – Proprietary and Confidential

Trang 10

SOA 11g LABS – File Adapter

• e2e-105-POProcessing-03-FileAdapter

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

© 2009 Oracle Corporation – Proprietary and Confidential

SOA 11g LABS – BPEL

• e2e-105-POProcessing-04-BPEL

Trang 11

SOA 11g LABS – BPEL

• e2e-105-POProcessing-04-BPEL

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

© 2009 Oracle Corporation – Proprietary and Confidential

SOA 11g LABS – Human Workflow

• e2e-105-POProcessing-05-HW

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

© 2009 Oracle Corporation – Proprietary and Confidential

Trang 12

SOA 11g LABS – Human Workflow

• e2e-105-POProcessing-05-HW

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

© 2009 Oracle Corporation – Proprietary and Confidential

SOA 11g LABS – Meditor update

• e2e-105-POProcessing-06-update

Trang 13

SOA 11g LABS – Rules

• e2e-105-POProcessing-07-Rules

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

© 2009 Oracle Corporation – Proprietary and Confidential

SOA 11g LABS – Rules: Decision Table

• e2e-105-POProcessing-08-DT

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

© 2009 Oracle Corporation – Proprietary and Confidential

Trang 14

SOA 11g LABS – JMS Adapter

• e2e-105-POProcessing-09-JMSAdapter

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

© 2009 Oracle Corporation – Proprietary and Confidential

What’s New in Oracle SOA Suite 11g

Trang 15

SOA Technologies:

Quick recap

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

© 2009 Oracle Corporation – Proprietary and Confidential

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

© 2009 Oracle Corporation – Proprietary and Confidential

Trang 16

O l SOA S it 11

Oracle SOA Suite 11g

What’s New?

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

© 2009 Oracle Corporation – Proprietary and Confidential

Problem statement

SOA tools have become more and more capable

SOA tools have also become more complex

operate independently of each other

and maintenance complexity

Trang 17

Example: Order Processing

Accept purchase order p p Web services binding

coming over SOAP

g

Route it for fulfillment ESB

Orchestrate fulfillment tasks BPEL

Request human approval Human Workflow

Externalize approval rules Rules

Log results to file File adapter

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

© 2009 Oracle Corporation – Proprietary and Confidential

Required Technologies

Design-time metadata

Management console

Runtime

ESB

BPEL PM

Rules

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

© 2009 Oracle Corporation – Proprietary and Confidential

Trang 18

Collapsing DT, RT and M&M

Design-time metadata

Management console

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

© 2009 Oracle Corporation – Proprietary and Confidential

Emergence of Service Platforms

SERVICE PLATFORM

11g

& optimized performances

Web Services

10.1.2

& optimized performances

SCA WSDL

CORBA

EAI

Messaging

Trang 19

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

• SOA domain can be created using WLS domain

configuration wizard g

• multiple servers can be configured in a single pass.

recovery

messaging in addition to AQ JMS

messaging, in addition to AQ JMS.

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

Trang 20

Runtime HA Capabilities

• Easy SOA cluster setup using WLS configuration wizard

• Based on zero-config Coherence infrastructure (vs JGroups)

Additi l SOA b fi d i WLS l

• Additional SOA servers can be configured using WLS console

• JMS subsystem supports distributed destinations for load-balancing

across SOA servers

• WLS provides XA based transaction recovery for SOA processes

• SOA uses WLS Whole Server Migration as a failover strategy for

hardware and instance failures

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

Trang 21

Composite: deployment unit

Service: entry-point into composite

Component: provides logic

C 2wire

componentcomposite

Reference: refers to external services

Wire: connects services, components and

references – no special semantic.

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

© 2009 Oracle Corporation – Proprietary and Confidential

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

© 2009 Oracle Corporation – Proprietary and Confidential

Trang 22

SOA Composite

• SOA composite is a standards-based deployment unit

• Leverages the SCA assembly model

• Can mix variety of components: Mediator, BPEL,

Human Workflow, etc.

R R

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

© 2009 Oracle Corporation – Proprietary and Confidential

SCA Composite Editor

SCA Composite Editor

Mediation Web services Web services and adapters and adapters

Palette of Service Components

& Adapters

Palette of Service Components

& Adapters

BPEL orchestration

BPEL orchestration

p

Mediation

Business Rules

Human Tasks

Trang 23

Distributed aspect of SOA can

have a negative impact on

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

© 2009 Oracle Corporation – Proprietary and Confidential

11g SCA Service Infrastructure

One unified infrastructure to manage

Application composers

BPEL Human Task

Policy Manager

Optimized binding

BPEL Human Workflow

Oracle Service Bus

Common JCA-based connectivity infrastructure

Repository

p IDE

console

BAM

B2B

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

© 2009 Oracle Corporation – Proprietary and Confidential

Trang 24

environment can be difficult

Proliferation of security tools

and frameworks often leads to

security gaps.

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

© 2009 Oracle Corporation – Proprietary and Confidential

Mediator BPEL Human

Task

Global Policy Management:

Oracle WSM Policy Manager

Web Service Interceptor:

• User token insertion (such

HTTP/SOAP message

encryption/decryption)

SSO (Oracle Access Manager & 3 rd - Party)

Java Platform Security

Trang 25

“A h M i ”?!

Challenge

“Asynchronous Messaging”?!

All I care about is business

this easier for me?

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

© 2009 Oracle Corporation – Proprietary and Confidential

• Work with events – not messaging infrastructure!

• Declarative way to work with publish-subscribe

• Offers rich subscription capabilities:

Event Delivery Network (EDN)

1 Namespaces

2 Events Names

3 Content-based XPath filters

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

© 2009 Oracle Corporation – Proprietary and Confidential

Trang 26

H I t

Challenge

How can I get

complete end-to-end visibility

and increase my auditing

capabilities in such a

distributed environment?

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

© 2009 Oracle Corporation – Proprietary and Confidential

Monitoring fully-integrated in Fusion

Middleware Control

• Service monitoring across all SOA components:

ESB, BPEL, Human Workflow, etc , , ,

• Integral part of Enterprise Manager FMW Control

• Instances tracking (“what happened when”):

• Each instance uniquely identified with ECID

• Instances’ journey tracked through all SOA components:

ESB, BPEL, adapters, workflow, …

• “Error hospital”: to search manage resubmit failed Error hospital : to search, manage, resubmit failed

instances (including batch)

• Can be used to execute and review unit tests

Trang 27

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

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

© 2009 Oracle Corporation – Proprietary and Confidential

Trang 28

H k f

Challenge

How can we make sense of

the ever-growing number of

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

© 2009 Oracle Corporation – Proprietary and Confidential

Real-Time Process Agility

BAM CEP

EDN

EDA delivers real-time event processing for monitoring, analyzing,

and acting on business process optimization.

BAM DashboardsMobile Devices

Trang 29

S l U d P th

Seamless Upgrade Path

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

© 2009 Oracle Corporation – Proprietary and Confidential

Completely transparent and automated project

upgrade: simply open your project in

JDeveloper and re-deploy!

11g SOA Suite Server

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

© 2009 Oracle Corporation – Proprietary and Confidential

Trang 30

U M i S i

User Messaging Services

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

© 2009 Oracle Corporation – Proprietary and Confidential

User Messaging Services (UMS)

• Provides SOA customers with rapid enablement for

innovative messaging services

• Custom alerts

• Multi delivery type interaction

• Can deliver and receive messages from multiple

channels

• SMS, IM, Email, Voice

• Composition capabilities with SOA

• Outgoing notifications from a BPEL process

• Outgoing and incoming messages for tasks assigned to users

Trang 31

Wh t l i ?

Hundreds of new features

based on customers’ feedback

“it’s not just about the platform” it s not just about the platform

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

© 2009 Oracle Corporation – Proprietary and Confidential

Oracle SOA Suite 11g:

SOA Service Platform

Leverages SCA to deliver the industry first full Service

1

Platform:

Reconciles service-orientation with eventing

Natural evolution from 10g, seamless upgrade path

Wealth of new features based on customers’

feedback

2

3

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

© 2009 Oracle Corporation – Proprietary and Confidential

Trang 32

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)

2 Execute (SOAConsole or ANT)

3 Review results (EM or standard JUnit report)

Trang 33

• Test different operations within WSDL

• HTML or XML based input fields

• Save tests for future use

• Stress test an operation

65

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

© 2009 Oracle Corporation – Proprietary and Confidential

SOA 10g to 11g Upgrade

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

© 2009 Oracle Corporation – Proprietary and Confidential

Trang 34

Quick Overview

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

© 2009 Oracle Corporation – Proprietary and Confidential

High level steps

• Create 11g SOA install/domain and load balancer

from scratch

• Migrate/Deploy applications to 11g

• B2B Agreements

• BAM Reports/Data Objects/Alerts

• SOA JDeveloper projects

• Configure 11g system from scratch

• Migrate clients if necessary

• Migrate clients if necessary

• Secure 11g system from scratch (example Identity

Management, OWSM policies)

• Cutover to 11g production system

Trang 35

BAM 11 U d

BAM 11g Upgrade

Key Steps

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

© 2009 Oracle Corporation – Proprietary and Confidential

BAM upgrade steps overview

• RCU creates the schema for 11g BAM

• Use Upgrade assistant tool to copy data Use Upgrade assistant tool to copy data

objects/reports/alerts from 10g BAM system database

to 11g BAM system database directly

• 10g Enterprise Link is no longer supported

• Native support for 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

Trang 36

B2B 11 U d

B2B 11g Upgrade

Key Steps

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

© 2009 Oracle Corporation – Proprietary and Confidential

B2B upgrade steps overview

• Apply MLR#10 to 10g B2B system

• Run a 10g java program to export agreements into a Run a 10g java program to export agreements into a

zip file

• RCU creates the schema for 11g B2B system

• Use the 11g Upgrade assistant tool to update the 11g

system database with the exported agreements

Trang 37

SOA 11 U d

SOA 11g Upgrade

Key Steps

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

© 2009 Oracle Corporation – Proprietary and Confidential

Mostly transparent project upgrade: Open your

10g Project or Application in JDeveloper, apply

any manual steps and re-deploy!

11g SOA Suite Server

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

© 2009 Oracle Corporation – Proprietary and Confidential

Trang 38

JDeveloper Upgrade

• In-place upgrade of application/project.

• Can upgrade any project not just SOA projects Can upgrade any project, not just SOA projects

• Backup of 10g project is created.

• All HTTP WSDL references in project must be

accessible

• Log in …/jdeveloper/upgrade/logs

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

© 2009 Oracle Corporation – Proprietary and Confidential

Command Line Upgrade

• Ant script available to upgrade SOA projects

• Cannot upgrade whole Applications pg pp

• Upgraded directory different than source directory

• Does not Upgrade jpr files Opening project in

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

Trang 39

Manual steps

• Strong attempt made to automate project upgrade as

much as possible given large differences between p g g

10g and 11g

• Not always possible

• A few things deferred due to time constraints

• Some manual steps Refer to Upgrade Guide for

details

• Artifacts upgraded are BPEL processes ESB Artifacts upgraded are BPEL processes, ESB

services, Rules dictionaries, Human Workflow tasks,

Adapters Some limitations apply

• Artifacts not upgraded are build files, Fault policies

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

© 2009 Oracle Corporation – Proprietary and Confidential

Best Practices

• If a composite references another composite in the migrating

application

• Migrate/Deploy invoked composite first

• Refer to project for abstract WSDL, and HTTP URL for concrete

WSDL

• Use MDS to share WSDL’s, schemas across projects

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

© 2009 Oracle Corporation – Proprietary and Confidential

Trang 40

Client and Invoked Service Migration

• Some 11g APIs are compatible with equivalent 10g

APIs, some are different

• Worklist APIs are compatible

• B2B APIs are compatible.

• Custom Sensor APIs are compatible

• BPEL APIs are functionally roughly equivalent with signature

changes

• Rules SDK APIs are a functional superset.

• 11g uses 2005 ws-addressing Need patch for 10g g g p g

BPEL client

• URLs in 11g has different syntax (includes callback

URL used by invoked services)

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

© 2009 Oracle Corporation – Proprietary and Confidential

BPEL instance Migration

• No support on first release for BPEL instance

migration, or audit trail migration Oracle investigating g , g g g

feasibility of instance migration.

• Two choices for cutting over long running processes

to 11g

Ngày đăng: 25/11/2016, 19:25

TỪ KHÓA LIÊN QUAN