Re: Applet.destroy()




"Chris Uppal" <chris.uppal@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:44047a8a$1$1169$bed64819@xxxxxxxxxxxxxxxxxxxx
Ike wrote:

If someone just closes a browser instance, which is running an Applet, is
public void destroy()
invoked in all cases (i.e. for all OS's, all broswers?) -Ike

I doubt it. Why should it ? Indeed, how can it ? If the browser is being
killed, it doesn't necessarily get any choice in the matter nor any chance to
clean up (even if it wanted to).

Consider what happens if someone turns the computer off ;-)

When asking yourself "for all OS's, all browser?" type of questions, consider that someone may, immediately after reading your newsgroup post, maliciously decide to specifically write a browser or OS combination which does not satisfy your requirements; then ask yourself what that means for your application design. In some cases, you won't care about such rogue browser/OS combinations. But in other cases (e.g. the security of your application server depends on certain behaviour), you will care very much.

- Oliver

.



Relevant Pages

  • Re: Hosts file
    ... Copy the links to your browser and remove the space. ... You must be a Buttface sock puppet. ... think that is a matter of such import that you destroy a newsgroup ... If they don't care enough about ...
    (alt.computer.security)
  • Re: Sun officially deprecates Applets
    ... Complete original question follows: - ... Let me start by stating the basic requirement: - In a browser environment, ... the page) via a TCP/IP socket and exchange messages when and as needs be ... Destroy() method to close the socket. ...
    (comp.lang.java.programmer)
  • Best strategy for Applets, Sockets, Frames, Destroy(), isConnected() and more . . .
    ... Let me start by stating the basic requirement: - In a browser environment, ... Java Applet - Initand Destroy ... Use the Initmethod to create the socket and connect to the server and the ... Destroy() method to close the socket. ...
    (comp.lang.java.programmer)
  • Re: is the browser the new os / operative system ?
    ... but I believe we wen't a litle off ... current browser implementations seem to loose when you compare their ... scripting, to lousy scripting, to today's current application ... they care about their *data*, and they care about comm, and all the ...
    (comp.lang.php)
  • Re: two days
    ... Various pieces of software of my acquaintance don't care, ... That doesn't mean that a new browser won't change the rules somewhat. ... naq bayl gevttref vg jura gung jvaqbj/gung ... gevttrevat vg jura lbh pyvpx ba n qvssrerag Puebzr gno. ...
    (alt.sysadmin.recovery)