14.9.4 Seeing How Duality View Simplifies Logic

Compare the 26ai duality view API with the 19c version to see how much code it removes.

Using JSON type and a Duality View simplifies many aspects of the REST API implementation with custom business logic. For this action items REST API example, the 26ai version requires 51% less code to implement the same functionality:
  • 158 lines in ACTION_ITEMS_DV_API, versus
  • 325 lines in Oracle 19c-compatible ACTION_ITEMS_API.