[java] Applet instances
There''s a way to make instances of the same applet communicate without a third party server?
For example: if 2 persons open the same web page, can they communicate using the applet in the page?
Unsigned applets are restricted via the sandbox to communicate only with the server they were loaded from. This means your "third party" server *must* be available.
If the applets are signed, these restrictions should be lifted, allowing the applets to intercommunicate, read / write files, etc..
ManaSink
If the applets are signed, these restrictions should be lifted, allowing the applets to intercommunicate, read / write files, etc..
ManaSink
What i have to do to sign my applet? =))
Are files the only way to make applet communicate? Aren''t direct ways?
thnx
Are files the only way to make applet communicate? Aren''t direct ways?
thnx
July 26, 2000 11:04 AM
I think the problem isn''t writing files, but that applets are sandboxed to only connect with servers they came from. If you create a signed one or have them change their policies, it probably would work over sockets
Connecting an applet to an arbitrary socket isn''t that advantageous. Image in two people hitting a web page that contains an applet and they want to connect to each other. What are there IP addresses? You don''t know, the only common thread is the server from which the applets were downloaded. So run a program on the server that coordinates communications between the applets.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement