Building Reflective Mobile Middleware Framework on Top of the OSGi Platform

  • Gábor Paller
Part of the Lecture Notes in Computer Science book series (LNCS, volume 4039)


The literature on mobile middleware is extensive. Numerous aspects of the mobility’s effect on middleware have been analysed and the amount of previous work allowed to identify the most important patterns. Although the notion of “most important middleware” depends on the application supported by the middleware, there are traits that can be discovered in most of the connected mobile applications. Based on the experience of several authors, these traits are context-awareness, reflectivity, support for off-line operation and asynchronous (message-based) communication.

This paper presents a mobile middleware system built to support these patterns and demonstrates, how the OSGi service platform can be used to realize these patterns. It will be demonstrated that although OSGi was built to support manageability requirements, the resulting platform is suitable for implementing the 4 major middleware patterns too. The paper presents the components of this context-aware, reflective middleware framework and evaluates its footprint.


Component Network Context Element Queue Manager Tuple Space Remote Procedure Call 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Mascolo, C., Capra, L., Emmerich, W.: Mobile Computing Middleware. In: Gregori, E., Anastasi, G., Basagni, S. (eds.) NETWORKING 2002. LNCS, vol. 2497, pp. 20–58. Springer, Heidelberg (2002)CrossRefGoogle Scholar
  2. 2.
    Gaddah, A., Kunz, T.: A Survey of Middleware Paradigms for Mobile Computing. Carleton University, Systems and Computer Engineering, Technical Report SCE-03-16 (July 2003)Google Scholar
  3. 3.
    Paller, G.: Framework for Dynamic and Automatic Connectivity in Hierarchical Component Environments. In: Fractal Workshop, Middleware 2005 conference, Grenoble, France (November 2005)Google Scholar
  4. 4.
    Chen, G., Kotz, D.: Context Aggregation and Dissemination in Ubiquitous Computing Systems. In: Proceedings of the Fourth IEEE Workshop on Mobile Computing Systems and Applications (2002)Google Scholar
  5. 5.
    Chen, G., Kotz, D.: A Survey of Context-Aware Mobile Computing Research, Technical Report: TR2000-381, Dartmouth College, Hanover, NH, USA (2000)Google Scholar
  6. 6.
    Power, R., Lewis, D., O’Sullivan, D., Conlan, O., Wade, V.: A Context Information Service using Ontology-Based Queries. In: First International Workshop on Advanced Context Modelling, Reasoning And Management, UbiComp 2004 (2004)Google Scholar
  7. 7.
    Chen, H., Finin, T., Joshi, A.: An Ontology for Context-Aware Pervasive Computing Environments. Special Issue on Ontologies for Distributed Systems, Knowledge Engineering Review (2003)Google Scholar
  8. 8.
    Agarwal, S., Starobinski, D., Trachtenberg, A.: On the Scalability of Data Synchronization Protocols for PDAs and Mobile Devices. IEEE Network (Special Issue on Scalability in Communication Networks) 16(4), 22–28 (2002)Google Scholar
  9. 9.
    Trachtenberg, A., Starobinski, D., Agarwal, S.: Fast PDA Synchronization Using Characteristic Polynomial Interpolation. In: IEEE Infocom 2002 (2002)Google Scholar
  10. 10.
    Hayton, R., Herbert, A., Donaldson, D.: Flexinet: a flexible, component oriented middleware system. In: Proceedings of the 8th ACM SIGOPS European Workshop: Support for Composing Distributed Applications, September 7-10, 1998, Sintra, Portugal (1998)Google Scholar
  11. 11.
    Blair, G.S., et al.: Reflection, Self-Awareness and Self-Healing in OpenORB. In: Proceedings of the first workshop on Self-healing systems (2002)Google Scholar
  12. 12.
    Cohen, N.H.: A Java Framework for Mobile Data Synchronization. In: Cooperative Information Systems: 7th International Conference (September 2000)Google Scholar
  13. 13.
    Satyanarayanan, M., Kistler, J., Kumar, P., Okasaki, M., Siegel, E., Steere, D.: Coda: A Highly Available File System for a Distributed Workstation Environment. IEEE Transactions on Computers 39(4), 447–459 (1990)CrossRefGoogle Scholar
  14. 14.
    Satyanarayanan, M.: Mobile Information Access. IEEE Personal Communications 3(1) (1996)Google Scholar
  15. 15.
    Picco, G., Murphy, A., Roman, G.: LIME: Linda meets mobility, International Conference on Software Engineering archive. In: Proceedings of the 21st international conference on Software engineering (1999)Google Scholar
  16. 16.
  17. 17.
    Lehman, T., McLaughry, S., Wyckoff, P.: T Spaces: the next wave. IBM Systems Journal 37(3), 454–474 (1998)CrossRefGoogle Scholar
  18. 18.
    Meier, R.: Communication Paradigms for Mobile Computing. ACM SIGMOBILE Mobile Computing and Communications 6(4) (2002)Google Scholar
  19. 19.
    Caporuscio, M., Carzaniga, A., Wolf, A.: Design and Evaluation of a Support Service for Mobile, Wireless Publish/Subscribe Applications. IEEE Transactions on Software Engineering 29(12) (December 2003)Google Scholar
  20. 20.
    Segall, B., Arnold, D.: Elvin has left the building: A publish/subscribe notification service with quenching. In: Proceedings AUUG 1997, September 1997, Brisbane, Australia (1997)Google Scholar
  21. 21.
    Chen, Y., Schwan, K., Zhou, D.: Opportunistic Channels: Mobility-aware Event Delivery. In: Endler, M., Schmidt, D.C. (eds.) Middleware 2003. LNCS, vol. 2672. Springer, Heidelberg (2003)Google Scholar
  22. 22.
    SyncML Data Synchronization Specifications, Version 1.1,
  23. 23.
    Pinto, M., Fuentes, L., Fayad, M.E., Troya, J.M.: Separation of coordination in a dynamic aspect oriented framework. In: Proceedings of the 1st international conference on Aspect-oriented software development, Enschede, The Netherlands (April 2002)Google Scholar
  24. 24.
    Listeners Considered Harmful: The “Whiteboard” Pattern. Technical Whitepaper, OSGi Alliance,

Copyright information

© Springer-Verlag Berlin Heidelberg 2006

Authors and Affiliations

  • Gábor Paller
    • 1
  1. 1.Nokia Research CenterBudapestHungary

Personalised recommendations