Hi everyone,
how can i call a java method using progress ABL ???
thanks
Hi everyone,
how can i call a java method using progress ABL ???
thanks
Flag this post as spam/abuse.
Hi everyone,
how can i call a java method using progress ABL ???
thanks
Flag this post as spam/abuse.
Flag this post as spam/abuse.
John Green had a thing years ago for calling Java from ABL, but I doubt that it is even vaguely current and wasn't a real production tool in any case. You could go the IKVM route to convert the Java to .NET and then it becomes easy to call from ABL ... or just find a .NET component that does what you want.
JNI works, just have to write some (more or less generic) wrappers in C
(dll, so) and call those from 4GL using external procedures
definition... the wrapper library loads the JVM and then it will be able
to call out Java methods through JNI, we did that for being able to
preview/export/print reports made with Birt/Jasper from 4GL run-time.
Your solution might depend on the platform. I have seen problems trying to load a JVM into the AVM on unix platforms, due to the conflict of signal handlers in each product.