Originally posted by Lucius Stephienn:
Hello
Does applet is program or application?
Some definitions says it's program (Bruce Eckel), some - application (Sun's J2EE 1.4 tutorial).
Maybe it's no difference, but in my work, boss forced me to correct definition of applet from application to program.
I read that application is a standalone program, but difference between these two concepts is fuzzy.
Thanks in advance.
I know I've seen a set of definitions that matches your boss's somewhere, but I can't remember where. By that set of definitions, applets and applications are mutually exclusive subsets of programs. The difference is that applets require separate environment (such as a browser of applet viewer) in which to run.
Of course, that difference is a bit artificial. Java applications need the separate environment of the JVM in which to run. At an even lower level, IE and the standalone JVM both need an operating system (Windows, Linux, etc.) envoironment in which to run. But running applets
in Internet Explorer or whathaveyou is a non-trivial usability and distribution difference that management and marketing types (a.k.a. suits) can latch onto.