I have a python app and java app. The python app generates input for the java app and invokes it on the command line.
I\'m sure there must be a more elegant solution
How about using swig: http://www.swig.org/Doc1.3/Java.html ?