The Reflection for the Web emulation applets include two application programming interfaces (APIs) that enable you to automate routine tasks.
The JavaScript API, or JSAPI for short, is the language used by Reflection for the Web macros, which are used to automate repetitive tasks. For more information on macros, see Recording macros. The JavaScript API is intended primarily to help you automate host logon tasks and provide access to setup dialog boxes in the emulator applets, and the methods and properties provided are designed specifically with these tasks in mind.
The Reflection for the Web Emulator Class Library, or ECL API, is designed primarily for Java programmers and includes more advanced features such as event listeners, access to user interface components, and screen recognition.
The ECL development kit is included on your product download in an api folder. The documentation in the toolkit provides more detail about using the API to automate Reflection tasks from standalone Java applets and applications, as well as through "attachment classes," custom classes that you attach to a running terminal session.
Related Topics