Documente Academic
Documente Profesional
Documente Cultură
3
1 Bank
Broker
3
Customer 2 3
Bank
Bank
From: “Enterprise Integration Patterns” by
Credit Bureau
Hohpe and Woolf.
Copyright 2006 SYSNET International, Inc. 9
Service Oriented Architecture
Service Oriented Architecture (SOA)
The definition of services that encapsulate reusable
business function
The use of explicit implementation independent interfaces
to define services
Loosely coupled; services are independent of other
services
Services are registered in a directory service so that they
can be located during design or runtime
Service definition is not dependent on transport protocol
used to access it
Service can be used in a location/platform/technology
agnostic approach
Consumer
3 : Bind 2 : Find
Provider Registry
1 : Register
Composite
Application
SOAP header
SOAP block
SOAP block
SOAP body
SOAP block
SOAP block
getQuote(String symbol)
HTTP
Requests
Server Stubs
WSDL
Platform Tools
Server Impl.
WSDL Invoke
WSDL
Query Query
Invoke
WSDL
UDDI Server
Composite
Application
Composite
Application
<wsa:EndpointReference
xmlns:wsa="http://www.w3.org/2005/03/addressing">
<wsa:Address>http://example.com/fabrikam/acct</wsa:Address>
</wsa:EndpointReference>
Application Application
Source Source
Send Delivery
RM Source RM Destination
Transmit Acknowledge Receive
<wsrm:SequenceAcknowledgement>
<wsu:Identifier>
http://fabrikam123.com/abc
</wsu:Identifier>
<wsrm:AcknowledgementRange Upper="2" Lower="1"/>
<wsrm:AcknowledgementRange Upper="6" Lower="4"/>
<wsrm:AcknowledgementRange Upper="10" Lower="8"/>
</wsrm:SequenceAcknowledgement>
Response
<wsrm:CreateSequenceResponse ...>
<wsu:Identifier> [URI] </wsu:Identifier>
...
</wsrm:CreateSequenceResponse>
Copyright 2006 SYSNET International, Inc. 54
Sequence Termination
<wsrm:TerminateSequence ...>
<wsu:Identifier> [URI] </wsu:Identifier>
...
</wsrm:TerminateSequence>
Hertz Car
Reservations
Hotel
Reservations
3
1 BPEL Bank
Process 3
Customer 2 3
Bank
Bank
Credit Bureau
implementation
Pattern Classification
Messaging Systems: basic concepts in integration with messaging
Messaging Channels: describe channels used for integration
Message Construction: describe message types and intent
Message Routing: describes provision of routing and brokering
Message Transformation: variations of message translator
Messaging Endpoints: connecting to and from the messaging system
System Management: management of the integration infrastructure
Copyright 2006 SYSNET International, Inc. 72
Sample EI Patterns
Messaging Channels
Datatype Channel: all
messages on a given channel
are of the same type
Invalid Message Channel:
what to do about invalid
messages.
Dead Letter Channel: what
to do about undeliverable
messages.
Recipient List
Data Enricher
Customer Endpoint
Lender
Service
Credit Agency
Gateway
Bank 1
Banking
Gateway
Bank 2
Loan Broker
Bank n