How to call java from ruby and get results back

Hi
The other way round: call Java from within MRI would also be interesting.
How to avoid starting the Java-engine for every call? => run an app

containing the library and then call the functions only - with two
processes.

···

Are there other/better possibilities?

Thanks Berg