Using the JavaScript language in PDI

JavaScript is a scripting language primarily used in website development. However, inside PDI, you use just the core language—you don't run a web browser and you don't care about HTML. There are many available JavaScript engines. PDI uses the Rhino engine from Mozilla. Rhino is an open source implementation of the core JavaScript language; it doesn't contain objects or methods related to the manipulation of web pages.

If you are interested in getting to know more about Rhino, follow this link: https://developer.mozilla.org/en/Rhino_Overview

The core language is not too different from other languages that you might know. It has basic statements, block statements (statements enclosed by curly brackets), ...

Get Learning Pentaho Data Integration 8 CE - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.