Hi there,
some time ago i posted this mail. I didn't get any replies or contributions so far.
I really would be interested if someone succeeded in getting this stuff running.
Cheers,
Karsten
Karsten Fries wrote:
> Hi there,
>
> I'm facing this problem, too. So I asked around some weeks ago and was guided to
>
> http://developer.netscape.com/docs/examples/livewire/liveconnect_js_java.htm
> http://java.sun.com/products/plugin/1.3/docs/jsobject.html
>
> This liveconnect thing seems to manage what you want -calling methods in some
>applet- but
> using JavaScript. Unfortunately it's not standard and only works for Netscape, as
>far as I could see.
>
> It would be great if someone could evaluate this for the mailing list, because
>currenlty I
> definitly lack the time for doing it myself.
>
> Cheers,
> Karsten
>
> John Sutter wrote:
>
> > I'd have to say that haven't been impressed with the Sun/Netscape
> > efforts on this problem. It's something that worked great for
> > Java1.1 with Netscape4 and then doesn't work with the plugin.
> > So, Netscape4 users can't be supported. I doubt Netscape6 will
> > be usable within 6 months. Looks like Microsoft won this battle.
> >
> > I try to work around this Netscape4/Plugin nonsense is to have
> > JavaScript talk with a Java1 applet. The Java1 applet opens a
> > socket connection to a Java2 applet on the same page. The Java2
> > applet has a ServerSocket listening for messages from the Java1
> > applet. The Java2 applet can then use applet-applet communication
> > to talk with the meat-and-potatos Java2 applet. Unfortunately
> > you can't use the AppletContext.getApplets() or getApplet() because
> > they botched the implementation in the 1.3 JREs. No big deal you
> > can implement your own interapplet comm scheme and it works.
> > UNLESS of course you might have clients set up behind proxy servers
> > and they don't have DNS set up. In that case, you're screwed by
> > another early JRE problem: a DNS lookup had to be performed to verify
> > the source of a signed jar. Of course they fixed this around 1.2.1
> > or so, but...
> >
> > joy,
> >
> > -- John
> >
> > Daniel Moscoso wrote:
> > >
> > > Hi all !!
> > >
> > > I have a problem:
> > >
> > > I want to call an applet method from an HTML link. It's easy in the normal way
>when the applet is normally defined.
> > > This is done in javascript.
> > > If the applet is defined as follows:
> > >
> > > <applet align=middle name="myApplet" code="HelloUniverse.class" width=256
>height=256>
> > > </applet>
> > >
> > > And the applet has the method methodName(), the way to call it is
> > >
> > > <a href="javascript://" onClick="document.myApplet.methodName()">
> > > </a>
> > >
> > > The problem is when I want to call a method of an applet that uses a plugin
>(defined with <OBJECT> tag, obtained from HTML converter. The given way doesn't
>work, I 've been looking for this in all the forums, and I've not found it. Does
>anybody have an idea of how ?
> > >
> > > Any help would be appreciated !!
> > >
> > > Dani
> > >
> > > --
> > >
> > > Diese E-Mail enth�lt vertrauliche und/oder rechtlich gesch�tzte Informationen.
>Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrt�mlich erhalten
>haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das
>unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.
> > >
> > > This e-mail may contain confidential and/or privileged information. If you are
>not the intended recipient (or have received this e-mail in error) please notify the
>sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or
>distribution of the material in this e-mail is strictly forbidden.
> > >
> > > ===========================================================================
> > > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> > > of the message "signoff JAVA3D-INTEREST". For general help, send email to
> > > [EMAIL PROTECTED] and include in the body of the message "help".
> >
> > ===========================================================================
> > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> > of the message "signoff JAVA3D-INTEREST". For general help, send email to
> > [EMAIL PROTECTED] and include in the body of the message "help".
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff JAVA3D-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".