CCL Home Page
Up Directory CCL t008.html
slide

Jan K. Labanowski: "Tomcat, servlets, JSPs and other friends"

Standalone application

The processing steps involve:
  • Web server passes request parameters (and possibly also the environment variables, information about the request itself, etc.) to a software package. It can be a specific program, or a script, interpreter, or anything executable.
     
  • Application runs and does something, and produces some output and sends it usually to STDOUT
     
  • Web server collects the output from the application.
     
  • When application finishes (exits, dies...) the Web server sends the output accummulated from the application to the Web browser which originated the request. Web server needs to put number of bytes into the Content-Length header field of its response.
     
This approach is very taxing on the computer. Standalone application is called separately for each request. New process need to be created, kernel tables have to be updated, etc., etc., At the same time, this approach is easy to set up, and flexible. For a low volume traffic, it is quite fine.

Modified: Tue Feb 12 20:33:44 2002 GMT
Page accessed 3385 times since Tue Feb 4 16:13:51 2003 GMT