introduction to soa & oracle soa infrastructure

18
Introduction to SOA & Oracle SOA Infrastructure Presented By Amit Deo, FMW Consultant

Upload: amit-deo

Post on 14-Jun-2015

499 views

Category:

Documents


5 download

TRANSCRIPT

Page 1: Introduction to soa  & oracle soa infrastructure

Introduction to SOA & Oracle SOA Infrastructure

Presented By Amit Deo, FMW Consultant

Page 2: Introduction to soa  & oracle soa infrastructure

Agenda

What is SOA

Why SOA

Oracle SOA Platform

What are Web Services

What is XML Language. Showing sample XML files

What are XSD. Showing Sample XSD Files

What are XSLT. Showing sample XSLT files

High Level components in SOA

Page 3: Introduction to soa  & oracle soa infrastructure

Basics of SOA Service Oriented Architecture is a Principle by which

distributed systems are build together to form a composite large system with fine-grained and coarse-grained service

Key Words: Why they are Key? Loosely Coupled Reusable

Page 4: Introduction to soa  & oracle soa infrastructure

DCPDS

BAM

Batch Processing

Data Aggregation/Synch

Database Warehouse

Mainframe

Portal

Wireless / Mobile

3rd Party Oracle_DCPDS.JPG

Heterogeneous Environment

Page 5: Introduction to soa  & oracle soa infrastructure

SOA/ESB Enabled System Environment

Middleware

BAM

Batch Processing

Data Aggregation/Syn

ch

Database

Warehouse

Mainframe

Portal

Wireless / Mobile

DCPDS

3rd Party

Web services

• Simplified and common: o Integration / Automation oAdministration o Security

• Total visibility • Enable runtime changes • Standards-based plug & play o Web Services & “SOA”

Page 6: Introduction to soa  & oracle soa infrastructure

Oracle SOA Platform

Oracle Business Activity Monitor (BAM)

Oracle BPEL Process Manager

BPEL Process Workflow Rules

fx

Biz Partners RN, EDI

OSB/ Oracle Enterprise Service Bus Transformation | Routing | Messaging | Registry

Registry

Metadata

store

Java, Other services

In Memory JCA CLR

.Net, C#

REST SOAP JCA

Mainframe, IMS, CICS

Yahoo! Amazon

Oracle Apps, Siebel, SAP, Peoplesoft

Key Features

100% BPEL Support

Extensible Human Workflow

Flexible Rules Integration

Integrated Business Activity Monitor

JCA/WSIF Binding Framework

Integrated ESB, Registry, WSM

SOA enabled user interaction layer

Unified enterprise management

Integrated development environment

Oracle WebCenter Suite

Oracle JDev

Oracle

BPA Suite

Oracle Application Server / Oracle Enterprise Manager

Page 7: Introduction to soa  & oracle soa infrastructure

Basics of Web Services • Web services are application components

• Web services communicate using open protocols

• Web services are self-contained and self-describing

• Web services can be discovered using UDDI

• Web services can be used by other applications

• XML is the basis for Web services

The basic Web services platform is XML + HTTP.

XML provides a language which can be used between different platforms and programming languages and still express complex messages and functions.

The HTTP protocol is the most used Internet protocol.

Web services platform elements:

o SOAP (Simple Object Access Protocol)

o UDDI (Universal Description, Discovery and Integration)

o WSDL (Web Services Description Language)

Page 8: Introduction to soa  & oracle soa infrastructure

Need for Web Services Interoperability has Highest Priority

• When all major platforms could access the Web using Web browsers, different platforms could interact. For these platforms to work together, Web-applications were developed.

• Web-applications are simple applications that run on the web. These are built around the Web browser standards and can be used by any browser on any platform.

• Web Services take Web-applications to the Next Level

• By using Web services, your application can publish its function or message to the rest of the world.

• Web services use XML to code and to decode data, and SOAP to transport it (using open protocols).

Web Services have Two Types of Uses

• Reusable application-components.

o There are things applications need very often. So why make these over and over again?

o Web services can offer application-components like: currency conversion, weather reports, or even language translation as services.

• Connect existing software.

o Web services can help to solve the interoperability problem by giving different applications a way to link their data.

o With Web services you can exchange data between different applications and different platforms.

Page 9: Introduction to soa  & oracle soa infrastructure

Introduction to XML What is XML?

XML stands for EXtensible Markup Language

XML is a markup language much like HTML

XML was designed to carry data, not to display data

XML tags are not predefined. You must define your own tags

XML is designed to be self-descriptive

XML is a W3C Recommendation

XML is Everywhere

XML is now as important for the Web as HTML was to the foundation of the Web.

XML is the most common tool for data transmissions between all sorts of applications.

Page 10: Introduction to soa  & oracle soa infrastructure

xml XML Does Not DO Anything

Maybe it is a little hard to understand, but XML does not DO anything. XML was created to structure, store, and transport information.

The following example is a note to Tove, from Jani, stored as XML:

<note> <to>Tove</to> <from>Jani</from> <heading>Reminder</heading> <body>Don't forget me this weekend!</body> </note>

Page 11: Introduction to soa  & oracle soa infrastructure

Introduction to XSD XSD (XML Schema Definition), a Recommendation of the World Wide Web Consortium (W3C), specifies

how to formally describe the elements in an Extensible Markup Language (XML) document. This description can be used to verify that each item of content in a document

Page 12: Introduction to soa  & oracle soa infrastructure

Example of XSD Schema XML Schema Example

<?xml version="1.0"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="note"> <xs:complexType> <xs:sequence> <xs:element name="to" type="xs:string"/> <xs:element name="from" type="xs:string"/> <xs:element name="heading" type="xs:string"/> <xs:element name="body" type="xs:string"/> </xs:sequence> </xs:complexType> </xs:element> </xs:schema>

Page 13: Introduction to soa  & oracle soa infrastructure

Introduction to XSLT XSL stands for EXtensible Stylesheet Language, and is a style sheet language for XML documents.

XSLT stands for XSL Transformations.

Page 14: Introduction to soa  & oracle soa infrastructure

Xslt example XSLT Example <?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/"> <html> <body> <h2>My CD Collection</h2> <table border="1"> <tr bgcolor="#9acd32"> <th>Title</th> <th>Artist</th> </tr> <xsl:for-each select="catalog/cd"> <tr> <td><xsl:value-of select="title"/></td> <td><xsl:value-of select="artist"/></td> </tr> </xsl:for-each> </table> </body> </html> </xsl:template> </xsl:stylesheet>

Page 15: Introduction to soa  & oracle soa infrastructure

Xslt Mapper

• Visual XSLT Mapping tool

• Caching and configurable validation

• Unit Debugger

• Code Conversions/Lookups

• Dictionaries for “Smart” mapping

• BPEL, ESB, PeopleSoft Tools

FUNCTIONALITY

Page 16: Introduction to soa  & oracle soa infrastructure

Components in Oracle SOA Suite Oracle SOA Suite

o BPEL

o ESB

o Business Rules

o Human Workflow

o OWSM

o Adapters

JDeveloper

Oracle SOA Suite is unique in that it provides the following set of capabilities

o Messaging

o Service discovery

o Orchestration

o Activity monitoring

o Web services management and security

o Business rules

o Events framework

Page 17: Introduction to soa  & oracle soa infrastructure

SOA Building Blocks

WSDL/WSIF

XML/XML Schema

SOAP JCA JMS

BUSINESS SERVICES

More Interoperable

Packaged & Legacy

Custom Apps & Services

B2B

PROCESS ORCHESTRATION

PORTAL JSR-168

USER INTERFACE

Struts/JSF

Portal

Web Application

API

WS

Richer Experience

PKI Dashboards

BAM

MONITORING

JMX

Optimize

WS-Security

SERVICE BUS

Security Reliability Logging Failover

Dynamic Routing

WS-Policy, SAML

Web Services Mgmt

Secure Transport

Process Flow Logic

XSLT/XQuery

BPEL

Business Agility

Business Rules

ORCHESTRATE

Page 18: Introduction to soa  & oracle soa infrastructure

Basic Components of a SOA Infrastructure

ESB

Route & Transform ESB

Connect ADAPTERS

WEB SERVICE

WEB SERVICE

WEB SERVICE

LEGACY SYSTEM

LEGACY SYSTEM

Build/re-use Services WEB or LEGACY SERVICES

Secure GLOBAL SECURITY FRAMEWORK

RULES ENGINE

Externalize business rules RULES ENGINE

IF

IF

BPEL

Orchestrate BPEL/BPM ENGINE HUMAN

WORKFLOW

Involve human beings HUMAN WORKFLOW