Skip to content

Motivation

inno-juanal edited this page Mar 1, 2017 · 6 revisions

This library was created out of the need of reusable code to minimise the effort to manipulate documents in Java services, especially getting input and setting output.

Benefits

It provides an abstraction for Integration Server documents. Compared to coding directly with IData and IDataUtil, you get:

  • Less boilerplate code
  • An easy-to-use and consistent abstraction
  • Predictable and extensible automatic type conversion for input and output
  • Uses collections as opposed to arrays
  • Allows setting expectations about values being retrieved. For instance, it makes it easy to say that you want to retrieve a mandatory parameter in your service implementation
  • Easier nested documents manipulation
  • No need to use IDataCursor instances directly. It avoids using try/finally to ensure cursors are destroyed, as this happens internally