Is There An Established Way To Send Code Over a Network? Let's say I have two computers on a network. I want to write code in some language on machine A, send the code in an efficient way over a network, and run the code on machine B. It seems to me that this would be inherently slow and would run into a bundle of problems (not having required dependencies) but perhaps some work has already been done on this problem? Is there any known processes or systems that already do this?
From memory Java applets and COM components could do this (But mostly discontinued due to security reasons)  The approach was mostly based on a pull strategy.  That is Machine B pulled code from Machine A and then executed in Machine B.

OS and application updates (e.g. Windows Update) also do this approach.  They download the update from a different machine and execute locally.