Use Java code in RoR

Hi All,

I have some old code in Java which does a set of tasks which are needed by my RoR application. Currently the mecahnism is that there is a java web server which runs the Java code and the ROR app gets the data via http and XML.

Is there a better/ faster way of doing this .. i mean using the java code directly in my RoR app.

Have you looked at jruby?

Fred