Stefan picked up the idea and tried it with the following snippet:
ScriptEngineManager factory = new ScriptEngineManager();
engine.eval("var CanvasRenderingContext2D = false;");
He did more experiments to make sure calling Java-Classes from JTalk-Smalltalk is possible too.
Today Stefan left a comment on my blog post on "JTalk and JSTalk". He announced that the execution of smalltalk-code on the server-side via Rhino is possible. Details on the remote runner and how you can save your Smalltalk Code to a DB can be found on his blog.
So given enough time (and money) it should be possible to build a Smalltalk IDE using Javas Swing UI library or a Seaside server running on top of Glassfish/JBoss/WebSphere/Weblogic/Geronimo/... app servers, ...
I still doubt that performance would be good. It would make more sense to run it on Googles new Native client.