ContentsIndexPreviousNext

To prepare your application for use in a distributed environment

1. Identify the files or processes that you want to distribute onto the server. Distributing files involves the use of AcuServer, Acucorp's file server. Distributing processes involves the use of AcuConnect, Acucorp's application server.

2. Code your application as usual, or review your existing code for usefulness in the distributed plug-in environment. If desired, include some of the plug-in specific library routines or fields described in section 5.4.1 Coding for the Plug-in. Be sure to refer to the special coding considerations listed at the end of that section. If you plan to distribute processes, you may need to make some programming changes as described in Chapter 6 of this book.

3. Compile your initial program using ACUCOBOL-GT. The resulting object file can be executed from within a browser on any Windows machine that has the plug-in installed.

4. Create client/server configuration files as described in the AcuServer and AcuConnect User's Guides. Minimally, the client configuration file should contain the path of the server files or processes. This is achieved using the FILE_PREFIX or CODE_PREFIX configuration variables.

5. Configure the plug-in runtime, if desired. This is described in section 5.4.2 Configuring the Plug-in Runtime.

6. Link external C routines into the plug-in if desired. This procedure is described in section 5.4.3 Linking C Routines Into the Plug-in Runtime.

7. Move all programs except the initial program onto the server.

8. Set up and run AcuServer and/or AcuConnect on the server machine.

9. Include the initial object file in your Web site as described in section 5.5 Including Your COBOL Application in the Web Site.