For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > September 2004 > Calling Perl From Java?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Calling Perl From Java?
Siegfried Heintze

2004-09-23, 8:57 pm

I did a google search on calling Perl from Java. I found one site
(http://ebb.org/perljvm/) that suggested the most promising project tackling
this problem had been abandoned.

The traditional approach is apparently very cumbersome: Have Java call C and
C all Perl. This sounds very tedious.

Does this sum up the situation?

Thanks,
Siegfried

Levon Barker

2004-09-24, 8:56 am

I have had to do this.

Did a fair bit of research and the best that I could come up with (and
what we have implemented) is to call mod_perl url from java. That way we
don't have to recompile each time, and get some database persistance
with Apache::DBI.

Works out quite well.


On Sep 23, 2004 04:24 PM, Siegfried Heintze <siegfried@heintze.com>
wrote:

> I did a google search on calling Perl from Java. I found one site
> (http://ebb.org/perljvm/) that suggested the most promising project
> tackling
> this problem had been abandoned.
>
> The traditional approach is apparently very cumbersome: Have Java call
> C and
> C all Perl. This sounds very tedious.
>
> Does this sum up the situation?
>
> Thanks,
> Siegfried
>
>
> --
> To unsubscribe, e-mail: beginners-unsubscribe@perl.org
> For additional commands, e-mail: beginners-help@perl.org
> <http://learn.perl.org/> <http://learn.perl.org/first-response>
>
>


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com