Hi all,

I've found lots of good resources about how to use Java within Perl (i.e.
Inline::Java). I'm in a project which requires me to invoke Perl from Java
using BSF (Bean Scripting Framework ). To cut the story short, I need to
embed a Perl interpreter within a JNI (C/C++) wrapper and then pass Perl
fragments to the interpreter.

This is all fine except that on the Perl side, I need to invoke Java objects
created on the Java end and at the same time, be able to create Java objects
on the Perl side and pass them back to Java.

My understanding is that Inline::Java actually uses the revese strategy,
spawing a JVM and use either JNI or client/server to communicate with the
JVM. In addition, mapping/remapping Perl and Java objects are also a part of
the Inline::Java module.

Any comments to how this can be accomplished is appreciated.

Many thanks.


Reply via email to