You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by th...@kodak.com on 2008/08/27 12:12:53 UTC

Re: Using compiled JavaScript scripts

Hi John,

"ozemale@ozemail.com.au" <oz...@ozemail.com.au> wrote on 08/26/2008 
10:00:07 PM:

> Does Batik use compiled versions of JavaScript scripts?  If not, is 
> there a way to have it use them?

   Outside of an Applet Context, the Rhino JavaScript interpreter
will compile the JavaScript to Java Byte Code and load that.
In an applet you can't do this since you need to be able to
use a special class loader.