Applet
An applet is a small computer application, often a Java program, designed to be downloaded from the internet and run within a larger program, typically a web browser, to perform specific, often interactive, tasks like games or calculators. While once popular for adding dynamic content to webpages in the late 1990s and early 2000s, applets are now largely obsolete due to security issues, lack of support, and the rise of newer client-side technologies.
How Applets Work
Client-Side Execution: Applets run on the user's computer within a web browser's environment, rather than on a web server.
Java Virtual Machine (JVM): In the case of Java applets, a special plug-in was required in the browser to execute the Java code within the browser's JVM.
Limited Functionality: Applets are restricted in their ability to access the user's machine, for instance, they cannot read or write data on the local hard drive without explicit permission.
Cross-Platform Compatibility: Because they ran on the Java Virtual Machine, Java applets could run on any operating system with a compatible JVM installed.