Servlets and Alternatives

Traditional CGI (Common Gateway interface) and other proprietary technologies from Netscape (NSAPI) and Apache are some of the alternatives for extending the functions of the server into the presentation world. Servlets achieve the same basic goal as the other server extension mechanisms listed in Table 14.1, but the advantages of servlets outweigh the features of other alternatives. Some of the advantages are as follows:

  • The traditional CGI process model in most Web servers (with the exception of some of them, such as iTPWebServer in Tandem platform) starts a new process for every invocation of a function. These are single-threaded processes with no caching abilities because the process is stopped once the service is ...

Get BEA WebLogic Server™ 8.1 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.