[2431] in java-interest
interapplet communication
daemon@ATHENA.MIT.EDU (jbreiden@MIT.EDU)
Mon Oct 2 02:09:12 1995
Date: Sun, 1 Oct 1995 23:53:09 -0400
To: java-interest@java.sun.com
From: jbreiden@MIT.EDU
What is the preferred mechanism letting applets communicate with each
other? For example, let's pretend there are two independent
applets. One is called "RecordName" which asks you for your name and
stores it as a string.
Then, an hour later, another applet "SayName" is run, which looks up
your name and speaks it out loud. How is this information to be passed
(and stored) between applets?
Once possibility would be to store the relevant information in
environment variables. Is this supported by Java? I noticed that
getenv() (in java.lang.System) has been marked obsolete.
Or do we need to save the information to a local file? Or is there
some other preferred way to handle this type of communication?
Jeff Breidenbach
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com