Rhino to the rescue

Have you ever wanted to execute a piece of JavaScript code from your Java program ?? If yes, read on.

There have been number of times when I have wanted to execute a piece of JavaScript code from Java. But I cannot do that (I have to convert that to Java code and compile it), up untill now.

Now, there is an API available to execute JavaScript code from a Java class. This is called Rhino, by Mozilla guys. Check it out.

www.mozilla.org/rhino

Leave a Reply

  

  

  

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>