On Jul 5, 2008, at 10:48 PM, DarkIT wrote: > Thank's > But how can i include this library to rhino ? that all other functions > in different contexts and scopes can use it.
Well, simplest approach is: you can load it into a Script object, and then execute it in a scope, and then execute the Script object representing your actual program in the same scope object. > Also it's more general question how can I write Java and JavaScript > function which can comunicate without efforts - just write "brigde" > which will do all work for given object type. Well, Rhino does quite a lot of automatic marshaling of values from JS to Java and back already. I think you'd find what's in there already will be sufficient. Attila. _______________________________________________ dev-tech-js-engine-rhino mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino
