in reply to Re^4: How to call perl in Java?
in thread How to call perl in Java?

Perhaps I was not clear, for the JSON approach I meant communication between a JVM and Perl, not as in Java glued into Perl, i.e. the inline solution. If you're happy with mixing java and Perl in one file it seems like the most straightforward solution to me. I'd prefer to separate things. Is it a use-once solution or will you need this type of communication a lot in the future? It might be worthwhile to explore other solutions. More work though.

Cheers

Harry

Replies are listed 'Best First'.
Re^6: How to call perl in Java?
by llancet (Friar) on Jan 14, 2010 at 00:40 UTC

    I'm conceiving about a workflow controlling software. It might be better to use Java to implement the skeleton, because Java is more strict than perl. However I still want it possible to use perl to implement the procedures, because it's flexible and fast to develop.

    Actually it's only a optional way of solution, and now I'm using perl to implement the whole architecture, but suffering from perl's loose hierarchy system.

      I took a look at some Java Workflow tools recently. For me Java is mandatory, I have no choice. I found drools an interesting option. It offers a lot of functionality, most of which I will be needing. If you're not forced to use Java I would stick with Perl, Workflow seems like an excellent start. Maybe you should repost and ask for WFM/Perl solutions.

      Cheers

      Harry