Re: Getting Two Java Applets to Communicate with Each Other



On Wed, 31 Aug 2005 01:50:25 GMT, Andrew Thompson
<SeeMySites@xxxxxxxxxxx> wrote or quoted :

>..I do not understand how the AppletContext can be used here.
>The context is not guaranteed to be the same in different frames
>of a web page, let alone for another applet at 'a potentially
>distant location'.

Sorry, the communication I described is between Applets at potentially
distant locations on the same page. There are other techniques for
Applet communication on different pages. See
http://mindprod.com/jgloss/persistence.html

If the Applets are running in different machines, they will have to
set up sockets or send datagrams to each other, or communicate via a
server. For direct Applet to Applet communication you will need to
sign the Applets.

There are many possibilities for communication:

see http://mindprod.com/jgloss/remotefileaccess.html
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.
.



Relevant Pages

  • Accessing thread from called class
    ... I have a Java class (an applet) which spins off a separate thread to handle ... socket networking communication code. ... incoming socket communication stream and another for the outgoing? ...
    (comp.lang.java.programmer)
  • Re: applet security issues
    ... >> whether they hack your applet directly via the browser cache or if they ... > sided game session in our case. ... Having an authentication mechanism is a good start. ... >> you have no way to authenticate the communication from that applet to ...
    (comp.lang.java.programmer)
  • Reflection problem
    ... Normally an applet is loaded from the server system which ... application rather than an applet. ... The communication uses a class called Message, ... where createMessage creates a MessageWrapper and sets the internal ...
    (comp.lang.java.programmer)
  • web page communicating with an applet
    ... I'm looking for ways to communicate to a running applet, ... Ideally I'd like this to all happen client-side. ... If client-only communication can't be used, ...
    (comp.lang.java.programmer)
  • Re: Applet/Servlet Communication in 1.4.2 hangs
    ... > test the applet, the communication between the servlet and the applet ... both upload and download between servlets and applets. ...
    (comp.lang.java.programmer)