The WebSpeed Generic Service for the JSDO implements the Cloud Data Object (CDO) protocol using a WebSpeed service instead of a Data Object service.
This service only needs to be deployed once and can be used as a proxy to access data from multiple tables. Dynamic code in the WebHandler can also be used to call methods in a Business Entity so that existing Business Entities or custom ones can be used.The attached zip file contains the sample source code for the generic service.
Note: The sample source code gives access to all the tables in the database, including schema tables. Also, the program uses dynamic code to execute existing Business Entities if found in the PROPATH. From a security point of view, you may want to validate any input that comes from the web and filter the data (for example what tables to access) that is returned.Creating a WebSpeed service in OpenEdge 11.6Steps
Example using an existing Business EntitiesSteps