wIntegrate Java Client Applet Configuration

Examples Home

Applet

The wIntegrate Java Client can be configured to run as a Java applet embedded in a browser page.

Parameters from the browser page URL can be passed to the applet (this is supported by the example page). The parameter names are not case-sensitive and the available parameters are:

User the user name to use for logging-in to a wIntegrate Server.
Password the password to use for logging-in to a wIntegrate Server.
Server the wIntegrate Server to login to.
AutoLogin causes automatic login using the specified login parameters above as soon as the applet runs. To work, this must be set to y or Y.
Session the name of the wIntegrate sessiopn to open on successful login.
StyleSheet the name of the stylesheet to use for styling the wIntegrate Java Client.
TCPIPPort the wIntegrate Server TCP/IP port number to connect to for logging-in.

For example, the following URL should have the applet automatically logging-in to a wIntegrate Server upon request:

http://MyWebServer/wIntegrateJavaClient/wIntJavaApplet.htm?User=Me&Password=MyPassword&Server=MywIntegrateServer&AutoLogin=Yes

The following files should be placed in a suitable folder on the web server.

An HTML Page

For example, wIntJavaApplet.htm. This page provides a link for the user to run the wIntegrate Java Client.

It requires:

  • A reference to a standard JavaScript file, https://www.java.com/js/deployJava.js.
  • An HTML applet tag for the wIntegrate Java Client. This can be created by a simple call to a JavaScript function in the above file:
    deployJava.runApplet(<Attributes>, <Parameters>, [Minimum Required JRE]);
    where Attributes typically specify the applet code and dimensions and Parameters are any parameters accepted by the applet when it runs (it is a good idea to allow these parameters to be specified as HTML page URL parameters as shown in the example). The Minimum Required JRE can be omitted if not applicable.
The wIntegrate Java Client

I.e. wIntJavaApplet.jar.