ActiveX client programming best practices

The best way to access Java™ components is to use the Java language. It is recommended that you do as much programming as possible in the Java language and use a small simple interface between your COM Automation container (for example, Visual Basic) and the Java code. This interface avoids any overhead and performance problems that can occur when moving across the interface.

Best practice: The following topics are covered:
  • Visual Basic guidelines
  • CScript and Windows® Scripting Host
  • Active Server Pages guidelines
  • J2EE guidelines
bprac

Visual Basic guidelines

The following guidelines are intended to help optimize your use of the ActiveX to EJB bridge with Visual Basic:

CScript and Windows Scripting Host

The following guidelines intend to help optimize your use of the ActiveX to EJB bridge with CScript and Windows Scripting Host (WSH):
  • Launch in ActiveX to EJB environment.
    Launch the VBScript files in the ActiveX to EJB bridge environment, to run VBScript files in .vbs files. Two common ways exist to launch your script:
    • launchClientXJB MyScript.vbs
    • launchClientXJB cscript MyScript.vbs

Active Server Pages guidelines

The following guidelines intend to help optimize your use of the ActiveX to EJB bridge with Active Server Pages software:

J2EE guidelines

The following guidelines are intended to help optimize your use of the ActiveX to EJB bridge with the J2EE environment;




Related tasks
Developing ActiveX client application code
Reference topic    

Terms of Use | Feedback

Last updated: Oct 21, 2010 3:36:59 AM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=compass&product=was-express-iseries&topic=rcli_activexbestpractice
File name: rcli_activexbestpractice.html