WAS v8.5 > Deploy applications > Deploy client applications > Run an ActiveX client application

Start an ActiveX application and configuring non-service programs

To run an ActiveX program initiated from an icon or command line (a non-service program) that is to use the ActiveX to the EJBs (EJB) bridge, perform some initial configuration to set appropriate environment variables and to enable the ActiveX to EJB bridge to find its XJB.JAR file and the Java run-time environment. This uses a batch file to set up the environment within which the ActiveX program can run.

To perform the required configuration...

  1. Edit the setupCmdLineXJB.bat file to specify appropriate values for the environment variables required by the ActiveX to EJB bridge. For more information about these environment variables, see ActiveX to EJB bridge, environment and configuration. For more information about creating a JVM for an ActiveX program, see ActiveX to EJB bridge, initializing the JVM. After the ActiveX program has created an XJB.JClassFactory object and called the XJBInit() method, the JVM is initialized and ready for use.
  2. Start the ActiveX client application using one of the following methods:

    • Use the launchClientXJB.bat file to start the application. For example:

      or

    • Use the setupCmdLineXJB.bat file to create an environment in which to run the application, then start the application from within that environment.


Related


Start an ActiveX application and configuring service programs


Reference:

setupCmdLineXJB.bat, launchClientXJB.bat and other ActiveX batch files


+

Search Tips   |   Advanced Search