Ultra Light Client Guide and Reference

Running the UI Engine as an applet

The UI Engine can be run as a Java applet that connects back to an application server through a Web browser. You can verify that the browser opens the applet successfully by opening the Java Console. If your browser does not have the required Java support, the console will show a corresponding exception.

Loading an HTML page containing the applet

A few sample HTML pages are included in the ULCSamples\HttpServer\lib\com\ibm\ulc\httpServer\resources subdirectory of the ULC samples package. (You must extract these from the file httpserver.jar.) They enable you to start Application Controller as an applet in various forms: out of place, embedded, and embedded in a separate browser window. When one of these pages is loaded into a Web browser, it starts the applet directly. No Web server is needed. Because of a Swing bug, though, the applet will run only in a freshly started browser.

When run as an applet, the UI Engine is less than 300KB, resulting in reasonable download times even over low-bandwidth connections. To avoid repeated connection overhead, the code is packaged in a JAR file (Java ARchive format).


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]