PERL/java interface available?

2003-06-09 Thread Charlie Smith
Would anyone happen to know if there is a PERL/java interface where these two 
languages could talk to each other?

Charlie


--
This message may contain confidential information, and is intended only for the use of 
the individual(s) to whom it is addressed.


==



Re: PERL/java interface available?

2003-06-09 Thread Beau E. Cox

- Original Message - 
From: Charlie Smith [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, June 09, 2003 3:34 AM
Subject: PERL/java interface available?


Would anyone happen to know if there is a PERL/java interface where these
two languages could talk to each other?

Charlie

Hi Charlie:

Check out the 'Inline' modules on CPAN:

http://search.cpan.org/author/INGY/Inline-0.44/Inline.pod

You also may want to look at SWIG at:

http://www.swig.org/

I have used Inline::C and SWIG for c and c++, but not for
java; but they say they work...

Aloha = Beau;

PS: The 'Inline' modules are neat because your code is just
that - inline; it's easier to see what's going on.




Re: PERL/java interface available?

2003-06-09 Thread wsheldah

I believe there's a Java.pm module on CPAN that will allow a perl program
to instantiate java objects and call methods on them. That may or may not
be enough intercommunication for what you need.

Wes Sheldahl



Charlie Smith [EMAIL PROTECTED] on 06/09/2003 09:34:04 AM

To:[EMAIL PROTECTED]
cc:
Subject:PERL/java interface available?


Would anyone happen to know if there is a PERL/java interface where these
two languages could talk to each other?

Charlie


--

This message may contain confidential information, and is intended only for
the use of the individual(s) to whom it is addressed.


==









Re: PERL/java interface available?

2003-06-09 Thread Mark Hawkes
At 07:34 2003-06-09 -0600, you wrote:
Would anyone happen to know if there is a PERL/java interface where these 
two languages could talk to each other?
Java can call any native function that's packaged in a dso or dll. (But is 
it possible to compile Perl modules to standalone dso?) Did anyone mention 
B::JVM::Jasmin or JPL? See links below...

-Mark

-
Porting Perl to the Java Virtual Machine
http://www.ebb.org/bkuhn/writings/technical/thesis
More about JPL
http://www.oreilly.com/catalog/prkunix/info/more_jpl.html
Java Native Interface Tutorial
http://java.sun.com/docs/books/tutorial/native1.1/