Red Hat Training

A Red Hat training course is available for Red Hat JBoss Operations Network

Part II. Basic Examples for Running JBoss ON Scripts Through the CLI

One of the ways to run scripts on the JBoss ON server is through the JBoss ON CLI. [1] The JBoss ON CLI is essentially a script interpreter which processes JavaScript — either interactively or from a file — and translates it into Java, which the server then run. The CLI uses the server's remote API, an underlying domain API, and some of its own CLI-specific methods to make common tasks easier to execute.

[1] Other methods include alert scripts and custom clients.