Configuring JadeHttp for Remote Connections

The jadehttp library module can handle multiple TCP/IP address connections to the same application, which allows the Web server to connect to multiple copies of the same JADE application on multiple hosts. For details, see "[application-name] Section", later in this chapter. To handle the transfer of large files from a user’s browser to JADE for JadeInternetTCPIPConnection class connections, data is read in small pieces and written into a temporary file as it goes.

If the Firewall parameter in the [Jadehttp Files] section of the JadeHttp initialization file or the Firewall configuration directive in the JADE mod_ jadehttp module and the Firewall parameter in the [WebOptions] section of the JADE initialization file are set to true, the contents of the temporary file is sent (in pieces) to JADE when the entire data stream has been received. JADE then reads those pieces and writes the file contents as it goes (therefore avoiding large memory allocations). This is transparent if the Firewall parameter or directive is set to false or if it is set to true and one of the following applies.

The firewall must be enabled at both ends of the connection (that is, if you are uploading images from another machine for a JADE Web-enabled form over a TCP/IP connection, the Firewall parameter in the [Jadehttp Files] section of the JadeHttp initialization file or the Firewall configuration directive in the JADE mod_ jadehttp module and the Firewall parameter in the [WebOptions] section of the JADE initialization file must both be set to true).

The jadehttp.ini file is located in the virtual directory (that is, the IIS server location). Each virtual directory has its own jadehttp.ini file. (For details about the paths, see "[Jadehttp Files] Section", later in this chapter.)

The JadeHttp initialization file or JADE mod_ jadehttp module is read‑only when the first request for an application is received. If you update a parameter value in this file, you must therefore stop the Internet service and then restart it.