Supported scripting languages

The wsadmin tool supports the Jacl and Jython scripting languages.

Jacl

Jacl is an alternate implementation of TCL, and is written entirely in Java code. The basic syntax for a Jacl command is:

Command    arg1   arg2   arg3   ...

The command is either the name of a built-in command or a Jacl procedure. For example:

puts stdout  {Hello, world!}

This example demonstrates the puts command, which takes two arguments: an I/O stream identifier (stdout) and a string (Hello, world!). The puts command writes the string and a trailing new line character to the I/O stream. In Jacl, the command interprets the specified arguments. The use of stdout as a name is a convention employed by puts and the other I/O commands. Use stderr to identify the standard error output, and use stdin to identify the standard input.

For more information about Tcl and Jacl, see Jacl: A Tcl implementation in Java Link outside Information Center

Jython

Jython is a Java implementation of the Python scripting language.

For more information about Jython and Python, see these Web sites: