Applet
From Free net encyclopedia
An applet is a software component that runs in the context of another program, for example a web browser. An applet usually performs a very narrow function that has no independent use. Hence, it is an application -let. The term was introduced in AppleScript in 1993. An applet is distinguished from "subroutine" by several features. First, it executes only on the "client" platform environment of a system, as contrasted from "servlet." As such, an applet provides functionality or performance beyond the default capabilities of its container (the browser). Also, in contrast with a subroutine, certain capabilities are restricted by the container. An applet is written in a language that is different from the scripting or HTML language which invokes it. The applet is written in a compiled language, while the scripting language of the container is an interpreted language, hence, the greater performance or functionality of the applet. Unlike a "subroutine," a complete web component can be implemented as an applet.
Contents |
Attributes
Unlike a program, an applet cannot run independently; an applet usually features display and graphics and often interacts with the human user. However, they are usually stateless and have restricted security privileges. The applet must run in a container, which is provided by a host program, through a plugin, or a variety of other applications including mobile devices that support the applet programming model.
Interfaces
Applets usually have some form of user interface or perform a particular piece of the overall user interface in a web page. This distinguishes them from a program written in a scripting programming language (such as JavaScript) that also runs in the context of a larger, client program, but which would not be considered an applet.
Applets generally have the capability of interacting with and/or influencing their host program, through the restricted security privileges, although they are generally not required to do so.
Examples
Common examples of applets are Java applets and Flash movies. Another example is the Windows Media Player applet that is used to display embeded video files in Internet Explorer (and other browsers that support the plugin). Some plugins also allow for displaying various 3D model formats in a web browser, via an applet that allow the view of the model to be rotated and zoomed. Many browser games are applet-based, though some may develop into fully functional applications that require installation.
See also
de:Applet es:Applet fr:Applet it:Applet he:יישומון lv:Sīklietotne nl:Applet ja:アプレット pl:Aplet pt:Applet ru:Апплет sv:Applet zh:Applet