JSDO classes and objects
- Last Updated: March 2, 2023
- 2 minute read
- OpenEdge
- Version 12.2
- Documentation
The JSDO provides the following classes and objects that support the creation and access to JSDO instances:
-
progress.data.JSDOclass — Allows you to create JSDO instances for Data Object resources that can asynchronously execute the resource-supported Data Object operations and exchange the data defined by these resources between a mobile app and the server where the data is stored, as described in the progress.data.JSDO.class topic. For more information, see the remaining topics of this JSDO overview. -
progress.data.JSDOSessionclass — Allows you to create aJSDOSessionobject that asynchronously manages a JSDO login session between the mobile app and a web application running on the server. This enables a JSDO to access the resources provided by a Data Object Service that is supported by this web application, as described in the progress.data.JSDOSession.class topic. Of the two supported options (JSDOSessionandSession), this is the Progress-recommended class for managing JSDO login sessions. For more information, see Manage JSDO login sessions.. -
progress.data.JSRecordclass — References a record object in JSDO memory, as described in the progress.data.JSRecord.class topic. For more information, see How a JSDO maps to a Data Object resource and How JSDO memory works. -
progress.data.Sessionclass — Allows you to create aSessionobject that can manage a JSDO login session, either synchronously or asynchronously, between the mobile app and a web application running on the server. This enables a JSDO to access the resources provided by a Data Object Service that is supported by this web application, as described in the progress.data.Session.class topic. This is an alternative to theprogress.data.JSDOSessionclass, which Progress recommends for managing JSDO login sessions. For more information, see Manage JSDO login sessions. - Request object — Contains data both sent in HTTP requests for Data Object operations when they are executed and returned in HTTP responses when the Data Object operation execution completes, as described in the request object topic and the topics of this JSDO overview. For more information, see CRUD and Submit Operations and Access custom invoke operations.
- Table and field references — References to objects and their properties in JSDO memory that correspond to resource table objects and the fields within record objects contained by these table objects, as described in the table reference property (JSDO class) topic. For more information, see Table and field references and Working records.