Tải bản đầy đủ (.pdf) (215 trang)

Student Guide - SOA 11g Foundation Bootcamp

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (12.27 MB, 215 trang )

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
product direction. It is intended for information
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
products remains at the sole discretion off Oracle.
O

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

1


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 The use of the Materials is restricted to the non
Site.
non-commercial,
commercial internal training of the Partner’s


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

2


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

3


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

4


Day 1
Start

Duration

09:00

30

Title

Welcome & content distribution

Presenter

09:30

30

PO Processing Case Study overview

10:00

90

SOA/SCA Overview

11:30

30

EM Overview

12:00

1hr

LUNCH

01:00


1hr

02:00

4 hrs

Mediator, Adapters overview
Lab Setup / Chapter 1-2-3 lab

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

Day 2
Start

Duration

09:00

60

10:00

2hrs

12:00

60

Title


Presenter

BPEL, Human Workflow overview
Chapter .4-5-6 lab
LUNCH

01:00

30

01:30

2hrs

Chapter 7-8-9 lab

Rules overview

03:30

30

OWSM Overview

04:00

1hr

App. E lab(OWSM)


05:00

30

Exception Handling overview

05:30

30

OSB Overview

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

5


Day 3
Start

Duration

09:00

60

Title


10:00

60

App. J lab and install (OSB)

11:00

30

EDN Overview

11:30

30

App. F Lab (EDN)

Presenter

App. D lab (fault)

12:00

60

Lunch

01:00


30

BAM Overview

01:30

150

BAM Lab

04:00

60

Wrap-up and Q/A/Open Discussion

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

SOA 11g Foundation BootCamp:
Use Case Overview

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

6


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

7


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

8


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

9


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

What’s New in Oracle SOA Suite 11g

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

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

Route & Transform
ESB & B2B

SYSTEM
RULES
ENGINE

Externalize business rules
RULES ENGINE

WEB WEB
SERVICE

SERVICE

Orchestrate
BPEL/BPM ENGINE

IF
HUMAN
WORKFLOW

Involve human beings
HUMAN WORKFLOW
Secure

WEB

SERVICE

LEGACY
SYSTEM

GLOBAL SECURITY FRAMEWORK

Visualize
BUSINESS ACTIVITY
MONITORING

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

15


<Insert Picture Here>

Oracle
O
l SOA Suite
S it 11g
11
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
• 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

Product

p p
purchase order
Accept
coming over SOAP

Web services binding
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

17


Collapsing DT, RT and M&M
Management
console

Design-time
metadata

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

11g

• Yet, fully standards-compliant
• No sacrifice on hot-pluggability

SCA
ESB
BPEL
Web Services WSDL

10.1.3
10.1.2

XSLT
J2EE XML
EAI

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
g
wizard
• multiple servers can be configured in a single pass.

• Transaction Management: XA support and
recovery
• Thread Management: leverages Work Manager API
• Messaging: adoption of WLS JMS as default
messaging in addition to AQ JMS
messaging,
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)
Additi
Additional
l SOA servers can be
b configured
fi
d using
i WLS console
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
S
i Component
C
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

Service Component Architecture:

Java interface
WSDL portType

S


S

service

C1

R
wire

Binding:
SOAP
JMS

S

JCS


C2
component

composite

R

R
reference

• language-neutral
• component model

• assembly model
• Specifications backed by a growing number of
leading industry vendors

• Being standardized at OASIS, the international
open standards consortium
SCA terminology:
• Composite: deployment unit
• Service: entry-point into composite
• Co
Component:
po e t p
provides
o des logic
og c
• Reference: refers to external services
• Wire: connects services, components and
references – no special semantic.

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

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

service

S

reference

S

S
Mediator

R

R

WS


R

WS

BPEL
R

R

WS

wire

S
BPEL

R

SOA composite

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

SCA Composite Editor
Palette of Service
Components
& Adapters

SCA Composite Editor
Web services

and adapters
p

Mediation

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 a negative
egat e impact
pact o
have
on
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

Application
composers
p

Human
Task

Mediation
BPEL
orchestration

SCA Composite
Human
Tasks


Business
Rules

IDE

Web
services
and
adapters

Mediator

SOA Composite Editor

Business
Rules

BPEL

Human
Workflow

11g Service Infrastructure
Repository
Common JCA-based connectivity infrastructure

Policy Manager

Optimized
binding


BAM

Oracle Service Bus
SOA
Operations

B2B

Web-based
console

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

46

23


Challenge

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

Mediator
2

Human
Task

BPEL
3

Policy Manager

4

Service Infrastructure

Service Component

Interceptors:
• Authorization

SOAP

1

Web Service Interceptor:

SOAP

5

Web Service Interceptor:

• Integrity & Confidentiality
(signatures,
encryption/decryption)

• Authentication
• Authorization
• Message Integrity &
Confidentiality
(signatures,
encryption/decryption)

• User token insertion (such
as SAML)

HTTP/SOAP

message

Java Platform
Security

HTTP/SOAP
message

SSO

• Publish security
requirements as WS-Policy
in WSDL

File

LDAP

DB

(Oracle Access
Manager & 3rdParty)

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

24


Challenge


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


×