Solved

ActiveX vs Java???

Posted on 1997-08-21
3
380 Views
Last Modified: 2010-04-06
Hi...
I wonder what are the main differents between ActiveX and Java? For example - can u run an ActiveX-application on a Netscape browser???
0
Comment
Question by:thomasandersson
  • 2
3 Comments
 
LVL 2

Accepted Solution

by:
icampbe1 earned 50 total points
ID: 1342038
The main difference between ActiveX and Java is the philosophy that they subscribe to.  You see whenever some code goes into your machine from the net, there is a security risk.   ActiveX and Java deal with this risk in separate ways.

Java's philosophy is that it is OK to have a browser download or 'accept' a Java piece of code, because it can't do anything harmful on your machine.  It can do mostly screen stuff, it can't do file I/O etc.  So if you restrict the code's ability to do damage, it is safe to download.

ActiveX on the otherhand let the code have the full power of the machine without restrictions on what it can and cannot do.  The secutiry is obtained  by the fact that you get to decide who the 'trusted' sources are that you will accept a download from.  Every download comes with a certificate for your approval.  In theory, you can only get a certificate if you are a good guy.  Many subscribe to this philosophy and it seems to be working.

These are the main differences.

Ian C.

0
 

Author Comment

by:thomasandersson
ID: 1342039
Hi (again)...
But what about the techniqe behind Java and ActiveX? I know that Java uses an interpretator that translates the bytecode - but how does activeX work? And is activeX really platform-independence? Does activeX work on netscape? If it doesn't - what is the meaning to create a homepage with an ActiveX-application that only works on Internet Explorer?
I hope I can get some answers on these questions...
This is my first question here and I don't really know how much this question is worth... Hope that 55 points is enough!
//Thomas
0
 
LVL 2

Expert Comment

by:icampbe1
ID: 1342040
You offer points based upon your need, and how you believe the answer contributed to your need.  You might also look at the time and care that the person gave to your answer.

You can view ActiveX as an OCX control.  It is binary code runing on your machine.  When the browser client requests and accepts an ActiveX control, a binary program (I'll use that word) is transferred into your machine and starts to execute.   There is no restriction placed upon it.  I designed an ActiveX control that was a complete form with quite a few other controls placed on it, like edit boxes and dropdown lists etc.

As you can see, there are two different 'camps' in this thinking.  You are right about IE vs Netscape.  Historically, only IE accepted AxtiveX.  Now, I believe the next release of Netscape will accept them as well (it may already in the current release, but I dont follow Netscape very closely).

People who designed web pages with ActiveX were making a 'leap of faith' decision that most people would be running IE.  Now, that decision is so important if Netscape handles ActiveX as well.  Of course, on an 'intranet', this was an easy decision to make.

Hope this helps,

Ian C.

0

Featured Post

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question