OSB功能分析及应用场景

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

WSDL
HTTP/ SOAP
T1 Pipeline
Business Service
HTTP/ SOAP
External Service
Service Virtualization
• Create additional agility by replacing direct coupling and to provide a virtual endpoint for the consumer, with the following benefit
3
2012 © Trivadis Where and When should I use the Oracle Service Bus (OSB) 14.06.2012
Oracle Fusion Middleware
Applications
Middleware
Database Infrastructure & Management
WELCOME
Where and When should I use the Oracle Service Bus (OSB)
Guido Schmutz UKOUG Conference 2012 04.12.2012
BASEL
BERN
LAUSANNE
ZÜRICH
DÜSSELDORF
FRANKFURT A.M.
• • • • • • Support of different message formats Move of endpoints Service versioning Better availability and scalability Security …
Proxy Service Service Consumer
SERVICE BUS ORACLE SERVICE BUS DATA INTEGRATOR
Lifecycle Governance
ERP
MAINFRAME
SERVICES
DB
PARTNERS
EVENTS
Adapters & B2B
5
2012 © Trivadis Where and When should I use the Oracle Service Bus (OSB) 14.06.2012
2012 © Trivadis Where and When should I use the Oracle Service Bus (OSB) 14.06.2012
• • •
2
Agenda
1. Oracle Service Bus and Oracle SOA Suite 2. Using the Oracle Service Bus 3. Bad Practices 4. Summary
2012 © Trivadis Where and When should I use the Oracle Service Bus (OSB) 14.06.2012
Message Transformation
Requirement
• Different message format of inbound/outbound messages of thHale Waihona Puke Baidu OSB
Routing
Requirement
• Efficiently route a message to one or another external service
Solution
• Use a Conditional Branch or a Routing Table instead of a single Routing action • Pass routing criteria through headers if complex decisions involved (instead of programming it into the OSB flow)
7
2012 © Trivadis Where and When should I use the Oracle Service Bus (OSB) 14.06.2012
Oracle Service Bus - Key Components
Proxy Service
• Contains the message processing logic for handling the request and the optional response message • Interface that the service consumer calls
Process State/ Long running Process Orchestration Human Workflow Decision Service
Mediator 11g
BPEL/ BPMN
Message Filter Message Validation (XSD) Asynchronous Messaging Pattern Message Transformation (XSLT) Adapter Framework (JCA) Message Routing Graphical Flow Design
Dynamic Routing
Requirement
• Dynamically route a message to a service not known at development time
Solution
• Use a Dynamic Routing to dynamically invoke a different business service • Set the Endpoint URI used on the business service dynamically through the Routing Options action
4
2012 © Trivadis Where and When should I use the Oracle Service Bus (OSB) 14.06.2012
SOA Integration Suite
DESIGN
POLICY MANAGER
EM
CEP
BAM
BPEL PROCESS MGR BUSINESS RULES HUMAN WORKFLOW
Business Service
• Wraps the external systems the OSB calls
Proxy Service
WSDL
T2 Pipeline
OSB
8
2012 © Trivadis Where and When should I use the Oracle Service Bus (OSB) 14.06.2012
Business Service
SOAP
Service Provider
Agenda
1. Oracle Service Bus and Oracle SOA Suite 2. Using the Oracle Service Bus 3. Bad Practices 4. Summary
10
OSB vs. Mediator vs. BPEL
Value Mapping Cross-Reference Tables (XREFs) Message Validation (Schematron) EDN Rule-engine for routing Resubmit Instance Monitoring JDeveloper SCA Support Fault Management Framework Message Ordering Unit Test Framework Security Strong typing (XSD) XA Support
• Header based routing is more efficient if payload does not have to be touched at all Proxy Service
HTTP/ SOAP HTTP/ SOAP HTTP/ SOAP
Routing Routing
FREIBURG I.BR.
HAMBURG
MÜNCHEN
STUTTGART
WIEN
1
2012 © Trivadis Where and When should I use the Oracle Service Bus (OSB) 14.06.2012
Guido Schmutz
• • • • • • • Working for Trivadis for more than 15 years Oracle ACE Director for Fusion Middleware and SOA Co-Author of different books Consultant, Trainer Software Architect for Java, Oracle, SOA and EDA Member of Trivadis Architecture Board Technology Manager @ Trivadis More than 20 years of software development experience Contact: guido.schmutz@trivadis.com Blog: http://guidoschmutz.wordpress.com Twitter: gschmutz
Service Data Object (SDO) Compensation Parallel Processing Sensors
Split-Join Reliable Messaging Service Types and Transport Service Pooling (Load Balancing)
WSDL
Service Consumer
SOAP
Service Provider
Agility
OSB
9
2012 © Trivadis Where and When should I use the Oracle Service Bus (OSB) 14.06.2012
WSDL
SOAP
Routing
Business Service Business Service
External Service 1 External Service 2
OSB
12
2012 © Trivadis Where and When should I use the Oracle Service Bus (OSB) 14.06.2012
Solution
• Use a Replace action with an XQuery / XSLT script • XQuery is a very efficient way to transform messages
Proxy Service
WSDL
Replace
OSB
11
XQuery
Eclipse IDE
OSB
SLA Alert Rule
Graphical Debugger
Oracle Service Bus - Key Capabilities
Agility
Scalability and Performance
Oracle Service Bus
Rapid Service Enablement Complete, Open & Integrated
XSLT
2012 © Trivadis Where and When should I use the Oracle Service Bus (OSB) 14.06.2012
WSDL
HTTP/ SOAP
Routing
Replace
Business Service
HTTP/ SOAP
External Service
XQuery Transformation Message Throttling Result Set Caching REST Support Web Console 6
2012 © Trivadis Where and When should I use the Oracle Service Bus (OSB) 14.06.2012
相关文档
最新文档