Code on demand
In distributed computing, code on demand is any technology that sends executable software code from a server computer to a client computer upon request from the client's software. Some well-known examples of the code on demand paradigm on the web are Java applets, Adobe's ActionScript language for the Flash Player, and JavaScript. The program code lies inactive on a web server until a user (client) requests a web page that contains a link to the code using the client's web browser. Upon this request, the web page and the program are transported to the user's machine using HTTP. When the page is displayed, the code is started in the browser and executes locally, inside the user's computer until it is stopped (e.g., by the user leaving the web page). Code on demand is a specific use of mobile code, within the field of code mobility.
In distributed computing, code on demand is any technology that sends executable software code from a server computer to a client computer upon request from the client's software. Some well-known examples of the code on demand paradigm on the web are Java applets, Adobe's ActionScript language for the Flash Player, and JavaScript. The program code lies inactive on a web server until a user (client) requests a web page that contains a link to the code using the client's web browser. Upon this request, the web page and the program are transported to the user's machine using HTTP. When the page is displayed, the code is started in the browser and executes locally, inside the user's computer until it is stopped (e.g., by the user leaving the web page). Code on demand is a specific use of mobile code, within the field of code mobility. ==See also== Remote evaluation Code mobility
References
No reference rows published for this article.
Cite this article
MLA
"Code on demand." encyclopegia.org, 2025, https://encyclopegia.org/wiki/code-on-demand. Accessed 24 November 2026.
Chicago
"Code on demand." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/code-on-demand.
APA
encyclopegia.org. (2025). Code on demand. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/code-on-demand
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON