Network Deployment (Distributed operating systems), v8.0 > Scripting the application serving environment (wsadmin) > Use the Administration Thin Client


Compiling an administration application using the Thin Administration Client

Use wsadmin.sh to use the thin administrative client to compile an application.

To use the thin administrative client JAR files to compile an application, perform the following steps:


Procedure

  1. Include the com.ibm.ws.admin.client_8.0.0.jar JAR file in the CLASSPATH.
  2. Compile the application.


Example

For example, the JAR file is located in the WAS_HOME/runtimes directory and to compile the ThinAdminClientApplication.java file in the current directory. Use the following to compile the file::
export CLASSPATH=WAS_HOME/runtimes/com.ibm.ws.admin.client_8.0.0.jar:${CLASSPATH}
${JAVA_HOME}/bin/javac ThinAdminClientApplication.java

Use wsadmin scripting
Enable trace on client and stand-alone applications
Start the wsadmin scripting client using wsadmin.sh
Run wsadmin.sh remotely in a Java 2 Platform, Standard Edition environment

+

Search Tips   |   Advanced Search