Description
To call a Java-application and pass params etc, a java-call out would be nice.
Use Case
Just like al other call outs - create signature - define operations and params - define implementation - create urr
Importance
Integration of applications is a common thing. From time to time everybody ones to integratie with other applications. With Java only a call-in in possible.
Type
Integration
Operating System
Not Applicable
Status
Open
see also wish number 10
Did this not used to be possible in Uniface 8 using CORBA?
One of the biggest challenges with calling out to Java is that the code needs to be executed inside a JVM which needs to have been started and already loaded the class that holds the method that is to be invoked.
One possible (albeit not very efficient) solution is to host the Java code inside a Servlet Engine (e.g. Tomcat), write a small Servlet that to call the existing code, and invoke the operations with web calls using the UHTTP API.
Agree, we would love this enhancement. We have a C bridge to manage our calls to JNI, but its high maintenance and nasty to implement on site. This would (hopefully) take this weak link out of our solution and give us access to all those libraries of functions in Java.
Today I have have uploaded the Community Sample “Uniface Call-out to Java classes” which you may find useful.