?
Solved

ActiveX vs Java???

Posted on 1997-08-21
3
Medium Priority
?
403 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 2

Accepted Solution

by:
icampbe1 earned 150 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses

649 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