Important

   

This space contains documentation for TrueSight Server Automation 8.9.03 and the later service packs for 8.9. For earlier releases, see BMC Server Automation 8.9.

Jython and the JLI

Jython is an open-source Java based version of the Python scripting language. It offers a native scripting interface with Java classes. The Jython Line Interface (JLI) is a Jython module that provides an authenticatable, object-oriented interface to TrueSight Server Automation's CLI Engine. Because of this, the JLI acts as a Jython bridge to the BLCLI, supporting all released BLCLI commands (as listed and described in the BLCLI Help).

A main advantage to using the JLI is speed of execution. Normally, each time a BLCLI command executes, the Java Virtual Machine (JVM) must start, and the BLCLI must authenticate against the TrueSight Server Automation Application Server. However, a JLI script can instantiate a single connection to the BLCLI that requires a single occurrence of the JVM as well as a single authentication with the Application Server. This allows the script to run faster because you do not have to start the JVM and authenticate for each command.

Note

In addition to the JLI, there is also another way to launch the JVM and connect to the Application Server only once per session—by using the NSH performance commands. For information on these performance commands, see NSH performance commands.

For more information about Jython and the JLI, see the following topics:

Was this page helpful? Yes No Submitting... Thank you

Comments