is there any example on using java method to call rhino-javascript function and return it back to java? The only example i found for rhino is only typing command on the rhino shell.
Asked
Active
Viewed 1.3k times
10
1 Answers
11
Sure, here's the Rhino embedding tutorial. I've done this in the past and it works very well. You'll want to scroll down to this section.

Jim Ferrans
- 30,582
- 12
- 56
- 83
-
Sadly, links are not working anymore. Try https://github.com/graalvm/graal-js-jdk11-maven-demo – Xdg Jul 21 '21 at 07:46