Operating Systems: i5/OS
Personalize the table of contents and search results
Compiling an application in a non-OSGi environment using scripting
Use the wsadmin tool to use the thin administrative client to compile
an application.
Overview
To use the thin administrative client JAR files to compile an
application, perform the following steps:
Procedure
- Include the com.ibm.ws.admin.client_6.1.0.jar JAR file
in the CLASSPATH.
- Compile the application.
Example
For example, the JAR file is located in the app_server_root/opt/resources directory and you want to compile the ThinAdminClientApplication.java file
in the current directory. Use the following to compile the file:
export CLASSPATH=/opt/resources/com.ibm.ws.admin.client_6.1.0.jar:${CLASSPATH}
${JAVA_HOME}/bin/javac ThinAdminClientApplication.java
}
Using scripting (wsadmin)
Application client functions
Enabling trace on client and stand-alone applications
Starting the wsadmin scripting client
Running the wsadmin tool remotely in a Java 2 Platform, Standard Edition
environment
|