Deploying Java libraries or classes
During macro playback, when the macro runtime processes a call to a Java method, the macro runtime searches all the available Java library files and class files for the class to which the method belongs, until it finds the class.
Deploying a Java library or class consists of placing the library file or class file containing the class in a location where the macro runtime can find it during macro playback.
- Classes in the Java API (the Java archive files are already present on the client workstation and their locations are listed in the classpath that is specified when the Z and I Emulator for Web client is launched).
- Classes in the Z and I Emulator for Web Macro Utility Libraries (HML libraries) are stored with the Z and I Emulator for Web client code (see The Macro Utility Libraries (HML libraries)).
All other Java classes containing methods invoked by a macro script must be deployed by you to a location where the macro runtime can find them. Depending on the environment, you can deploy the Java classes as class files or as libraries containing Java classes.
For more information on deploying Java libraries and classes, see "Deploying customer-supplied Java archives and classes" in Planning, Installing, and Configuring Z and I Emulator for Web.