View
181
Download
2
Tags:
Embed Size (px)
Citation preview
Stay Connected
BLOGS.ORACLE.COM/IMC
TWITTER.COM/ORACLEIMC
YOUTUBE.COM/ORACLEIMCTEAM
FACEBOOK.COM/ORACLEIMC
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Oracle Service Bus 12c: Simplifying Service Virtualization and Integration
Emin Askerov FMW Consultant ISV Migration Center July 30, 2015
Oracle Confidential – Internal/Restricted/Highly Restricted
Presented by
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Agenda
Service Integration: Common Pitfalls & Problems
Oracle Service Bus: Role and Benefits
Oracle Service Bus 12c: Features Overview
Demonstration
Summary
Q&A
1
2
3
4
5
4
6
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Safe Harbor Statement
The following is intended to outline our general 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 Oracle’s products remains at the sole discretion of Oracle.
5
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Agenda
Service Integration: Common Pitfalls & Problems
Oracle Service Bus: Role and Benefits
Oracle Service Bus 12c: Features Overview
Demonstration
Summary
Q&A
1
2
3
4
5
6
6
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Point-to-Point Integration: The Whole Mess!
Oracle Confidential – Restricted/Highly Restricted 7
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Service Integration: Typical IT Challenges
Oracle Confidential – Restricted/Highly Restricted 8
• Tightly-coupled business services integration due to complex wired connections
• Difficulty managing deployed services due to disparate protocols
and applications involved
• High total cost of ownership for the enterprise
• Impaired ability to reuse services
• Inherent replication of transport, transformation, security, and routing details
• Exponential redevelopment and redeployment efforts when service end-point interfaces change
• Inevitable service disruptions that significantly impact service consumers
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Service Integration: IT Needs
Oracle Confidential – Restricted/Highly Restricted 9
• Simplify access and updates to data residing in different sources
• Reuse services developed across the enterprise and effectively manage their life cycle
• Provide dynamic configuration of complex integration logic and message routing behavior
• Enable run-time configuration capabilities into the service infrastructure
• Provide consistent use of the enterprise services
• Ensure enterprise services are secure and comply with IT policies
• Monitor and audit service usage and manage system outages
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Solution?
Oracle Confidential – Internal/Restricted/Highly Restricted 10
Hmm… What is the solution?
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Enterprise Service Bus
Oracle Confidential – Internal/Restricted/Highly Restricted 11
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Agenda
Service Integration: Common Pitfalls & Problems
Oracle Service Bus: Role and Benefits
Oracle Service Bus 12c: Features Overview
Demonstration
Summary
Q&A
1
2
3
4
5
12
6
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
The Oracle SOA Suite Solution
Mainframes
Databases
Files Mobile
Cloud Business Process Orchestration
Analytics & Events
Service Orchestration Business Rules
Virtualization, Transformation, Routing
Co
nn
ect
Disco
ver
API Management
Co
nn
ect
Dis
cove
r
Things
Trading Partners
Applications
Service Bus
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Summary What is Oracle Service Bus?
• Loose Coupling
• Location Transparency
• Mediation
• Schema Transformation
• Service Aggregation
• Load Balancing
• Enforcing Security
• Monitoring
• Configuration vs. Coding
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Service Bus Role
Oracle Confidential – Restricted/Highly Restricted 15
• Combines the integration capabilities with operational service management, into a single enterprise-class product
• Brings reliability, availability, scalability, and performance
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Oracle Service Bus Core Concepts Proxy, Business Services and Message Flow
Oracle Confidential – Restricted/Highly Restricted 16
• Proxy Services
• Message Flow
• Business Services
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Core Concepts
• Proxy Service –Defines an interface for the Service
Bus
–Many different interface types are supported: • HTTP(s), SOAP, REST etc.
• EJB, File, SMTP
– Is loosely coupled to the implementation (aka Message Flow) in 12c
<<ORACLE SERVICE BUS>>
External Service
Business Service
Message Flow
Proxy Service
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Core Concepts • Message Flow –Contains the implementation logic of the
proxy service
–Defines how messages are routed, validated, and transformed between services.
–Can be reused by multiple proxy services (loosely coupled)
–Supports common programming constructs: Loops, Conditions, etc.
–Can make synchronous and asynchronous service calls
<<ORACLE SERVICE BUS>>
External Service
Business Service
Message Flow
Proxy Service
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
• Business Service –Service connectivity meta-data only
–Generally takes seconds to create
–Used to connect to external services and applications
–Can connect to SOAP, REST, XML/HTTP, SMTP, Adapters, File systems and many more.
<<ORACLE SERVICE BUS>>
External Service
Business Service
Message Flow
Proxy Service
Core Concepts
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Agenda
Service Integration: Common Pitfalls & Problems
Oracle Service Bus: Role and Benefits
Oracle Service Bus 12c: Features Overview
Demonstration
Summary
Q&A
1
2
3
4
5
20
6
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Oracle Service Bus Today
Oracle Service Bus 12c!
June 2014
January 2014 JDeveloper
EM Fusion Middleware
Control
REST/JSON Support
Pipeline Templates
Debugger
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
For the Developer
• Quick Start to Develop
• Connectivity
• Message Mapping Support
• Reusability
• Debugging and Testing
• Continuous Delivery
• Web-based Development Console
22
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Get Started, Get Productive
• Quick-start installation
– Free for the Developer
– Single Package Installer
– Install and setup to «Hello World» in 30 minutes or less.
23
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
JDeveloper Overview Editor
• Overview Editor
– Visual representation of an Oracle Service Bus project
– Provides visual and declarative experience for developers
– Drag & Drop Approach
Oracle Confidential – Internal/Restricted/Highly Restricted 24
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Connect to Anything, Anywhere
• Connectivity
– Wide range of adapters and transports
– Adapters can be used both in SOA Composites and Service Bus Projects
– Choose the best technology for the use-case
25
Mobile
Cloud
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Virtualize your APIs
26
• Requirement
– De-couple back-end systems from front-end clients
– Load-balance requests to back-end systems
• Solution
– Use Service Bus to virtualize, manage and load-balance your integrations
Service Bus 12c
Proxy Service
API
Pipeline
Message Processing and
Routing
Business Service Connect, Load-
balance, Throttle Providers
Providers
Providers Requesters
Requesters
Requesters
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Scale your APIs
27
• Requirement
– Increase performance and reduce load on back-end systems
• Solution
– Use result-caching and Coherence to cache results
Service Bus 12c
Proxy Service
API
Pipeline
Message Processing and
Routing
Business Service Connect, Load-
balance, Throttle Providers
Providers
Providers Requesters
Requesters
Requesters
Result Cache Coherence
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
• Requirement
– Highly Available Integration Platform
– Scalable for high loads with high performance
• Solution – Deploy Service Bus on WebLogic
Cluster to scale out your implementation
28
Achieve High Availability
WebLogic Cluster
Service Bus
Service Bus
Service Bus
Host 1 Host 2 Host 3
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Easily REST-enable Existing Services
• Connecting Mobile Platforms
– REST binding
– Translates between REST and SOAP
– Supports both XML and JSON
• Support both SOAP and REST
– Reuse pipeline to serve both interfaces.
– Automatically creates JSON payload
– Easily mobile-enable existing SOAP interfaces
– Easily connect to RESTful apis
29
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Leverage RESTful Services With Your Enterprise Applications
30
• Requirement
– Use newer Cloud, Mobile, or other RESTful interfaces with your existing Enterprise Applications
• Solution
– Use the REST binding in Service Bus to Connect to a RESTful API
Service Bus 12c
Mobile
Mainframes Databases
Files
Cloud
Applications Proxy
Service API
Pipeline
Message Processing and
Routing
REST
SOAP
Business Service Connect, Load-
balance, Throttle
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Implement Secure APIs
31
• Requirement
– Secure and enforce authentication and authorization to protect enterprise information
• Solution
– Web Services Manager provides policy-based security enforcement
Service Bus 12c
Mobile
Mainframes Databases
Files
Cloud
Applications Proxy
Service API
Pipeline
Message Processing and
Routing
REST SOAP
Business Service Connect, Load-
balance, Throttle
Oracle Web Services Manager
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Transform Your Messages
• Message Mapping Support
– Available for both XQuery and XSLT
– Supports complex, large-scale XSLT
32
Service Bus 12c
Proxy Service
API
Pipeline
Message Processing and
Routing
Business Service Connect,
Load-balance, Throttle
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
• Requirement
– Reuse message processing logic
– Shorten development time
– Create a consistent approach to implementing APIs.
– Promote best-practices
• Solution
– Use Pipeline templates to create and provide best-practice patterns
33
Promote Repeatable Patterns
Service Bus 12c
Pipeline Template
Message Processing and
Routing, Placeholders
Pipeline
Message Processing and
Routing, Placeholders
Pipeline
Message Processing and
Routing, Placeholders
Pipeline
Message Processing and
Routing, Placeholders
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Test and Validate Message Processing Logic
• Debugging and Testing
– Breakpoints to step through a process
– Data watches to observe and manipulate data payloads through the integration
34
Service Bus 12c
Proxy Service
API
Pipeline
Message Processing and
Routing
Business Service Connect,
Load-balance, Throttle
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Promote Continuous Delivery
• Continuous Integration
– Maven plugin for Service Bus projects
– Project Object Model (POM) Editor
– Full-lifecycle support
35
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Develop in an IDE or the Web
• Web-based Development Console
– Perform many development tasks without an IDE • Adding/changing end-points on business
services.
• Creating/updating Service Level Alert Rules
36
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Re-order Messages
• Leverages resequencer engine used by Mediator
• Configured in Service Bus console and managed in Enterprise Manager
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
For the Administrator
• Visibility
– “Single-pane of Glass”
• Service Level Alerts
• Pipeline Alerts
• Performance Metrics
38
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
For the Administrator
• Visibility
– “Single-pane of Glass”
– Monitor all SOA operations in Enterprise Manager Fusion Middleware Control
– Identify at a glance overall status, with highlights and history
39
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
For the Administrator
• Service Level Alerts
– Service performance thresholds
– Follows a window of time
• Pipeline Alerts – Business level exceptions
40
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
For the Administrator
• Performance Metrics
– Per service metric reporting
41
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
For the Administrator
• Global Settings
– Activate/deactivate services
– Set monitoring and alerting
– Set aggregation intervals
42
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Demonstration
43
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Demonstration: Summary • Business Services:
– ADF BC components exposed as SOAP Service
– PL/SQL procedure from package
• Proxy Service – REST XML/JSON Service
44
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Demonstration: Summary
• Get list of bank accounts by User ID
– REST URI (with path parameter): /accounts/{uid}
• Performing transfer of funds between accounts
– REST URI: /accounts/transfer
– XML Payload Example: <ns2:accountTransferPayload xmlns:ns2="http://www.abcbank.com/ebanking">
<ns2:FromAccountNumber>40702840206990000668</ns2:FromAccountNumber>
<ns2:ToAccountNumber>40702840604980019192</ns2:ToAccountNumber>
<ns2:Value>100</ns2:Value>
</ns2:accountTransferPayload>
45
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
• Implement
– QuickStart to Development
– Templates to reuse code and to promote best-practices
– Integration Debugger with support for breakpoints and data watches
– Wide adapter portfolio to connect to many on-premise, and cloud based applications
– REST Enablement for SOAP style services
• Scale
– Virtualization of back-end services
– Load-balancing
– Result Caching
– Clustering
46
• Manage
– “Single-pane-of-glass” view with Fusion Middleware Control
– Service Health Metrics
– Service Level Alerts
– Pipeline Alerts
Summary Oracle Service Bus, at a glance
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Resources • Oracle Learning Library
– https://apexapps.oracle.com/pls/apex/f?p=44785:2:102585732460863:FORCE_QUERY::2,CIR,RIR:P2_TAGS:oracle%20service%20bus
• Oracle Learning Streams
– http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=721&get_params=streamId:22XML Payload
• Oracle Blogs – https://blogs.oracle.com/SOA/
• Samples
– https://java.net/projects/oraclesoasuite12c
• Learn more
– http://www.oracle.com/technetwork/middleware/service-bus/learnmore/index.html
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Q&A
48
Emin Askerov Oracle IMC FMW Consultant [email protected] ISV Migration Center blog: http://blogs.oracle.com/imc ISV Migration Center email: [email protected]
Stay Connected
BLOGS.ORACLE.COM/IMC
TWITTER.COM/ORACLEIMC
YOUTUBE.COM/ORACLEIMCTEAM
FACEBOOK.COM/ORACLEIMC
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | 50