Operating Systems: i5/OS
             Personalize the table of contents and search results

 

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 Enterprise Java Beans (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.

 

Overview

To perform the required configuration, complete the following steps:

 

Procedure

  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 by using one of the following methods:




}

 

Related tasks


Starting an ActiveX application and configuring service programs
Starting an ActiveX application

 

Related Reference


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