Looks like if I have to use Java module to call java classes from perl, I have to run 'Java Server' provided with the module (Correct me if I am wrong). Is this a necessary step ? Is there any module which allows me to call java classes without any such active service ?
Thanks,
Mandar
-----Original Message-----
From: mark@zzo.com [mailto:mark@zzo.com]
Sent: Thursday, June 10, 2004 9:50 AM
To: Joshi Mandar-R9121Z
Subject: Re: Best way to call java from perl
Check out Java.pm from the CPAN...
M
On Thu, Jun 10, 2004 at 09:26:18AM -0700, Joshi Mandar-R9121Z wrote:
>
> Hello,
>
> I am willing to call a java class method from perl and capture its
> output. As I understand there are three different ways to do it, but
> not sure which is the best way to go about.
>
> 1. Using inline java module I can define the java class within perl
> itself 2. executing commandline through perl (using System or
> something ?) 3. using JPL module
>
> Any thoughts? Is there any other simpler way to call java class method
> from perl ?
>
> Regards,
> Mandar
>
>
> The information contained in this email is classified as:
> [X] General Business Information
> [ ] Motorola Internal Use Only
> [ ] Motorola Confidential Proprietary