I'm looking for a reliable and scalable way to invoke Perl from Java.
Do you know about any framework or libraries?
"A designer knows he has achieved perfection not when there is nothing
left to add, but when there is nothing left to take away" ~Antoine de
1) Use Runtime.exec():
I have reliably invoked third party programs using Runtime.exec().
However, you can't use Runtime.exec() directly without handling details
The following article covers most of the bases regarding using
2) Use a web/restful service to wrap the perl functionality:
Something like: http://www.soaplite.com/
I have used this approach to integrate C/C++ programs without using JNI.
3) Use a JNI library like JPL:
I have not used the above.
I have avoided using JNI because of deployment issues. You need the
right libraries in places, etc.
I have worked in several companies where the network/deployment group
could hardly manage to get Java working correctly.
4) Use JNI directly:
5) Use CORBA:
Maybe an option if you already have a compatible ORB present on your
Maudrit Martinez wrote:
> I'm looking for a reliable and scalable way to invoke Perl from Java.
> Do you know about any framework or libraries?
This is Julio Zambrano, how are you doing these days??