Code mobility is recognized as a promising design technique, able to improve flexibility, adaptability and bandwidth utilization in mobile computing applications. To promote and facilitate its use, researchers argue t...
详细信息
Code mobility is recognized as a promising design technique, able to improve flexibility, adaptability and bandwidth utilization in mobile computing applications. To promote and facilitate its use, researchers argue that code mobility should be made available to programmers in combination with, and not as an alternative to, more traditional programming models. This paper describes the design and implementation of the MobileRMI toolkit which, unlike agent-based systems, enables mobility-based programming within a widely accepted middleware platform, Java Remote Method Invocation (RMI). Our toolkit provides a set of mobility primitives that allow programmers to create, clone and move remote objects across a network. To preserve location transparency we implemented a novel, efficient scheme for automatically updating remote references by exploiting the distributed garbage collector. Programming examples are given and a case study where an adaptive application uses logical mobility to minimize communication over a mobile ad hoc network is presented. Experience from using MobileRMI confirmed the benefit of designing both static and mobile applications within the same programming framework. Copyright (c) 2005 John Wiley & Sons, Ltd.
This paper describes IKE 2, which is distributedobject computing middleware that supports the creation of interoperable real-time distributed applications. These applications appear in many domains, such as telecom, ...
详细信息
ISBN:
(纸本)0769515584
This paper describes IKE 2, which is distributedobject computing middleware that supports the creation of interoperable real-time distributed applications. These applications appear in many domains, such as telecom, aerospace, military testing and training ranges, and financial services. IKE 2 combines the concepts of CORBA distributedobjects and anonymous publish-subscribe data dissemination to provide a programming abstraction known as a stateful distributedobject (SDO). Every SDO can have both a remote method interface and publication state. The remote method interface allows client applications to invoke methods on target objects efficiently without concern for their location, programming language, OS platform, communication protocols and interconnects, or hardware. The publication state of a given SDO is disseminated to applications that have expressed their interest by subscribing to certain characteristics, such as the type of the SDO. Subscribers can read the publication state of an SDO as if it were a local object. The SDOs provided by the IKE 2 metaobject model support inheritance from other SDOs, containment of other SDOs, and references to other SDOs. IKE 2 is implemented in C++. The API relies heavily on compile-time type-safety to help ensure reliable behavior at run-time-a critical feature of any real-time system. Automatic code generation is used to provide the high-level abstractions without unduly burdening application programmers.
暂无评论