To use WOLongResponsePage, your long-running action should instantiate (with pageWithName:) and return a component that is a subclass of WOLongResponsePage. The subclass of WOLongResponsePage should override the method performAction, which is where the actual computation takes place. WOLongResponsePage performs the computation in a separate thread and returns a status page that indicates that the request is being processed.
Note: If you access WebObjects framework objects within performAction, you must check out the session (using the WOSessionStore's checkOutSessionWithSessionID:request: method) just before the WebObjects call and check it back in (with the checkInSessionForContext: method) just after the call.
WOLongResponsePage defines the following methods:
Table of Contents Next Section