Thin Client optimization
Client/Server performance in Thin Client environment are influenced by the network traffic generated by the communication between the user interface that runs on the client and the back-end part that runs on the server. Refer to
User Interface Optimization for suggestions about how to optimize this communication.
In addition, when working in a thin client environment, the following suggestions might be useful.
• when you need to create or read a rather huge sequential file on the client pc, it’s better to have a copy of it on the server and work on that copy rather than accessing the file directly on the client with the class “com.iscobol.io.RemoteRelative”. Refer to C$COPY documentation for information about how to copy files from server to client and vice versa.
• when you need to create a PDF print file on the client pc, it’s better to print the PDF locally on the server and then copy it to the client. Refer to C$COPY documentation for information about how to copy files from server to client.
• if you have a lot of icons and pictures, you may consider to copy them to the client machine and load them from there using
WBITMAP-LOAD-FROM-CLIENT instead of
WBITMAP-LOAD. The copy could be done during the installation or your application or at the very first runtime session. Loading bitmaps from the client machine reduces the client/server traffic and, as a consequence, improves performance.
isCOBOL offers the ability to compress data that transits on the TCP/IP. Set
iscobol.gui.cscompress * properly to take advantage of this feature.