Progress
ADM 2 Guide


AppServer Session Operating Modes and SmartDataObjects

In a distributed application, a SmartDataObject inherits its operating mode—state-aware, stateless, or state-reset—from the AppServer that it uses to access its database. (This is the default behavior; you need not configure the SmartDataObject specially for this to happen.) These three modes operate as follows:

In some cases, you might want a SmartDataObject to run in a state-aware mode even though the AppServer is running in stateless mode. For example, a SmartDataObject might have a query that is so complex that the overhead of re-establishing it at every use degrades performance. To request state-aware mode explicitly, you set the Force to Stateful Operating Mode instance property in the SmartDataObject’s Instance Property dialog box. This property causes the SmartDataObject to run in state-aware mode even though AppServer session is running in stateless mode. (For an illustration of the SmartDataObject Instance Property dialog box, see SmartObjects.")

NOTE: A SmartDataObject executes exactly the same regardless of its operating mode.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095