Java applet knelt down for ActiveX

Source: Internet
Author: User

Sensational! Java applet is not human, how can kneel? Is kneeling, how can give ActiveX this wayside kneel?

Once upon a while, the Java applet trampled ActiveX under its feet. ActiveX is unsafe, and Java applets are able to construct Sandbox,java applets that can be run in the sandbox because of the technology of the virtual machine, and the sandbox can eliminate any dangerous actions of Java applets, such as IO for local files, and so on. Because of this, of course, because of the Java camp's exaggerated hype and speculation, the majority of companies have their firewalls configured to prohibit any ActiveX through. ActiveX on a Web page is synonymous with security vulnerabilities.

Java applets really put ActiveX under their feet. At the same time, it is because of the success of the applet, so that Java became synonymous with the network era, a single spark, a prairie fire in the world. A language for small devices and online small programs, finally become a full-featured language, into the enterprise level, the formation of their own development platform, Microsoft can not hit the hand. Microsoft has had to reinvent its development language in all its aspects, more or less in Java. As we all know, this is. The origin of the net development language. No JAVA,VB can become vb.net so soon, there will be no C #, No. NET Common Runtime and so on, I'm afraid no one disagree.

Java's success began with Java applets, and support for Java applets started from Netscape. After Internet Explorer followed up, all browsers must support Java applets. Microsoft didn't dare to think much at Netscape's heyday, so Internet Explorer has been honest about supporting Java applets. But Netscape does not appreciate it, so Netscape's support for ActiveX has been limited to the plug-in of the installation, which means that ActiveX cannot be run in a Netscape browser unless the user installs a plug-in. The average user is not aware of the need to install another software, or know need to install, but do not know how to install, or know the need to install, but also know how to install, but for fear of trouble and other reasons are not installed. So sorry, users can't browse Web pages with ActiveX.

Any web developer is also very aware of this. If they use ActiveX instead of Java applets on their web pages, it is estimated that half of the Internet users will not be able to use their web site because they use the Netscape browser. In the customer first consideration, only choose Java Applet, discard ActiveX.

It was an unequal treaty, but at that time Microsoft was not able to fight back.

now it's different, on the one hand Netscape has turned from a tiger to a cat, on the other hand Microsoft has won the lawsuit without having to load the JVM in the operating system. Microsoft has countered. Now IE6.0 has reduced Java support to the level of plug-in that it chooses to install, that is, unless the user installs a JVM after installing IE, the Java Applet can be run. For ordinary users, this can only bring inconvenience, is a kind of retrogression.

but for Microsoft, the unequal treaties became equal, but at the cost ....

Let's take a look at how IE6 now supports Java applets. To run Java applets on IE, web developers can specify a version of the Sun JVM plug-in (specifically developed for IE) that triggers ie to automatically download the plug-in. For example, the following tag declares a Java Applet with the class name Com.cmpc.CMPCApplet3, which requires a 1.4.1 or newer sun JVM (plug-in developed for IE):


width= "height=" name= "CMPC"
codebase= "Http://java.sun.com/products/plugin/autodl/jinstall-1_4-windows-i586.cab#Version=1,4,1,mn" >




after the JVM is downloaded and installed, IE automatically runs the applet. Of course, each version of the JVM is downloaded and installed only once, unless another applet needs another version of the JVM, otherwise it will not need to be downloaded and installed again. This is not particularly inconvenient, especially for users with high-speed Internet access conditions. But if you are using a 56K modem, this is a problem, you may need to find this version of the JVM CD, you install on the machine, and then browse the need for this JVM Web page.

readers may not see it: Where is Java kneeling? Did I get too far off the topic?

Wait, you take a closer look at the label above. It shows that the JVM is an ActiveX.

Strange, it's not surprising to think about it. IE's plug-in must be ActiveX. After the JVM has dropped to the plug-in level, it is reduced to a normal level of ActiveX. All Java applets are small programs that run inside this ActiveX.

a more secure and powerful Java applet must rely on ActiveX to run. Strictly speaking, it is still running inside an ActiveX.

It is even more interesting to think again, if the user continues to believe that the Java camp was the original propaganda, the user's firewall will not let the Sun JVM as an ActiveX through the past, users can not let IE automatically install the JVM. In that case, the user's way out is only one: to find a CD, and then manually installed on each machine. However, according to the experience of Netscape users, no one is impatient to do so.

did you tell me that the Java applet was kneeling?

Java applet knelt down for ActiveX

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.