Hi,
I have a Java program that embeds Rhino: it instantiates
a Rhino js engine, and makes it evaluate functions and
gets their results.
From within js function I need to access the Java objects
that are within the Java program that calls them.
I have found plenty of examples on the web showing how
a js function can access Java packages, create objects
and call methods, but none showing how an embedded
js engine can access the objects of its caller.
Does anyone know how to do it?
Thank you
-Angelo Borsotti