To prepare your application for use in a distributed processing environment, you need to divide the application into two main components: a client component and a server component. If you are developing a new application, you can consider the division during the design stage of development. If you are modifying an existing application for use in a distributed processing environment, you need to find a logical division point.
With distributed processing, your client application should not only contain the user interface portion of the program, but also all of the interactive components. The server application, on the other hand, should be reserved for batch processing components (components that do not require user interaction).
How much processing is performed on the client and how much on the server is totally up to you. With AcuConnect's distributed processing capabilities, you can distribute the workload for maximum throughput. Be sure to consider such issues as network I/O, performance, and security when designing your application distribution.
If you change the location of your server application, all you need to do is change the CODE_PREFIX setting or the code alias definition in the client configuration file (for example, client.cfg). If you want to be able to access your application on multiple machines, you can install the server component in several locations, and then modify client.cfg on an as-needed basis. See Distributed Processing Application Design for more information on the design of a distributed processing application.