Forum Post: Calling OE OpenClient from Rollbase: Rollbase can access Java Classes from Object...

  • Thread starter Thread starter wood
  • Start date Start date
Status
Not open for further replies.
W

wood

Guest
One thing I have been curious about is how to take Java Proxy and other OpenClient classes and use those in Rollbase Object Script. Peter Judge posted a nice new whitepaper on this -- Calling ABL Business Logic from Rollbase via OpenClient - at https://community.progress.com/technicalusers/m/technicalusersgallery/69.aspx. This shows how you can extend a private-cloud install of Rollbase with your own java classes, and then invoke these in JavaScript. For exampple: var status = new Packages.com.progress.open4gl.StringHolder(); var s2k = new Packages.samples.sports2000.Sports2000 ("AppServer://localhost:5162/Sports2000", "","", ""); // Pass the values to ABL and retrieve the status s2k.update_department(deptCode, deptName, status); // Disconnect from the AppServer s2k._release(); // Create an activity/audit record rbv_api.createActivityLog("$ORG_DEPT", {!id}, "OE AppServer Status: " + status.getStringValue());

Continue reading...
 
Status
Not open for further replies.
Back
Top