

Server and Application Level
At the server and application level, the request-response loop looks like that shown in Figure 14.
The HTTP server sends a request to the application's adaptor. The adaptor packages the incoming HTTP request in a form the WebObjects application can understand and forwards it to the application. The application initiates and manages the process of request handling and returns the completed response to the adaptor, which gives it to the HTTP server in a form the server can understand.
Two classes are involved at this level:
- WOAdaptor (in Java, Adaptor)
Defines the interface for objects mediating the exchange of data between an HTTP server and a WebObjects application. This is an abstract class.
- WOApplication (in Java, WebApplication)
Receives requests from the adaptor and initiates and coordinates the request-handling process, after which it returns a response to the adaptor. WOApplication also creates dynamic elements "on the fly" and manages adaptors, sessions, application resources, and components.
Table of Contents
Next Section