170 likes | 184 Views
Middleware Mediated Transactions & Conditional Messaging. Expert Topic ECE1770 Spring 2003 Tim Chen John C Wu Electrical and Computer Engineering University of Toronto. Agenda. John Middleware Mediated Transactions Middleware Mediation Transactions MMT Tim Conditional Messaging
E N D
MiddlewareMediatedTransactions & Conditional Messaging Expert Topic ECE1770 Spring 2003 Tim Chen John C Wu Electrical and Computer Engineering University of Toronto
Agenda • John • Middleware Mediated Transactions • Middleware Mediation • Transactions • MMT • Tim • Conditional Messaging • D-Spheres
Introduction • Middleware Mediated Transactions (MMT) integrate message-oriented transactions and distributed object transactions • Supports reliable and flexible interactions between heterogeneous and autonomous components
Middleware Mediation • Implicit & Explicit Mediation • Component Connection and Interaction • Topology (1:1, 1:n, n:m) • Binding • Life-cycle dependency • Synchronicity • Reliability • Delivery • Processing
Transactions • Database Transactions • Distributed Object Transactions (DOT) • Message-oriented Transactions (MOT)
Middleware Mediated Transactions • Sample Scenarios and Requirements
Middleware Mediated Transactions • Coupling Modes
Service Support for MMT • Dependency-Spheres by IBM Research • X2TS by Darmstadt University of Technology
Traditional Middleware • Object–oriented middleware(OOM) • Software components rendered as distributed object with well defined interface • Message-oriented middleware(MOM) • Components are decoupled and use messages as method of integration • The problem • Distributed transaction across platform, system
Conditional Messaging • Standard Messaging • Conditional Messaging • Extension of standard messaging
Dependency-Spheres(D-Sphere) The purpose of D-Sphere is to enable the integration of existing OOM and MOM D-Sphere provides a intervening layer to enable coordination with messaging D-Sphere messaging model is to provide the minimum requirements to integrate with OOM
Message Receiver Transaction Resource D-Sphere API D-Sphere Management D-Sphere Messaging JTS LRUOW JMS MQ D-Sphere Service Architecture Message Sender Transactional Client Send message Read Message invocation 2PC
D-Sphere Commit Protocol • Acknowledgments • Commit Protocol • Compensation
Non D-Sphere & D-Sphere Solution App1 App2 App1 App2 DS DS Tx1 Tx2 D-Sphere CTx1 CTx2