I am working an a CMS(Content Management System). In this CMS, they have provided inbuilt functionalities which are written in Perl. Now I dont know much about Perl and want to write a program in
Java to be executed on server. I need to use some of the functionalities provided with CMS which is in Perl. I dont have access to the source code of this subroutine, so I can not recode it in Java.
How can I use this functionality written in Perl with Java ? There is something called JNDI, with the help of which we can run scripts in native languages (which is Perl in this case). But I have never used it. Can someone give me an idea about how to use it with a small and simple sample script ?
Thanks