Follow the procedure below if you want thin client users to launch your application from a Web page.
-
Install your COBOL application on your application server host. This machine must also contain the ACUCOBOL-GT runtime, AcuConnect,
and the other required software components. Note that your application does not need to reside on the same host as your Web
server.
-
Create a thin client command-line file that contains all the information needed by the ACUCOBOL-GT Thin Client to launch your
application. This file should have an
.atc or
.acutc extension. The format of this file is described in
Thin Client Command-line Files.
-
Place the thin client command-line file on your Web server and create a link to it from an appropriate Web page. Your users
click on this link to launch your thin client application.
-
To ensure that your thin client is recognized across a wide variety of browsers, configure your Web server to generate an
HTTP "Content-type" response header field, which is included with the thin client command-line file. This field should contain
the MIME type "application/vnd.acucorp.thincommandline". Refer to your Web server documentation for instructions on adding
a MIME type.
After you set up your hyperlink, end users who visit your Web page can run the program by clicking on the program's link.
The display occurs in an application window outside of the user's browser. Users who start the thin client from an
.atc or
.acutc file that was downloaded from the Internet are presented with a security dialog asking them to authorize the action.
Users can also launch the ACUCOBOL-GT Thin Client by entering the host name of the application server or an Internet IP address
on the
acuthin.exe command line. See
Launching Programs on the Internet for more information.