Re: Using the object tag in IE




marc wrote:
> >From the book I am using as a reference I understood that applet tag
> was deprecated, but googling for information, and testing myself, it
> seems IE does not work properly with this new object tag. So my effort
> reading about the object tag was for nothing? Is there no way I can
> make this work for IE and Mozilla?

Leaving out that Java applets (not applications!) is mainly dead
technologie:

<object> for Java is *very bad* because it implies a particular JVM to
use. In the mixed environment (IE / others) it often happens that IE
uses much more effective Microsoft JVM and "others" have to function
under Sun plugin. More over "others" may have Sun plugin of one version
and your <object> will imply another version. Sun did so many plugin
variants and patches that they have lost the count themselves. It
caused in the past several major virus-like epidemies across
Java-users: you have plugin 1.3.0, applet object codebase implies
1.3.1, it downloads 1.3.1, breaks your 1.3.0 plus make it default VM
for Microsoft which already had MS JVM...etc...
All together is the best way to make the whole system dizzy. Sometimes
you have to reinstall the entire Java segment on your computer after
viewing <object>-enforced Java applet. The above statement is a blood
written one, trust me.

To somehow fix this "Java-virus" Sun introduced classid
8AD9C840-044E-11D1-B3E9-00805F499D93 which internally supposes to mean
"the latest JVM you installed on this machine". Still it doesn't help
to prevent IE with Microsoft JVM installed from failure because
Microsoft JVM classid is 08B0E5C0-4FCB-11CF-AAA5-00401C608500

<applet> tag means "use any JVM you have - if you have any". Despite it
is deprecated but at least it's secure against of occasional system
damages.

If you still want to have applets on your page, use the old
Microsoft-proposed workaround:

<applet class="myClass.class"
cabbase="myApplet.cab"
archive="myApplet.jar"
....
After meeting "cabbase" MS JVM will ignore "archive".
Sun JVM will ignore "cabbase" and use archive.

It means that you'll have to have two archives (.jar and .cab)
Also Microsoft discontinued to support Java (but one can still find and
install the last version of MS JVM)

And indeed all this question is nothing to do with JavaScript or
JScript.

.



Relevant Pages

  • Re: Microsoft Java almost gone in Vista
    ... Internet Explorer 7 and the Sun JVM also installed, ... one can un-select Sun Java and the Microsoft VM works a bit. ...
    (comp.lang.java.programmer)
  • Re: Using applets
    ... It is still the copyrighted property of Microsoft Corporation ... FrontPage Resources, WebCircle, MS KB Quick Links, etc. ... > I provided the link to show what Microsoft is currently saying about its JVM. ... >> Point them to the manual download do not set the applet to install the JVM on demand. ...
    (microsoft.public.frontpage.client)
  • Re: Making Lisp popular - can it be done?
    ... Sun have been "working on" many things for many years and produced ... The JVM still does not have them. ... Google are a one trick pony and continue to lose market share to Microsoft. ...
    (comp.lang.lisp)
  • Re: Applets
    ... only have MS JVM in XP if you installed it. ... With Sun JRE only installed, ... put an applet tag in the source, the params are stripped from the applet tag ... I believe I have MS JVM install as I'm running Windows ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress.stationery)
  • Re: Using applets
    ... > FrontPage Resources, WebCircle, MS KB Quick Links, etc. ... > I provided the link to show what Microsoft is currently saying about its JVM. ... >> Point them to the manual download do not set the applet to install the JVM on demand. ...
    (microsoft.public.frontpage.client)