>> 1) in a scenario where Java is in charge, where does something
>>    like the existing java package fit in?
> 
> I'm not sure I understand what you mean. Could you be more
> explicit?

You write: "[the javapackage] will be [initialized] automatically
by the octave engine when it needs it; [it] is able to attach itself
to a running JVM" etc, in other words you see a big role for the
java package but since it is for calling Java from Octave and I
want to do the opposite, I am confused.

In the past when I used JNI with the Java "in charge", no action
was required from the other side, which was completely passive.
But then the other side was a simple numerical library, not a
language interpreter.

> It depends on what you want to exchange. Making java code
> to access octave data directly is not possible, because octave
> C++ data is not part of the java-managed memory space. 

I need to brush up my JNI: it's been a while, but I thought they'd
end up in the same process space, precisely.

-- O.L.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to