[2494] in java-interest
No subject found in mail header
daemon@ATHENA.MIT.EDU (Gabriel Lawrence)
Tue Oct 3 14:59:56 1995
Date: Tue, 3 Oct 1995 08:51:23 -0800
To: java-interest-digest@java.sun.com
From: gabe@ucsd.edu (Gabriel Lawrence)
>> 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?
>
>Right now applets can comminicate among each other as long as they
>are on the same page. There is no way an applet can store persistent
>information. There are some security considerations, but this may
>be something we could add later.
>
Why not create persistent information server? The first applet can store
its information on the server, and as part of the start up of your applet
it could query a server for its preferences. All you need to do is have
some kind of identifier that will allow you to pick preferences uniquely
for each user on a machine.
-Gabe
-----------------------------------------------------------------------
Scripps Institution of Oceanography
UC San Diego
Wrk: 619.534.8484
-----------------------------------------------------------------------
Hme: 619.455.6506 http://sio.ucsd.edu/~gabe/
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com