Code on demand
| This article does not cite any references or sources. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed. (December 2009) |
In distributed computing, code on demand is a general term for any technology that sends executable software programs from a server computer to a client computer upon request from the client's software (e.g., browser).
Code on demand is a specific use of mobile code. A well-known example for the code on demand paradigm are Java applets: An applet's program code lies inactive on some web server until a user (client) requests a web page that contains a link to the applet using the client's web browser. Upon this request, the web page and the applet are transported to the user's machine using HTTP. When the page is displayed, the applet is started in the browser and executes locally, inside the user's computer until it is stopped (e.g., by the user leaving the applet's web page). This completes the applet's life cycle.
| This computer science article is a stub. You can help Wikipedia by expanding it. |