Building Distributed
Applications
Using the Progress AppServer


Understanding the Scope of Persistent Procedures

A remote procedure on the AppServer that you run with the PERSISTENT option, and a local procedure that you run with the PERSISTENT option both perform in identical fashion. That is, its context is created when the instantiating procedure starts to execute and that context persists after it returns until the end of the Progress session, or until it is explicitly deleted.

When a remote procedure is run persistently, the persistent context is managed strictly within the AppServer session where the persistent procedure is run. This is consistent with the existence of the processing boundary that separates an AppServer session distinctly from a client application session. If a remote procedure creates other local Progress objects (persistent procedures), these objects are only available locally within the Application Server process in which they were created. These objects cannot be shared between a 4GL client application and the AppServer session.


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