5 ms·
None of these examples are especially illuminating here. In my opinion, two things really exhibit this "code over the network" nature; the class URLClassloader
by le-mark 9y ago
None of these examples are especially illuminating here. In my opinion, two things really exhibit this "code over the network" nature; the class URLClassloader that's been in Java forever and the JVM SecurityManager system. URLClassLoader will load bytecode from any url; give it a url to a jar at some domain and it'll load it. The JVM security model was intended to let app developers define exactly what code could be executed, and what resources could be accessed on the client machine.
The other stuff like JNI (a registry for RPC endpoints) and java rmi itself were baked into the standard libraries from the beginning as well. But the envisioned "software agents running on arbitrary machines on the network" never took off, seems kind of foolhardy in hindsight, that anyone would think that's a good idea.
- kuschku 9y ago> The other stuff like JNI (a registry for RPC endpoints) and java rmi itself were baked into the standard libraries from the beginning as well. But the envisioned "software agents running on arbitrary machines on the network" never took off, seems kind of foolhardy in hindsight, that anyone would think that's a good idea. Well, we’re back to it with webassembly now. Everything old is new again.
- gaius 9y agosoftware agents running on arbitrary machines on the network" never took off, seems kind of foolhardy in hindsight We call software agents "containers" now and arbitrary machines on the network "cloud" but it is the same thing...
- le-mark 9y agoThat's really not even closely related. Please educate yourself so I can have intelligent discussions. https://en.wikipedia.org/wiki/Software_agent https://en.wikipedia.org/wiki/Software_agent