in reply to Perl to Java

I am writing a program that is similar to FTP client. On the server side I grab the stuff that is being submitted, and process it. I gonna use Java to do the networkish things, but would like to use as little Java as possible, and write most of the program in Perl. So I need a way to pass things to and from Java classes.

I just found something called JPL, but there is not much on how to use it and where I can get it.

Replies are listed 'Best First'.
Java and Perl Harnessed
by BBQ (Curate) on May 11, 2000 at 08:00 UTC
    Alligator Descartes wrote an article called Java and Perl Harnessed (JAPH for short :o)).

    Apparently he has been working (sucessfully) on a model to embed perl into java. The article was presented to LW back in 1997's perl conf, so I don't know what evolved since then. It may be just theoretics, but I suppose this may also be what you are looking for.

    Since I am also java-dumb, I can only recommend on the basis that I found something, but not necessarily that I know what it means, or how to use it. HTH!

    BTW: Check out the guy's bio for fun, he looks like a mean mutha!
RE: Re: Perl to Java
by btrott (Parson) on May 10, 2000 at 22:59 UTC
    Apparently JPL started shipping with the Perl distribution as of 5.005_54 or somesuch release (according to this press release). So if you have a recent release, you may have the JPL stuff. Take a look at the results on search.cpan.org.

    As for how to use it... well, I've really no idea. :)

    Why do you want to use Java for your network code, incidentally? Rather than Perl's socket support, I mean.