I have an interesting thought and would like your comments on it.

 

In an applet environment, I believe Rhino cannot use compiled scripts and
hence the performance of those scripts is worse than in an application
environment.  Now, given that most browser vendors have introduced JIT
compilers for JavaScript, how difficult would it be to replace the use of
Rhino in Batik applets with the browser's JavaScript engine?  I imagine
there would have to be some changes to the scripts themselves but
Java/JavaScript interaction has greatly improved since Java 6 Update 10 and
using Batik in an applet environment is very important to me.

 

What do you think?

Thanks,

 

John

Reply via email to