- Back to Home »
- SOA »
- SOA Architecture
What is Middleware?
nA software that helps disparate and
distributed applications to collaborate with each other
nHelps leverage the best-of-breed products
nCompanies can get more ROI by being able to
reuse
nSOA is the hottest middleware strategy till date. Examples:
qBPEL, OSB
What is SOA?
“Next big thing ??”,
you would wonder, “Can you
tell me more? What is SOA all about?”
What is Service-Orientated Architecture?
nNot a technology or product, more a design
approach
n
nSOA is an architectural style which helps in
building connected enterprise applications to provide solutions to business
problems. By following SOA, enterprise applications modules can be exposed as
web services which helps in easy integration and can be reused.
n
n“Services” are
qAtomic, do not depend on other services run beforehand
qTechnology and implementation neutral - J2EE, .NET, PL/SQL
qPublished in directories so that they can be discovered and
reused !
q
nAs an architectural style, SOA promotes loose coupling,
interoperability assembling of applications from existing processes
nFrom customer's perspective it's about integrating different systems to
helps IT deliver solutions that are flexible à Can adapt to changing
markets, increasing competitive pressures and evolving customer needs
n
nServices can exchange data using a common
platform (OSB) or can be orchestrated using declarative language (BPEL)
n
Architecture for Oracle Fusion ApplicationsWhat’s the Big Deal?
“Okay. SOA proposes an
application design consisting of weaving together of multiple services”, you would say, “But what’s so great about
this S-O-A?”
Why SOA
Makes Sense:
Technical Benefits
Technical Benefits
nBuilding business processes is faster and
cheaper:
qExisting services can more easily
be reused
qApps can expose their services in
a standard way
nApplications can be exposed more easily to
diverse clients:
qWindows clients, ASP.NET/JSP,
PL/SQL, Java etc.
nApplications can adapt to change
Why SOA
Makes Sense:
Business Benefits
Business Benefits
nBusiness people understand services
qSo IT people can talk with them more easily
nApplications or business processes might be
more easily outsourced
qBecause they’re well-defined and discrete
nSolutions are cheaper to build
qReuse = Reduce cost
qLoose coupling = Less impact for any change = Less time to
spend changing code due to requirement change
Proof ?
n“Well, this definitely sounds good … but can you show where
SOA has been applied in real world ?”
SOA Application Examples in the real world
nData/Apps Integration
qFile to DB (Inbound Interface)
qInformation syncing from Oracle EBS to Siebel, PeopleSoft to JDEdwards
nProcess Portal
qParallel data processing
qContent publishing
nWorkflow
qDocument Approval
qLeave Application
nModern Web Applications
qInternet Banking
qContract Management
qNew Employee Hire
nBusiness Process Management
qP2P, O2C
qMedicare Eligibility Determination and Enrollment
SOA Application Examples in the real world – Inbound Interface Design
nI want to transfer
data from legacy system that produces csv output to a database.
nUse
a file adapter to easily read a file.
You can also specify the frequency to poll for the file, file name
pattern, archive the file after reading and so on.
nWe
can validate
the data before inserting – verify all the fields conform to a xml schema
nWe
can enrich
the data before inserting.
nWe
can perform routing to
different locations - write rules to decide whether to insert the data or not,
or to insert in some other DB or create another file
SOA Application Examples in the real world – Information syncing
nI capture item
information in an Item Management System.
However, once the item is entered, this information needs to go to
Oracle EBS. Another division wants this
information delivered to them in their FTP site
nUse
Adapter to listen to
Item Management System’s Item table. Whenever a record is entered, the SOA
application is started and this data is sent to the specified location. If tomorrow, I want to send it to one more
system, I can do it with minimal effort
SOA Application Examples in the real world - Parallel Data Retrieval
nI want to invite bids
for RFQ sent to suppliers. Can I send
the RFQ to multiple suppliers in parallel, and then wait for each of the
responses
nUse parallel processing capabilities of BPEL. BPEL provides a construct called FlowN using which you can spawn as many parallel flows as required, on the fly!
SOA Application Examples in the real world – Document Approval
nOnce a PO is created,
it needs to be approved
nApproval
depends upon PO Amount. If amount is
greater than USD10,000, it needs 3 levels of approval else only 2 levels
nThe
approvers must be managers of the person submitting.
nIf
the approval is not obtained in 2 days, the issue should be escalated to next
manager
nAny
document that contains a line item belonging to IT category must be sent as an
FYI to the IT department
nIt
should be possible to utilize different voting schemes – first approver wins,
majority or consensus
nUse BPEL to orchestrate human task, business rules to achieve this.
SOA Application Examples in the real world - New Employee Hire
nFor a new joinee, we need to
nRaise request in access provisioning system for
email, VPN etc
nSend filled PDF form for AMEX card
nUpdate HR tables
nSend email to Sodexho team
nUse BPEL to bind these different system and come up with an
application. Identify things that can be
done in parallel.
SOA Application Examples in the real world – Order to Cash
nI want to develop O2C cycle. We have following requirements to be met
qOrders come from a web portal
qOrder data is stored in Oracle EBS
qCustomer credit rating information comes from bank
qCustomer Data accessible using an EJB
qPO Approval can be manual or automated.
qRFQ needs to be sent to various shipping companies and lowest
quote should be selected
qCustomer must be sent an email and SMS upon Order fulfillment
nUse BPEL to bind these different system and come up with an end-to-end
system.
Market Value
nMarket
value is directly proportional to the number of potential applications
nMarket
value is inversely proportional to number of professionals
nIn current times, its only your knowledge of new things that
can sail you through
nPaucity
of quality training
nWhich is good! Because
it means less competition
nIntegration
solutions
nVendor specific – TIBCO, JCAPS
nOpen standard – Oracle SOA
nWith
Oracle emerging as the leader in Apps, Oracle SOA has a secure future
“hmm…sounds interesting..
So, what do I need to know
technically?”
Pre-requisites
nTechnology wise
qBasic understanding of XML, XSL, XSD
qCore Java knowledge a plus
q
nExcellent career option for
qPeople familiar with Oracle Apps, Peoplesoft, Siebel
qJava, .NET developers
qWeb developers
qSun JCaps, TIBCO, EAI
Communication among systems
Communication among consumers and providers
or services typically happens in heterogeneous environments, with little or no
knowledge about the provider.
Services exchange information through
messages.
nWhen communication happens, the message
coming from one system can be different from the message expected by the other
system. We need a way to convert or transform the message from one to the other
nMessages can be received through any protocol
such as HTTP(s), JMS, File , and may require to be sent using same or different
protocol. So we need a way to transform from one protocol
to the other
nWe may require the same message to be sent or
routed to multiple targets.
nIn comes “Service Bus” – it can do routing,
message transformation, protocol transformation and more
OSB
OSB
analogy
Orchestration of Services
nOrchestration of services is required when
there is a requirement to combine existing services into new services.
nSolution should allow assembling a set of
discrete services into an end-to-end process relatively easily
(development-wise and conceptually).
nThere is a solution - BPEL
Business Process Execution Language BPEL
nBPEL:
qIs a technology to create a
program that can invoke web services
qIt presents a very intuitive
flow-chart type representation that can be easily understood and modified
nMore technically, it is a markup
language for composing a set of discrete services into an end-to-end process
flow
qBPEL Process is a web service,
hence has a WSDL document that describes its operation
qinvokes operations described in
interfaces in the WSDL of other services.
BPEL
Example – Internet Banking
Can services be created for
EVERY conceivable system in this world
Yes
How do I create a service out of a database ?
Use “Adapters”
Some of the Adapters Available for
Oracle SOA Suite…Oracle SOA Suite
nProvides
“components” for designing, deploying, and managing “composite applications”.
q“Composites”
enable you to easily assemble multiple technology components into one SOA
composite application
q“Components”
nBPEL
nOSB
nMediator
nHuman Workflow
nBusiness rules
nAdapters (FTP, DB, AQ, JMS, MQ, Apps, Siebel, PSFT…)
nBAM, ODI
Thank you