I want my Rails app to call a Java program to do some labor-intensive work. What's the best way to get the output from the Java program into Ruby? The output is text, about 60,000 chars per query.
Is there a better way than writing/reading from textfiles?
I don't want to use JRuby.