Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Server-Side DataSource Access: Complete Java Code Example

    I need to access persistent data from within a Java class that extends IDACall; there is already a XML DataSource Descriptor available for the persistent data; so I would like to access those persistent data via a server-side DataSource.

    In order to do so, I have to read in the XML DataSource Descriptor File first; before trying to reinvent the wheel, I would like to ask: Is there already a Java Code Template available for this task 'Server-Side DataSource Access' ?

    Or does it perhaps not make sense to use 'Server-Side DataSource Access' to access the persistent data ?

    #2
    There's is no need to read in the descriptor, you can simply new DSRequest() and execute() it.

    Comment


      #3
      Using DSRequest, I could accomplish server-side DataSource access quite smoothly ! The documentation of class DSRequest indeed tells us: "DSRequests can also be used entirely server-side." But I wasn't aware of that ... So thanks a lot for pointing me into the right direction wrt my current use case !

      Comment

      Working...
      X