CGI scripting works well in a situation that will involve a modest number of simultaneous browsers. If too many people run the program at the same time, the server system will be brought to its knees, slowing down or even preventing the presentation of other web pages from that server.
The CGI program may execute on the server with the identity of the web server, in which case it will have access to a great many files on the system. In such a case, there will need to be appropriate precautions to ensure the integrity of the system.
The CGI program may execute on the server with the identity of the individual authorized user who wrote it. In this case, the CGI program will have access to all files on that server that are owned by that user, including any personal E-mail files that are kept on that system.
JAVA has the advantage over CGI that the available resources for executing the program grow in exact proportion to the number of people running it, instead of being constant.
The disadvantages of JAVA include the following:
The CGI program may provide database access for updates, for revisions, or for reports, such as the class schedule we looked at earlier. These "Real Applications" may well be a trend for some time to come, permitting application programmers to concentrate on their application, and using the web browser as a universal user interface.
Dick Piccard revised this file (http://ouvaxa.cats.ohiou.edu/~piccard/oacrao/pages.html) on November 12, 1996.
Please send comments or suggestions to piccard@ohiou.edu.