This Article 
 Bibliographic References 
 Add to: 
Context-Aware Middleware for Resource Management in the Wireless Internet
December 2003 (vol. 29 no. 12)
pp. 1086-1099
Antonio Corradi, IEEE Computer Society

Abstract—The provisioning of Web services over the wireless Internet introduces novel challenging issues for service design and implementation: from user/terminal mobility during service execution, to wide heterogeneity of portable access devices and unpredictable modifications in accessible resources. In this scenario, there are frequent provision-time changes in the context, defined as the logical set of accessible resources depending on client location, access terminal capabilities, and system/service management policies. The development of context-dependent services requires novel middlewares with full context visibility. We propose a middleware for context-aware resource management, called CARMEN, capable of supporting the automatic reconfiguration of wireless Internet services in response to context changes without any intervention on the service logic. CARMEN determines the context on the basis of metadata, which include declarative management policies and profiles for user preferences, terminal capabilities, and resource characteristics. In addition, CARMEN exploits the mobile agent technology to implement mobile middleware components that follow the provision-time movement of clients to support locally their customized service access. The proposed middleware shows how metadata and mobile agents can favor component reusability and automatic service reconfiguration, by reducing the development/deployment complexity.

[1] W. Stallings, Wireless Communications and Networks. Pearson Education, Aug. 2001.
[2] S. Agarwal, A. Agrawala, S. Banerjee, T. Bao, K. Kamel, A. Kochut, C. Kommareddy, R.L. Larsen, T. Nadeem, P. Thakkar, A. Udaya Shankar, A. Youssef, and M. Youssef, Rover: Scalable Location-aware Computing Computer, vol. 35, no. 10, pp. 46-53, Oct. 2002.
[3] M.S. Corson, J.P. Macker, and V.D. Park, Mobile and Wireless Internet Services: Putting the Pieces Together IEEE Comm. Magazine, vol. 39, no. 6, pp. 148-155, June 2001.
[4] IEEE Wireless Comm., Special Section on Context-aware Pervasive Computing, G.D. Abowd, M.R. Ebling, H.-W. Gellersen, H. Lei, G. Hunt, eds., vol. 9, no. 5, Oct. 2002.
[5] A. Fuggetta, G. Picco, and G. Vigna, "Understanding Code Mobility," IEEE Trans. Software Eng., May 1998, pp. 352-361.
[6] L. Bos and S. Leroy, Toward an All-IP-based UMTS System Architecture IEEE Network, vol. 15, no. 1, pp. 36-45, Jan.-Feb. 2001.
[7] G.-C. Roman, G.P. Picco, and A.L. Murphy, Software Engineering for Mobility: A Roadmap Proc. 22nd Int'l Conf. Software Eng. (ICSE '00), pp. 241-258, June 2000.
[8] H. Huber, M. Jarke, M.A. Jeusfeld, H.W. Nissen, and G.V. Zemanek, Managing Multiple Requirements Perspectives with Metamodels IEEE Software, vol. 13, no. 2, pp. 37-48, Mar. 1996.
[9] J. Moffett and M.S. Sloman, “Policy Hierarchies for Distributed System Management,” IEEE JSAC, vol. 11, no. 9, 1993.
[10] S. Avancha, T. Finin, and A. Joshi, Enhanced Service Discovery in Bluetooth Computer, vol. 35, no. 6, pp. 96-99, June 2002.
[11] IETF SVRLOC Working Group Service Location Protocol (SLP), http:/, 2003.
[12] K. Arnold, R. Scheifler, J. Waldo, B. O'Sullivan, and A. Wollrath, Jini Specification. Addison-Wesley, June 1999.
[13] F. Curbera et al., "Unraveling the Web Services Web: An Introduction to SOAP, WSDL, and UDDI," IEEE Internet Computing, vol. 6, no. 2, 2002, pp. 86—93.
[14] R. Riggs, J. Waldo, and A. Wollrath, Java-centric Distributed Computing IEEE Micro, vol. 17, no. 3, pp. 44-53, May-June 1997.
[15] J. Snell, K. MacLeod, D. Tidwell, and P. Kulchenko, Programming Web Services with SOAP. O'Reilly&Assoc., Dec. 2001.
[16] P. Bellavista, A. Corradi, R. Montanari, and C. Stefanelli, Policy-driven Binding to Information Resources in Mobility-enabled Scenarios Proc. Fourth Int'l Conf. Mobile Data Management (MDM '03), Jan. 2003.
[17] IEEE Comm. Magazine, Special Section on Mobile Agents, A. Karmouch, ed., vol. 36, no. 7, July 1998.
[18] F. Eliassen, A. Andersen, G.S. Blair, F. Costa, G. Coulson, V. Goebel, Ø. Hansen, T. Kristensen, T. Plagemann, H.O. Rafaelsen, K.B. Saikoski, and W. Yu, Next Generation Middleware: Requirements, Architecture and Prototypes Proc. Seventh IEEE Workshop Future Trends in Distributed Computing Systems (FTDCS '99), pp. 60-65, 1999.
[19] P. Bellavista, A. Corradi,, and C. Stefanelli,"The Ubiquitous Provisioning of Internet Services to Portable Devices," IEEE Pervasive Computing, vol. 1, no. 3, 2002, pp. 81-87.
[20] P. Bellavista, A. Corradi,, and C. Stefanelli,"Mobile Agent Middleware for Mobile Computing," Computer, vol. 34, no. 3, 2001, pp. 73-81.
[21] W3 Consortium Composite Capability/Preference Profiles (CC/PP),http://www.w3.orgMobile, 2003.
[22] S. Decker, P. Mitra, and S. Melnik, Framework for the Semantic Web: an RDF Tutorial IEEE Internet Computing, vol. 4, no. 6, pp. 68-73, Nov.-Dec. 2000.
[23] C.E. Ortiz and E. Giguere, Mobile Information Device Profile for Java 2 Micro Edition (J2ME): Professional Developer's Guide. Wiley, Dec. 2001.
[24] Imperial College Ponder, ponder.shtml, 2003.
[25] R. Montanari, C. Stefanelli, and N. Dulay, Flexible Security Policies for Mobile Agent Systems Microprocessors and Microsystems, vol. 25, no. 2, pp. 93-99, May 2001.
[26] P. Bellavista, A. Corradi, and C. Stefanelli, Java for On-line Distributed Monitoring of Heterogeneous Systems and Services The Computer Journal, vol. 45, no. 6, pp. 595-607, Nov. 2002.
[27] Cisco Systems Cisco Aironet 350 Series, ps458index.html, 2003.
[28] Teleca AB Bluetooth Local Infotainment Point (BLIP),http:/, 2003.
[29] Ericsson Bluetooth Application and Training Tool Kit,, 2003.
[30] J.S. Poulin, Measuring Software Reuse: Principles, Practice and Economic Models. Addison Wesley, 1997.
[31] M. Morisio, D. Romano, and I. Stamelos, Quality, Productivity, and Learning in Framework-Based Development: an Explanatory Case Study IEEE Trans. Software Eng., vol. 28, no. 9, pp. 876-888, Sept. 2002.
[32] C. Mascolo, L. Capra, and W. Emmerich, Middleware for Mobile Computing Networking 2002 Tutorial Papers, LNCS 2497, pp. 20-58, Nov. 2002.
[33] N. Davies and H.-W. Gellersen, Beyond Prototypes: Challenges in Deploying Ubiquitous Systems IEEE Pervasive Computing, vol. 1, no. 1, pp. 26-35, Jan.-Mar. 2002.
[34] J.A. Moura, J.M. Oliveira, E. Carrapatoso, and R. Roque, Service Provision and Resource Discovery in the VESPER VHE Proc. IEEE Int'l Conf. Comm. (ICC '02), Apr. 2002.
[35] S. Agarwal, D. Starobinski, and A. Trachtenberg, On the Scalability of Data Synchronization Protocols for PDAs and Mobile Devices IEEE Network, vol. 16, no. 4, pp. 22-28, July-Aug. 2002.
[36] D.C.A. Bulterman, SMIL 2.0.2. Examples and Comparisons IEEE Multimedia, vol. 9, no. 1, pp. 74-84, Jan.-Mar. 2002.
[37] D. Johansen, K.J. Lauvset, and K. Marzullo, Factoring Mobile Agents Proc. IEEE Int'l Conf. Eng. Computer-Based Systems (ECBS '02), pp. 253-257, 2002.
[38] O. Holder, I. Ben-Shaul, and H. Gazit, Dynamic Layout of Distributed Applications in FarGo Proc. 21st Int'l Conf. Software Eng. (ICSE '99), pp. 163-173, 1999.
[39] E. Barr, M. Huangs, and R. Pandey, MAGE: a Distributed Programming Model Proc. 21st IEEE Int'l Conf. Distributed Computing Systems (ICDCS '01), pp. 303-312, 2001.
[40] R. Litiu and A. Prakash, DACIA: A Mobile Component Framework for Building Adaptive Distributed Applications Proc. Int'l Middleware Symp. Principles of Distributed Computing (PODC '00), July 2000.
[41] T. Ledoux and N.M.N. Bouraqadi-Saâdani, Adaptability in Mobile Agent Systems using Reflection Proc. Int'l Workshop Reflective Middleware in Middleware '00, Apr. 2000.
[42] E. Tanter and J. Piquer,"Managing References upon Object Migration: Applying Separation of Concerns," 21st Int'l Conf. Chilean Computer Science Soc. (SCCC'01), IEEE Press, 2001, pp. 264-272.
[43] T. Yoshimura, T. Ohya, T. Kawahara, and M. Etoh, Rate and Robustness Control with RTP Monitoring Agent for Mobile Multimedia Streaming Proc. IEEE Int'l Conf. Comm. (ICC '02), Apr. 2002.
[44] T. Yoshimura, Y. Yonemoto, T. Ohya, M. Etoh, and S. Wee, Mobile Streaming Media CDN Enabled by Dynamic SMIL Proc. 11th Int'l World Wide Web Conf. (WWW '02), May 2002.
[45] E. Kovacs, K. Rohrle, and M. Reich, Integrating Mobile Agents into the Mobile Middleware Proc. Mobile Agents Int'l Workshop (MA '98), 1998.
[46] D. Kotz et al., "Agent TCL: Targeting the Needs of Mobile Computers," IEEE Internet Computing, vol. 1, no. 4, July-Aug. 1997, pp. 58-67.
[47] S. Lipperts and A. Park, An Agent-based Middleware: a Solution for Terminal and User Mobility Computer Networks, vol. 31, pp. 2053-2062, Sept. 1999.
[48] IKV++ Technologies AG enago mobile,http:/, 2003.
[49] P. Bellavista and A. Corradi, Active Middleware for Internet Video on Demand: the QoS-aware Routing Solution in ubiQoS Elsevier Microprocessors and Microsystems, vol. 27, no. 2, pp. 73-83, Mar. 2003.

Index Terms:
C.2.8.e Mobile Computing/Support services, J.8.l Internet Applications/Middleware, J.9.a Mobile Applications/Location-dependent and Sensitive, C.2.8.d Mobile Computing/Mobile Environments.
Paolo Bellavista, Antonio Corradi, Rebecca Montanari, Cesare Stefanelli, "Context-Aware Middleware for Resource Management in the Wireless Internet," IEEE Transactions on Software Engineering, vol. 29, no. 12, pp. 1086-1099, Dec. 2003, doi:10.1109/TSE.2003.1265523
Usage of this product signifies your acceptance of the Terms of Use.