Progress
Version 9
Product Update Bulletin
Stateless SmartDataObjects
In Version 9.0, all SmartDataObjects are run statefully, regardless of the operating mode of the AppServer Broker. Even though the Progress Explorer tool allows a site administrator to specify STATELESS mode for the AppServer Broker, SmartDataObjects ignore this specification and always run persistently, thus binding the AppServer session to one client for the life of the connection.
In Version 9.1, SmartDataObjects can sense the operating mode of the AppServer Broker and adjust accordingly. If STATELESS mode is specified for the AppServer Broker, the SmartDataObject, by default, runs in STATELESS mode as well, functioning exactly as it would if it were running in STATE-AWARE or STATE-RESET mode. The only noticeable difference is that each server request might take more time because the server-side SmartDataObject must be reestablished for each request. The benefit is that many clients can share fewer AppServer sessions with minimal performance degradation.
You might want to override this default behavior if, for example, the overhead of repeatedly reestablishing a complex query is so great that it degrades performance. To do this, check the Force to Stateful Operating Mode check box on the SmartDataObject’s Instance Properties dialog box. By default, this box is unchecked, and the SmartDataObject inherits its operating mode from the AppServer. If you check this box, the SmartDataObject runs statefully, even if the AppServer Broker operating mode is set to STATELESS.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |