This file documents Fnorb compatibility with Jython (http://jython.org). Jython is a Python implementation for Java "virtual machines". Testing ======= The examples "helloworld" and "misc" have been tested against Jython 2.1 running on the Sun SDK 1.3.1. Limitations =========== fnidl compiler currently doesn't run in Jython. May only be used in threaded mode, as Java 1.3 does not support "select", which is needed for a reactive server. Using Fnorb with Jython ======================= In this example, we consider running the "misc" example on Jython. Install Fnorb. Compile the "misc" example IDL using fnidl with CPython. Run the server as follows: java -Dpython.path=$PYTHON_LIB_PATH/site-packages -cp \ $JYTHON_PATH/jython.jar:. org.python.util.jython server.py \ --ORBthreading-model=Threaded & Where PYTHON_LIB_PATH is the directory where Python libraries are installed. JYTHON_PATH is the directory where Jython is installed. Wait for the server to output "Server created and accepting requests..." Now run the client: java -Dpython.path=$PYTHON_LIB_PATH/site-packages -cp \ $JYTHON_PATH/jython.jar:. org.python.util.jython client.py \ --ORBthreading-model=Threaded Utilities testing with Jython ============================= Works: fnior fnmkior Fails: fnidl fngen fnping fnfeed fnifr fnnaming