Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Mobile Computing - Mobile Code, Study notes of Mobile Computing

<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>

Typology: Study notes

2010/2011

Uploaded on 09/04/2011

amit-mohta
amit-mohta 🇮🇳

4.2

(152)

89 documents

1 / 6

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
11/27/14 1
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
pf3
pf4
pf5

Partial preview of the text

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
  1. PostScript
  2. Database technology – SQL
  3. Documents with embedded executable contents transmitted on the network = Java (applet)
  4. 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