conversation management protocol in weblogic integration
TRANSCRIPT
8/13/2019 Conversation Management Protocol in WebLogic Integration
http://slidepdf.com/reader/full/conversation-management-protocol-in-weblogic-integration 1/11
• • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • •
Conversation Management Protocol
in
WebLogic Integration
October 15, 2001
Sanjay Dalal ([email protected])
BEA Systems, Inc.
8/13/2019 Conversation Management Protocol in WebLogic Integration
http://slidepdf.com/reader/full/conversation-management-protocol-in-weblogic-integration 2/11
• • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • •
1/16/2014 2
Outline
• Business Transactions over the Web
• Conversation Management Protocol of WebLogic
Integration
8/13/2019 Conversation Management Protocol in WebLogic Integration
http://slidepdf.com/reader/full/conversation-management-protocol-in-weblogic-integration 3/11
• • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • •
1/16/2014 3
Supply ChainBusiness Transaction Example
Check
product
price
Place
Order
Arrange
shipping
Commit
Manufacturer Supplier
Send
product
price
Wait
for order
Book order
Check
truck
schedule
Reserve
shipping
Decline
customer
Shipper
Business message
Time
Send
Invoice
Wait
for Invoice
8/13/2019 Conversation Management Protocol in WebLogic Integration
http://slidepdf.com/reader/full/conversation-management-protocol-in-weblogic-integration 4/11
• • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • •
1/16/2014 4
Characteristics ofBusiness Transactions on the Web
• Comprised of complex business processes
– Span multiple enterprises (trading partners)
– Modeled as agreed upon processes within the context of
trading partner agreements
– Long running (minutes, hours, days,…)
– Consists of multiple business message exchanges
– Uses unreliable communication channel: HTTP/S
• Global business transaction is dependent on the outcome of
many local transactions – Isolation is relaxed, compensation preferred over rollback
8/13/2019 Conversation Management Protocol in WebLogic Integration
http://slidepdf.com/reader/full/conversation-management-protocol-in-weblogic-integration 5/11
• • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • •
1/16/2014 5
Requirements for protocol
• Management/coordination of long-running business
transactions across business processes of different
trading partners
• Reliable business transaction management(coordination) protocol over the Web
– Outcome is reliably conveyed to all participants
• Survive network and node failures
• Efficient protocol (less number of messages) over theweb
->>>Conversation Management Protocol (CMP)
8/13/2019 Conversation Management Protocol in WebLogic Integration
http://slidepdf.com/reader/full/conversation-management-protocol-in-weblogic-integration 6/11
8/13/2019 Conversation Management Protocol in WebLogic Integration
http://slidepdf.com/reader/full/conversation-management-protocol-in-weblogic-integration 7/11
• • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • •
1/16/2014 7
Conversation Lifecycle
• Start a conversation
• Send message in a conversation
• Receive message in a conversation
– Implicitly join a conversation
• Leave conversation
• Terminate a conversation
– Success
– Failure
– Timeout
8/13/2019 Conversation Management Protocol in WebLogic Integration
http://slidepdf.com/reader/full/conversation-management-protocol-in-weblogic-integration 8/11
• • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • •
1/16/2014 8
Conversation Lifecycle
Initiator Participant Subordinate Coordinator Main
Coordinator
4: receive business message 5: enlist participant
10: Conversation terminated
3: send message
7: enlist subordinate 9: terminate conversation
11: Conversation terminated
coordinator
1: create conversation
2: send message
8: terminate conversation
12: Conversation terminated
6: register
8/13/2019 Conversation Management Protocol in WebLogic Integration
http://slidepdf.com/reader/full/conversation-management-protocol-in-weblogic-integration 9/11
• • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • •
1/16/2014 9
Roles
• Initiator
– Initiator is a trading partner, who creates the conversation
– Sends the first business message
– Terminates the conversation
• Participant – Participant is a trading partner who is enlisted in the conversation
when it receives the first business message inside the conversation
– Can leave the conversation
• Coordinator
– Main coordinator• Maintains a list of subordinate coordinators
• Drives termination protocol
– Subordinate coordinator
• Maintains a list of participants
• Participates in the termination protocol
8/13/2019 Conversation Management Protocol in WebLogic Integration
http://slidepdf.com/reader/full/conversation-management-protocol-in-weblogic-integration 10/11
• • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • •
1/16/2014 10
Summary
• Advantages
– Simple protocol
• Less number of
messages
• Fewer roles
– Suitable where single
party dictates outcome of
a transaction, e.g.
public/private exchanges
•Missing
– Vote from participants
– Explicit contracts
• Implicit prepare
• Implicit enlist/enrol
– Initiator does not “see”
status (in or out of
transaction) of participant
8/13/2019 Conversation Management Protocol in WebLogic Integration
http://slidepdf.com/reader/full/conversation-management-protocol-in-weblogic-integration 11/11
• • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • •
1/16/2014 11
Status
• Available in WebLogic Integration product
(http://edocs.bea.com/wlintegration/v2_1/)
• Accepted by OASIS Business Transaction
Committee (http://www.oasis-open.org/committees/business-
transactions/) on March 8, 2001 as proposal from BEA – http://lists.oasis-open.org/archives/business-
transaction/200103/zip00000.zip
• Note: The name of the protocol was changed from
“Conversation Management Protocol” to “BusinessTransaction Protocol” in the proposal.