Table of Contents Previous Section

Server and Application Management

The HTTP sends a request to the application's adaptor, a WOAdaptor object . This object packages the incoming HTTP request in a WORequest object and forwards it to the application object (WOApplication) in a handleRequest message. The application initiates and manages the process of request handling and returns the completed response (WOResponse) to the adaptor, which gives it to the HTTP server in a form the server can understand.



- WOAdaptor
An abstract class that defines the interface for objects mediating the exchange of data between an HTTP server and a WebObjects application.

- WOApplication
Objects of this class (or subclass) receive requests from the adaptor and initiate and coordinate the request-handling process, at the end of which they return a response to the adaptor. They also create dynamic elements "on the fly" and manage adaptors, sessions, application resources, and pages.

 

Table of Contents Next Section