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 first 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 first mobile-agent runtime environment, wherein the first mobile agent object enables the use of an API associated with the first host computing environment; and generating in the first host computing environment a second mobile-agent object operable to navigate to a second host computing environment, discover available services associated with the second host computing environment, and provide to the first host computing environment information associated with the available services.