Documentation Archive Developer
Search
Table of Contents Previous Section

WebObjects Adaptors

The WebObjects adaptor receives requests from the server, repackages the requests in a standard format, and forwards them to an appropriate WebObjects application. All WebObjects adaptors communicate with WebObjects applications in the same way, but they communicate with HTTP servers using whatever interface is provided by a particular server. For example, the WebObjects CGI adaptor uses the Common Gateway Interface, the Netscape Interface adaptor uses the Netscape Server API, and the Internet Server adaptor uses ISAPI. Thus, WebObjects adaptors can take advantage of server-specific interfaces but still provide server-independence.

Figure 4. The Role of a WebObjects Adaptor

By default, WebObjects uses the WebObjects CGI adaptor. The Common Gateway Interface is supported by all HTTP servers, so you can use the CGI adaptor with any server-including those that are publicly available. As performance demands increase, use one of the other adaptors with a server that supports the corresponding API (Netscape Server API or Internet Server API). Such servers are capable of dynamically loading the adaptor, eliminating the overhead of starting a new process for each request. As shown in Figure 5, the communication between the adaptor and the HTTP server occurs inside a single process.

Figure 5. The Netscape Interface Adaptor

The on-line document "Serving WebObjects" describes how to configure a WebObjects adaptor.

Table of Contents Next Section