Hi Scott (and all),
Work on Inline::Java is coming along slowly but surely. I now can create
objects and call their methods, with all kinds of parameters except arrays
(I want to think a bit more about that one).
The way inline Java works is as inlined earlier:
- Compile the Java code
- Extract the public methods from the classes
- Bind them to Perl
- Then an InlineJavaServer (basically a daemon) is started, and te Perl
script connects to it to send requests (create_object, call_method, ...).
The Java objects really reside in the Java program. Perl only has "pointers"
to these objects.
I am currently working on documentation/comments/code cleanup for the 0.01
release, which should be ready in about a week.
I have a few points I need help with:
1) I need to get a CPAN login in order to put my code there. How do I go
about doing this?
2) I have some concerns about portability.
- I use fork and exec to spawn the Java runtime.
- I play with the PATH and CLASSPATH variables, and I'm not sure the
separators ":" are portable.
- I have some makefile stuff (for compiling the Java code ) that
might not run on Windows. I don't have an ActivePerl distribution set up, so
I might need some help making the code runnable on Windows.
I also don't have a place to make my code available by FTP, so I'll have to
post it here for those interested.
As soon as the documentation is more appropriate, I'll post a tar of my
stuff for those interested.
Thanks all,
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: "Patrick LeBoutillier" <[EMAIL PROTECTED]>
Sent: Wednesday, February 28, 2001 12:18 PM
Subject: Inline::Java
>
> Patrick,
>
> I have been following -- with great interest -- your discussion about
> Inline::Java. I would like to be kept abreast of your developement and
> could be available to test for you if you are interested. I am currently
> beta testing a HUGE Java/Perl module using JPL and would love to convert
> it all over to Inline::Java.
>
> Cheers,
> Scott.
>
> ====================================================
> M. Scott Roth,
> <[EMAIL PROTECTED]>
> Information Systems Engineer
> Science Applications International Corporation
> 703-375-2260
> ========================<><=========================
>
>
>