Slow Execution of a Java Applet using HTML5 Widget
Author: fearandir@gmail.com (fearandir)
Hi all. Currently, we are testing the Uniface 9.6 html5 capabilities involving the HTML widget. We have designed a form which loads a HTML page on a HTML widget and runs it. The HTML implements a couple of Javascript scripts and Java Applets. The problem on this scenario is that the execution time until Java Applet executes is really slow. (MINUTES!) Meanwhile if we use the old "Web Browser" OCX implementation it take a few seconds, really similar to run the HTML file on a regular web browser. The documentation says that the new widget is based on "Chromium". Which "Chromium" version has been implemented? Is it configurable via ASN files or other vias? Do Exist a method to debug the execution? Thanks and i am sorry about my poor english language Sergio.

Hope this helps. Regards, Daniel
Just for my understanding: can you call the java signing applet locally or do you need to run it in the context of a web site? In case the applet is available locally on the client where your Uniface application is running then you could invoke the java applet using JNI. I In order to get this working you need to create a small C routine that will invoke the java applet via JNI. And the C code can be easily called from Uniface using (e.g.) a C Call-Out signature. I believe one of my colleagues has a simple sample that demonstrates this approach. So if you're interested then I could ask him if he could make this sample available as a Community Sample here on Uniface.info. Hope this helps. Daniel



