It's amazing really but I've encountered this exact problem of Java to Perl communication over the past 3 weeks the final decision was to communicate using JSON & then leave Perl to work over the incoming JSON data. This works brilliantly and we have a very clear separation of concerns between Java & Perl. Java gets the data, passes it into Perl & then Perl can manipulate it to it's hearts content. It's even good for testing since we have canned JSON files with data.
Now if it was a Perl implementation in the JVM I think I'd be more interested; but for the moment I think I'll pass on these modules.
1 comment:
I actually did use calls to Java from Perl. It makes sense for some algorithms where you want to make use of Javas strict typing system when implementing an algorithm that may become messy with Perl. After the algorithm itself has been implemented in Java, it is more comfortable to call and use it from Perl so I think both languages have their advantages.
Post a Comment