Oracle Integration Cloud: Building Integrations That Survive Production · Module 11 · Lookups, libraries and reuse
JavaScript libraries in OIC
Lesson 112 of 175 · 2 min
When the mapper cannot express something. The narrow set of cases that justify code, and the maintenance it adds. The mapper handles the overwhelming majority of transformation, and Module 5 covered its functions in depth. A JavaScript library is the escape hatch for what it genuinely cannot do. THE HONEST LIST IS SHORT. A non-trivial algorithm — a checksum, a check-digit calculation, a hash. A parse of a string with a structure the mapper's string functions cannot decompose. A date arithmetic the built-ins do not offer. Genuine cases, and rare. WHAT DOES NOT JUSTIFY IT is the case that produces most of the libraries in a real estate: "the mapping was getting complicated so I moved it into code." That is a transformation nobody can read from the mapper — the mapping now shows a function call and nothing about what it does — and it is usually a sign…
The full lesson is part of the course
The video, the complete written lesson and the module quiz are included in Oracle Integration Cloud: Building Integrations That Survive Production, with a certificate on completion and a fourteen-day refund window.
