The WebTier cannot be used to implement a CGI application.
The WebTier is designed to support ISAPI, ASP, or Apache Shared Modules. Examples are installed to RBServer\Demos\WebTier. Each example includes a ReadMe.doc. The demos also include an example of using the WebTier in a Delphi WebBroker WebDebugger application. This is recommended for debugging applications.
CGI applications load a separate process for each web request – this provides poor performance and is not recommended.
ISAPI, ASP, and Apache Shared Modules all essentially load a .DLL a single time into memory and it is used to handle all of the requests in a multi-threaded manner. This provides better performance.
The WebTier architecture is designed to take advantage of a single process, multi-threaded architecture.