Try OpenEdge Now
skip to main content
Developing AppServer Applications
Programming the AppServer : Programming for Open Client applications

Programming for Open Client applications

In general, programming AppServer procedures for Open Client (Java, .NET, and Web service client) applications is not much different than programming for ABL clients. However, for each AppServer persistent procedure that you expect to be instantiated as an Open Client object, you must also specify the prototypes defined by all super procedures, including user-defined functions, that your persistent procedure uses. The reason for this is that the Open Client Toolkit, which generates the proxy objects and Web service interface for use by Open Client and Web service applications, analyzes the r-code to help determine class definitions for proxy objects. This r-code analysis includes any super procedure references required to define equivalent method overrides for each class.
You can specify super procedure prototypes in one of two ways, depending on how you write your procedures:
*Using the ProtoGen utility available from the Application Development Environment (ADE)
*Using a text editor or the Procedure Editor
* Using the ProtoGen utility
* Using code editors