From: Luke B. <ja...@sp...> - 2004-06-02 21:36:08
|
Hello, I'm want to use Jython as a scripting language for a program I am writing in Java. Here's what I want to do. 1) Load a Jython module (a .py file) into a Java Object for future use 2) At some time during the Java programs execution, have this object call a function from within the Jython module. 3) The Jython functions will then go about accessing Java objects in the program. Now I've found plenty of examples on how to access java objects from a Jython script but no examples on how to call a Jython function from within Java. Does anyone know of any online examples for this? Luke Bailey |