I'm aware of a few different mechanisms for Java/Perl interfacing:
- There's the original JPL (Java-Perl Lingo), included with all modern Perl
distributions, that allow Java and Perl to live in the same process.
- Java allows access to a remote JVM through remote procedure calls.
- Inline::Java is like JPL, but simpler to operate.
- B::JVM::Jasmin compiles Perl code directly to Java bytecodes.
Not exactly what you were looking for but maybe it might be useful to see what's
happening already.
-- Randal L. Schwartz, Perl hacker