Hi all,
At work, we have a CGI app running under mod_perl that calls some Java code using Inline::Java right now albeit in a separate JVM (the JVM is in its own process). However our admins noticed the code sometimes runs really, really slow and we've been asked to see what we can do about it. I've read changing our Inline::Java code so that JNI is turned on will help speed the Java calls but then the Apache process will be bigger with potential memory problems.
I've also noticed the Java::Import module has been updated recently and was wondering if people have used it and whether it works as well as Inline::Java?
Would it be possible for us to write some new code using Java::import while leaving the old Inline::Java code untouched in the same application? Am I walking a dangerous path trying two different Java connections in the same app?