PASSPORT Knowledge Base
Miscellaneous

Date Published: April 6, 2004
Date Updated: March 10, 2008

Title

ActiveX vs Java

Product

PASSPORT Web to Host

Emulation Types

TN3270, TN5250, VT, SCO ANSI, Wyse 60

Issue

Why use ActiveX and C++ instead of Java?

Solution

Speed and reliability are the main reasons.  Since Java applets contain byte code that is interpreted by a Java virtual machine within a Web browser, there are additional software layers between the application and the operating system.  This causes Java Web-to-Host implementations to always be significantly slower that ActiveX implementations.  This is the number one complaint of users that currently use Java based solutions.

 

Reliability is also another major concern.  Since ActiveX is tightly integrated with the Microsoft operating system and Web browser, all Windows API functions are called directly.  Java virtual machines vary from one operating system to another.  Reliability problems with Java solutions can occur with printing and user interface issues, producing multiple points of failure.

More Information

Keywords

PASSPORT Web to Host, activex, java, c++