JPL - Embeding Perl into Java for Win32
gmpassos
created: 2004-07-01 21:23:14
Hello monks!

I need to embed Perl into Java for Win32, and I was trying to use JPL, that comes in the Perl sources as an extra option to build, but it tells that it's not working for Win32 yet (from 1999)! Someone knows why this isn't working for Win32?

Actually someone have used JPL? It seems a good idea, specially because we can declare Perl code directly inside a Java class.

Any feedback about that will be appreciated. Thanks in advance. ;-P

Graciliano M. P.
"Creativity is the expression of the liberty".

Re: JPL - Embeding Perl into Java for Win32
created: 2004-07-01 21:44:44
I don't belive JPL is being actively maintained.

Dave.

Re: JPL - Embeding Perl into Java for Win32
created: 2004-07-01 22:00:44
Why do you need to embed Perl into Java? If you just want support from a scripting language, then I'd suggest going with jPython. If you need something that is already working in Perl, then I'd suggest having one call the other through some kind of RPC mechanism. If you have some other need, I'd have to hear it described in detail to figure out what I'd suggest.
Re: JPL - Embeding Perl into Java for Win32
created: 2004-07-02 04:26:33
Here's a good idea from the mind of agentv : node 299529
Re: JPL - Embeding Perl into Java for Win32
created: 2004-07-02 07:45:38
Another option is something we're implementing right now - use XML-RPC to encapsulate the areas that Perl and Java both need to talk to. We have a Perl app and a Java app that both need to work with the same tables, but those tables are in constant flux. So, we are putting up an XML-RPC layer to hide the details. Took us 30 minutes to get XML-RPC up and running using Frontier::RPC2 as the server. (That included compiling Apache1 and MP1.)

------
We are the carpenters and bricklayers of the Information Age.

Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose

I shouldn't have to say this, but any code, unless otherwise stated, is untested

perlmonks.org content © perlmonks.org and Arunbear, dave_the_m, dragonchild, gmpassos, tilly

prlmnks.org © 2006 edmund von der burg (eccles & toad)

v 0.03