Code on demand: Difference between revisions

Content deleted Content added
rearranged article. it isn't long enough to have sections yet
mNo edit summary
Line 1:
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 applet]]s, Adobe’s [[ActionScript]] language for the [[Flashplayer|Flash player]], and [[JavaScript]]:.<ref name="Is Code Still Moving Around">{{cite journal|last= Carzaniga|first=Antonio|author2=Gian Pietro Picco |author3=Giovanni Vigna |year=2007|title=Is Code Still Moving Around? Looking Back at a Decade of Code Mobility|journal=ICSE COMPANION '07 Companion to the proceedings of the 29th International Conference on Software Engineering|publisher=IEEE Computer Society|___location=Washington, DC, USA|pages=9–20|url=http://dl.acm.org/citation.cfm?id=1248922|doi=10.1109/ICSECOMPANION.2007.44}}</ref>
 
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).