• Post Reply Bookmark Topic Watch Topic
  • New Topic

Apache Rhino questions  RSS feed

Parth Mehta
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,

I am using Apache Rhino in my Java app and have some questions:-

1) JavaScript to Java conversion: From what I have seen, in order to make a javascript method visible in the java class, you need have your java class implement an interface with the same method signature as in javascript. Is there a way to avoid this?

2) I have two JavaScript files, library.js and user.js. The first js file defines functions that the other will use. However, both these files are compiled separately. Is there a way to merge these two separately compiled scripts into one? (Like for example setting the first one as the "parent" context of the other?).

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!