Progress
Open Client
Developer’s Guide
Developing and Deploying a SmartDataObject-aware Application
Follow these steps to develop and deploy Java applications that access SmartDataObjects:
- Use the AppBuilder tool to create and compile a SmartDataObject.
- Deploy the compiled SmartDataObject (the
*.r
file) on the AppServer side (the compiled SmartDataObject must be on the PROPATH of the AppServer).- Copy the Progress-compiled ADM2 (Application Development Model, Version 2) r-code files to a directory in the AppServer PROPATH. You can find these files in the Progress-Install-Directory
\gui\adm2
directory, wherever you have the Progress AppBuilder installed. To complete this step, you can copy these files to your AppServer Progress-Install-Directory\tty\adm2
directory.- Deploy the Open4gl Client Runtime package on the client side. For more information, see Configuration and Deployment."
- If your Java application needs only SmartDataObject access (it does not access other remote 4GL procedures), you are ready to write Java applications that access the SmartDataObject.
- If your Java application needs to access 4GL procedures other than SmartDataObjects, use ProxyGen to create the proxies and deploy them on the client side (see "Generating and Managing Proxies"). However, you do not have to map the SmartDataObject as a ProcObject. ProxyGen provides built-in access to SmartDataObjects in Java.
NOTE: If you add your own extensions (new 4GL methods) to a SmartDataObject, to access these extensions you must access the SmartDataObject as a separate ProcObject that you create in ProxyGen. This allows you to directly access the SmartDataObject as a Progress persistent procedure with complete access to its public internal procedures and user-defined functions. For more information on accessing a SmartDataObject as a ProcObject, see "Accessing a SmartDataObject API Directly."
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |