Business Transaction Management Software for Application Coordination All current ws-bpel usage scenarios want BTM… EAN.UCC Simple-EB explicitly calls for 5 Business Transactions. CPFR (Collaborative Planning, Forecasting and Replenishment) requires several EDI transactions. Not full business transactions in the sense we are discussing here, but lack of transactional integrity was an issue in UCC-sponsored interoperability test RosettaNet PIPs (Partner Interface Processes) are business transactions.
Business Transaction Management Software for Application Coordination Excerpt from Simple-EB… > Place Order Order [ACCEPTED] > Provide Despatch Advice > Request Payment Despatch Advice [RECEIVED] Order [FULFILLED] Payment [RECEIVED]
Business Transaction Management Software for Application Coordination Excerpt from Simple-EB… > Place Order Order [ACCEPTED] > Provide Despatch Advice > Request Payment Despatch Advice [RECEIVED] Order [FULFILLED] Payment [RECEIVED] Each of these are Business Transactions
Business Transaction Management Software for Application Coordination Excerpt from Simple-EB… > Place Order Order [ACCEPTED] > Provide Despatch Advice > Request Payment Despatch Advice [RECEIVED] Order [FULFILLED] Payment [RECEIVED] Each transaction changes the state of the order for both parties.
Business Transaction Management Software for Application Coordination Excerpt from Simple-EB… > Place Order Order [ACCEPTED] > Provide Despatch Advice > Request Payment Despatch Advice [RECEIVED] Order [FULFILLED] Payment [RECEIVED] An order is a legal contract… …every change to a contract requires agreement from both parties.
Business Transaction Management Software for Application Coordination Excerpt from Simple-EB… > Place Order Order [ACCEPTED] > Provide Despatch Advice > Request Payment Despatch Advice [RECEIVED] Order [FULFILLED] Payment [RECEIVED] Unilateral compensation is not an appropriate undo mechanism… …a separate canceling transaction is better.
Business Transaction Management Software for Application Coordination Other common usage scenarios that want BTM… Any kind of economic exchange between trading partners Any critical interaction between independent agents Customer self-service Many internal scenarios, e.g: resource allocation resource exchanges between peers coordinated updates to multiple applications
Business Transaction Management Software for Application Coordination ws-choreography use cases that want BTM.. D-UC Travel agent D-UC-004- Alternative paths based on business rules (It's an order-to-cash cycle and requires at least 3 transactions.) D-UC Exception Handling Across Domains of Control D- UC Choreography Dependency D- UC Quote Request (especially if extended to accept quote and order quoted products) D-UC Interconnection of Document Management Systems (would be much better with transactions than reliable messaging) D- UC-11 _ Supporting collaboration
Business Transaction Management Software for Application Coordination UN/CEFACT BCF Business Transactions… Protocol very similar to RosettaNet UN/CEFACT Modeling Methodology (UMM) used by EAN.UCC to define Simple-EB Protocol mapped to OASIS BTP in: UN/CEFACT: “ Agreed that this is a valid solution for a UMM implementation complementing the work we are doing within the BCP team.”
Business Transaction Management Software for Application Coordination Problems with order compensation… Indeterminate closure: A compensation can fire because of compensations or faults in surrounding scopes. “pulling the rug out from under the order” When are the trading partners really committed? I.e. when is it safe to ship the goods? Unilateral undo (compensation is not a business agreement protocol): One party can invoke a compensation without redress from the counterparty... …nor a way to undo a compensation gone wrong. “No compensation for a compensation”.
Business Transaction Management Software for Application Coordination Transactions + Compensations… Previous problems related to compensations without transactions. Compensations within transactions are OK: Transaction completion provides closure. Compensations of transactions not OK: To undo a transaction requires another transaction.
Business Transaction Management Software for Application Coordination Generalization… Compensation was designed, and is appropriate, for internal workflow activities. Business transactions are better for economic exchanges between trading partners. Compensation within transaction = OK.