Dear Bertrand,
A suggestion:
In the Ox-appendices it is described how to call Ox from C. I suppose that calling C from Java is applied regularly (just Google for it). So Java calling C calling Ox could be a solution.
Of course, in the same line it must be possible to call Ox directly from Java. You need to know then how the arguments are transferred. Maybe the calling-Ox-from-C and calling-C-from-Java code provide a clue to that. There must be people around who know that exactly.
Regards,
Jaap
Dear James,
Tanks a lot for your answer but indeed, what I am looking for is the opposite: we have a Java interface and would like to execute Ox code from this interface.
Do you have any suggestion ?
Best regards,
Bertrand
From: Davidson, James [mailto:[log in to unmask]]
Sent: 13 August 2012 12:55
To: Bertrand Berlemont; [log in to unmask]
Subject: RE: Calling Ox from Java
Dear Bertrand,
Does OxJapi meet your needs? See
http://personal.vu.nl/c.s.bos/software/oxjapi.html
With this package you can develop a Java-based GUI environment for your Ox program.
Note that with this system you don’t call encapsulated Ox functions from a Java program, which may be what you intend. You do all your coding in Ox, with OxJapi functions creating and controlling the Java screen objects.
For an application, see http://www.timeseriesmodelling.com/. We use an updated and extended version, Oxjapi2, which uses the Java Swing environment. Let me know if you are interested in this.
James
From: The ox-users list is aimed at all Ox users [mailto:[log in to unmask]]
On Behalf Of Bertrand Berlemont
Sent: 13 August 2012 10:49
To: [log in to unmask]
Subject: Calling Ox from Java
Hello,
I would like to know which is the best way to encapsulate Ox code in a Java environment.
Does any of you have experience on this subject ?
Best regards,
Bertrand BERLEMONT
Hendyplan Luxembourg