Progress
Open Client
Developer’s Guide
Writing a SmartDataObject-aware Java Client
Follow these steps to write a Java client that accesses a SmartDataObject:
- Connect to the AppServer by instantiating an AppObject or SDOAppObject class.
- Create an SDOResultSet object based on the specified SmartDataObject using the
Appobject
._createSDOResultSet()
class factory method, where Appobject is the SDOAppObject, AppObject, or an associated SubAppObject instance.- Invoke standard JDBC 2 and extended methods on the SDOResultSet to query and modify data accessed through the SmartDataObject.
- Close the SDOResultSet using the
SDOResultSet.close
() method.- Release the SDOAppObject, AppObject, or SubAppObject using the Appobject._
release()
method.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |