The following information applies to OnDemand for z/OSThe following information applies to Content Manager OnDemand for i.The following information applies to OnDemand for Multiplatforms.

Programming tips

You must import the com.ibm.edms.od package into your ODWEK application.

You do not need an HTTP server or a web application server to run ODWEK applications that use the Java™ API. You can run the Java interpreter on ODWEK applications.

To run the Java interpreter on an ODWEK application:

  1. The following information applies to OnDemand for z/OSThe following information applies to OnDemand for Multiplatforms.Copy the shared libraries to the runtime directory. If you do not want to copy the shared library to the runtime directory, you can copy the files to the Java.Library.Path.
    Table 1. Shared library file names
    Operating System Shared Libraries
    AIX®
    • libars3wapi32.so
    • libars3wapi64.so
    Linux®
    • libars3wapi32.so
    • libars3wapi64.so
    Windows
    • ars3wapi32.dll
    • ars3wapi64.dll
    • icudt58.dll
    • icuin58.dll
    • icuio58.dll
    • icuuc58.dll
    • arsgsk64.dll or arsgsk32.dll
    z/OS®
    • libars3wapi32.so
    • libars3wapi64.so

    The following information applies to Content Manager OnDemand for i.The Java API shared library (service program) is ARS3WAPI64 and is found in the QRDARS library.

  2. Run the Java interpreter on your application by entering a command similar to the following example: java Logon server userid passwd.

    The following information applies to Content Manager OnDemand for i.You must issue the command in Qshell or by entering the Run Java Program (JAVA) command, with the appropriate parameters, from the command line.