Documentation Archive Developer
Search
PATH  Documentation > WebObjects 4.5 > WebObjects Developer's Guide


Table of Contents Previous Section

Request Level

The request-response cycle has three phases, the first for transferring user-entered data to the objects associated with the request page, the second for invoking an action method, and the third for generating and returning the response. Figure 17 shows how WebObjects requests are handled at the transaction level.

Figure 17. Request-Response Loop: Transaction Level

Three classes are involved at this level:

You rarely need to work directly with WOContext, and only occasionally with WORequest and WOResponse. At the beginning of the request-response loop, the WOAdaptor and WORequestHandler objects create instances of these three classes and they are passed from object to object as needed. From these objects, the components, dynamic elements, and other objects involved in the cycle get essential information. See "How WebObjects Works-A Class Perspective" for more on the mechanics of request handling.

Table of Contents Next Section