The procedure below will take you through the process of making your application SmartDataObject aware.

To develop and deploy Java applications that access SmartDataObjects:

  1. Use the AppBuilder to create and compile a SmartDataObject.
  2. Deploy the compiled SmartDataObject (the *.r file) on the application server side. (The compiled SmartDataObject must be on the PROPATH of the application server.)
  3. Copy the ABL-compiled ADM2 (Application Development Model, Version 2) r-code files to a directory in the application server PROPATH. You can find these files in the OpenEdge-install-directory\gui\adm2 directory, wherever you have the OpenEdge AppBuilder installed. To complete this step, copy these files to your application server's OpenEdge-install-directory\tty\adm2\ directory.
  4. Deploy the Open Client Runtime package on the client side. For more information, see Configure and Deploy Java Open Client Applications.
  5. If your Java application needs only SmartDataObject access—it does not access other remote ABL procedures—you are ready to write Java applications that access the SmartDataObject.
  6. If your Java application needs to access ABL procedures other than SmartDataObjects, use ProxyGen to create the proxies and deploy them on the client side (see Learn About Open Clients). You do not have to map the SmartDataObject as a ProcObject, however; ProxyGen provides built-in access to SmartDataObjects in Java.