1. A method implemented by at least one computer, wherein the at least one computer performs steps of the method comprising: executing a first mobile agent object in a mobile-agent runtime environment in a first host computing environment, the first mobile agent object operable to execute in a first electronic device, halt execution in the first electronic device at an execution state, be transplanted to a second electronic device, and resume execution from the execution state in the second electronic device; configuring the first mobile agent object to install a service object executable in the mobile-agent runtime environment and to create at least one binding relationship between the service object and at least one service module, the at least one service module providing a functionality of the service object, and executing in the first host computing environment a second mobile agent object operable to discover available services associated with the mobile-agent runtime environment, and provide to a second host computing environment information associated with the available services; wherein the first mobile-agent object is further operable to discover available services associated with the mobile-agent runtime environment.