42 lines
2.3 KiB
HTML
42 lines
2.3 KiB
HTML
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||
|
<html>
|
||
|
<head>
|
||
|
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||
|
<LINK rel="stylesheet" type="text/css" href="../../../rzahg/ic.css">
|
||
|
|
||
|
<title>Supported scripting languages</title>
|
||
|
</head>
|
||
|
|
||
|
<BODY>
|
||
|
<!-- Java sync-link -->
|
||
|
<SCRIPT LANGUAGE="Javascript" SRC="../../../rzahg/synch.js" TYPE="text/javascript"></SCRIPT>
|
||
|
|
||
|
<h4><a name="wsajacl"></a>Supported scripting languages</h4>
|
||
|
|
||
|
<p>The wsadmin tool supports the Jacl and Jython scripting languages.</p>
|
||
|
|
||
|
<p><strong>Jacl</strong></p>
|
||
|
|
||
|
<p>Jacl is an alternate implementation of TCL, and is written entirely in Java code. The basic syntax for a Jacl command is:</p>
|
||
|
|
||
|
<pre>Command arg1 arg2 arg3 ...</pre>
|
||
|
|
||
|
<p>The command is either the name of a built-in command or a Jacl procedure. For example:</p>
|
||
|
|
||
|
<pre>puts stdout {Hello, world!}</pre>
|
||
|
|
||
|
<p>This example demonstrates the <tt>puts</tt> command, which takes two arguments: an I/O stream identifier (stdout) and a string (Hello, world!). The <tt>puts</tt> 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.</p>
|
||
|
|
||
|
<p>For more information about Tcl and Jacl, see <a href="http://www.usenix.org/publications/library/proceedings/tcl97/full_papers/lam/lam.pdf" target="_blank">Jacl: A Tcl implementation in Java</a> <img src="www.gif" width="19" height="15" align="absbottom" alt="Link outside Information Center" border="0"></p>
|
||
|
|
||
|
<p><strong>Jython</strong></p>
|
||
|
|
||
|
<p>Jython is a Java implementation of the Python scripting language.</p>
|
||
|
|
||
|
<p>For more information about Jython and Python, see these Web sites:</p>
|
||
|
<ul>
|
||
|
<li><a href="http://www.jython.org/" target="_blank">Jython Home Page</a> <img src="www.gif" width="18" height="15" align="absbottom" alt="Link outside Information Center" border="0"></li>
|
||
|
<li><a href="http://www.python.org/" target="_blank">www.python.org</a> <img src="www.gif" width="18" height="15" align="absbottom" alt="Link outside Information Center" border="0"></li>
|
||
|
</ul>
|
||
|
</body>
|
||
|
</html>
|