Abstract
An increasing number of distributed applications will be written for mobilehosts, such as laptop computers, third generation mobile phones, personaldigital assistants, watches and the like. Application engineers have to dealwith a new set of problems caused by mobility, such as low bandwidth, contextchanges or loss of connectivity. During disconnection, users will typicallyupdate local replicas of shared data independently from each other. Theresulting inconsistent replicas need to be reconciled upon re-connection. Tosupport building mobile applications that use both replication andreconciliation over ad-hoc networks, we have designed xmiddle, a mobilecomputing middleware. In this paper we describe xmiddle and show how it usesreflection capabilities to allow application engineers to influencereplication and reconciliation techniques. xmiddle enables the transparentsharing of XML documents across heterogeneous mobile hosts, allowing on-lineand off-line access to data. We describe xmiddle using a collaborativee-shopping case study on mobile clients.
Similar content being viewed by others
References
J. Abraham, H. Le and C. Cedro, “XML Repository in T Spaces and UIA Event Notification Application”, http://www.cse.edu/projects/1998–99/project19, 1999.
I. Alphaworks, “SML TreeDiff”, http://www.alphaworks.ibm.com/tech/xmltreediff, 1998.
V. Apparao, S. Byrne, M. Champion, S. Isaacs, I. Jacobs, A.L. Hors, G. Nicol, J. Robie, R. Sutor, C. Wilson and L. Wood, “Document Object Model (DOM) Level 1 Specification”, W3C Recommendation http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001, World Wide Web Consortium, 1998.
K. Arnold, B. O Sullivan, R.W. Scheifler, J. Waldo and A. Wollrath, The Jini[tm] Specification, Addison-Wesley, 1999.
K.P. Birman, Building Secure and Reliable Network Applications, Manning Publishing, 1997.
T. Bray, J. Paoli and C.M. Sperberg-McQueen, “Extensible Markup Language”, Recommendation http://www. w3.org/TR/1998/REC-xml-19980210, World Wide Web Consortium, 1998.
G. Cabri, L. Leonardi and F. Zambonelli, “Reactive Tuple Spaces for Mobile Agent Coordination”, in Proceedings of the 2nd International Workshop on Mobile Agents (MA 98), Springer, 1998.
G. Cabri, L. Leonardi and F. Zambonelli, “SML Dataspaces for Mobile Agent Coordination”, in Proceedings of the 2000 ACM Symposium on Applied Computing (SAC 2000), Como, Italy, ACM Press, 2000.
L. Capra, W. Emmerich and C. Mascolo, “Middleware for Mobile Computing: Awareness vs. Transparency (position paper)”, in Int. 8th Workshop on Hot Topics in Operating Systems, 2001.
J. Clark and S. DeRose, “XML Path Language (XPath)”, Technical Report, http://www.w3.org/TR/xpath, World Wide Web Consortium, 1999.
N. Davies, S.P. Wade, A. Friday and G.S. Blair, “Limbo: A Tuple Space Based Platform for Adaptive Mobile Applications”, in Proceedings of the International Conference on Open Distributed Processing/Distributed Platforms (ICODP/ICDP 97), pp. 291–302, 1997.
F. Eliassen, A. Andersen, G.S. Blair, F. Costa, G. Coulson, V. Goebel, O. Hansen, T. Kristensen, T. Plagemann, H.O. Rafaelsen, K.B. Soikoski and W. Yu, “Next Generation Middleware: Requirements, Architecture and Prototypes”, in Proceedings of the 7th IEEE Workshop on Future Trends in Distributed Computing Systems, IEEE Computer Society Press, pp. 60–65, 1999.
W. Emmerich, Engineering Distributed Objects, John Wiley & Sons, 2000.
D.C. Fallside, “XML Schema”, Technical Report, http://www.w3.org/TR/xmlschema-0/, World Wide Web Consortium, 2000.
E. Freeman, S. Hupfer and K. Arnold, JavaSpaces[tm] Principles, Patterns, and Practice, Addison-Wesley, 1999.
D. Gelernter, “Generative Communication in Linda”, ACM Transactions on Programming Languages and Systems, Vol. 7, No. 1, pp. 80–112, 1985.
IBM, “T Spaces”, http://almaden.ibm.com/cs/TSpaces.
T. Imielinski and B.R. Badrinath, “Mobile Wireless Computing: Challenges in Data Management”, Communications of the ACM, Vol. 37, No. 10, pp. 18–28, 1994.
L. Capra, W. Emmerich and C. Mascolo, “Reflective Middleware Solutions for Context-Aware Application”, in 3rd International Conference on Metalevel Architectures and Separation of Crosscutting Concerns (Reflection 01), 2001, to appear.
C. Mascolo, L. Zanolin and W. Emmerich, “XMILE: an XML Based Approach for Incremental Code Mobility and Update”, Automated Software Engineering, 2001, to appear.
R. Mettala, “Bluetooth Protocol Architecture”, http://www.bluetooth.com/developer/whitepaper/, 1999.
A.L. Murphy, G.P. Picco and G.-C. Roman, “LIME: A Middleware for Physical and Logical Mobility”, in Proceedings of the 21st International Conference on Distributed Computing Systems (ICDCS-21), 2001.
P. Cederqvist et al., “Version Management with CVS”, 1992.
K. Petersen, M.J. Spreitzer, D.B. Terry, M.M. Theimer and A.J. Demers, “Flexible Update Propagation for Weakly Consistent Replication”, in Proceedings of the 16th ACM Symposium on Operating Systems Principles (SOSP-16), ACM Press, pp. 288–301, 1997.
M. Satyanarayanan, “Mobile Information Access”, IEEE Personal Communications, Vol. 3, No. 1, 1996.
M. Satyanarayanan, J. Kistler, P. Kumar, M. Okasaki, E. Siegel and D. Steere, “Coda, A Highly Available File System for a Distributed Workstation Environment”, IEEE Transactions on Computers, Vol. 39, No. 4, 1990.
M. Shapiro, A. Rowstron and A. Kermarrec, “Application-Independent Reconciliation for Nomadic Applications”, in Proceedings of European Workshop: “Beyond the PC: New Challenges for the Operating System”, Kolding: Denmmark, SIGOPS, 2000.
SyncML, “Building an Industry-Wide Mobile Data Synchronization Protocol”, http://www.syncml.org/ technical.htm, 2000.
K. Tai, “The Tree-to-Tree Correction Problem”, Journal of the ACM, Vol. 29, No. 3, 422–433.
L. Technologies, “WaveLan”, http://www.wavelan.com, 2000.
W.F. Tichy, “RCS – A System for Version Control”, Software – Practice and Experience, Vol. 15, No. 7, pp. 637–654, 1985. M. v. Steen, P. Homburg and A.S. Tanenbaum, “Globe: A Wide-Area Distributed System”, IEEE Concurrency, pp. 70–78, 1999.
Author information
Authors and Affiliations
Rights and permissions
About this article
Cite this article
Mascolo, C., Capra, L., Zachariadis, S. et al. XMIDDLE: A Data-Sharing Middleware for Mobile Computing. Wireless Personal Communications 21, 77–103 (2002). https://doi.org/10.1023/A:1015584805733
Issue Date:
DOI: https://doi.org/10.1023/A:1015584805733