How to access a java application from Open Edge

allanm

New Member
Is it possible to access a method which is inside a java class from Open Egde.
Basically there is a complex calculation which would be rather complicated and too much effort to re-code in Progress.
Is there a mechanism to access the Java Class methods from Open Edge 10.2B?

Any help would be great!

Thanks in advance.
 
None that I am aware of - there is no native Java interface in the ABL.

One way is to use an os script that you call from the ABL that starts the JVM. Obviously you would need a wrapper class that calls your method. At the end you would write the result in a file. As an alternative you could try to use INPUT THROUGH and directly picking up the value the JVM is outputting to the console. But this would limit your error handling considerably.

Another way would be to provide your method as a Web Service operation that you can then seaminglessly access from the ABL.

Heavy Regards, RealHeavyDude.
 
None that I am aware of - there is no native Java interface in the ABL.

One way is to use an os script that you call from the ABL that starts the JVM. Obviously you would need a wrapper class that calls your method. At the end you would write the result in a file. As an alternative you could try to use INPUT THROUGH and directly picking up the value the JVM is outputting to the console. But this would limit your error handling considerably.

Another way would be to provide your method as a Web Service operation that you can then seaminglessly access from the ABL.

Heavy Regards, RealHeavyDude.
Thanks RealHeavyDude! Will try out your suggestions.
 
John Green of Joanju used to have a tool that would allow an OE session to interact with a running JVM, but I don't know what ever became of it.
 
Back
Top