<table border="0" cellpadding="0" cellspacing="0" width="539"><col width="539"></col><tr height="20">
<td height="20" style="height: 15pt; width: 404pt;" width="539">Detailed informtion
about Mobile Code, examples of Mobile Code, PostScript, Differences between
Java Applets and Mobile Agents, Process Migration, Object Migration.</td>
</tr></table>
Download Mobile Computing - Mobile Code and more Study notes Mobile Computing in PDF only on Docsity!
Mobile Code
(^) “Mobile code” defined as “software that travels on a heterogeneous network, crossing protection domains, and automatically executed upon arrival at the destination”
(^) protection domains – corporate network or PDA
(^) excludes cases where code is
(^) loaded from a shared disk
(^) downloaded (manually) from the Web
(^) Mobile code supports a flexible form of distributed computation where the desired nonlocal computations need not be known in advance at the execution site
(^) Advantages Efficiency Simplicity and flexibility Storage
11/27/14 2
Mobile Code
(^) Well-known examples of Mobile Code
PostScript
Database technology – SQL
Documents with embedded executable contents transmitted on the network = Java (applet)
Inferno developed by Lucent – a mobile-code-enabled network OS
(^) Common needs of mobile code in terms of programming languages
(^) Portability
(^) Safety
(^) Security
(^) Confidentiality
(^) Integrity
(^) Availability
(^) Authenticity
(^) Efficiency
(^) Representative programming languages for mobile code
(^) Java
(^) Limbo
(^) Objective Caml
(^) Obliq
(^) Telescript
(^) Safe-Tcl
Differences between Java Applets and Mobile Agents
(^) MAs initiate the migration process; migration of Java applets is initiated from other software components (e.g. Web browser)
(^) Java applets migrate only from a server to a client, do not leave the client to another client or back to the server
(^) Applet’s lifetime bound to that of the Web page, dies when browser terminates or another Web page requested; MA usually migrate more than once
Process Migration
(^) Transfer of OS process from one m/c to other
(^) Migration mechanisms handle bindings between - (^) process and execution environment (e.g. open fds, env variables)
(^) Provide for load balancing
(^) Most of these facilities provide transparent process migration
(^) Other like Locus provide for some control
(^) like external signal or migrate( ) system call