A Light-Weight Component Model for Peer-to-Peer Applications

Alois Ferscha, Manfred Hechinger, Rene Mayrhofer, Roy Oberhauser

Research output: Chapter in Book/Report/Conference proceedingsConference contribution

31 Citations (Scopus)


Mobile Peer-to-Peer (P2P) computing applications involve collections of heterogeneous and resource-limited devices (such as PDAs or embedded sensor-actuator systems), typically operated in ad-hoc completely decentralized networks and without requiring dedicated infrastructure support. Short-range wireless communication technologies together with P2P networking capabilities on mobile devices are responsible for a proliferation of such applications, yet these applications are often complex and monolithic in nature due to the lack of lightweight component/container support in these resource-constrained devices. In this paper we describe our lightweight software component model P2Pcomp that addresses the development needs for mobile P2P applications. An abstract, flexible, and high-level communication mechanism among components is developed via a ports concept, supporting protocol independence, location independence, and (a)synchronous invocations; dependencies are not hard-coded in the components, but can be defined at deployment or runtime, providing late-binding and dynamic rerouteability capabilities. Peers can elect to provide services as well as consume them, services can migrate between containers, and services are ranked to support Quality-of-Service choices. Our lightweight container realization leverages the OSGi platform and can utilize various P2P communication mechanisms such as JXTA. A "smart space" application scenario demonstrates how P2Pcomp supports flexible and highly tailorable mobile P2P applications.

Original languageEnglish
Title of host publication2nd International Workshop on Mobile Distributed Computing
Number of pages8
Publication statusPublished - 2004
Event24th International Conference on Distributed Computing Systems (ICDCS'04) - Tokyo, Japan
Duration: 23 Mar 200426 Mar 2004


Conference24th International Conference on Distributed Computing Systems (ICDCS'04)
Internet address


  • Component framework
  • Context awareness
  • JXTA
  • OSGi
  • Peer-to-peer computing
  • Pervasive computing
  • Web Services

Cite this