A Java applet is a small dynamic Java program that can be transferred via the Internet and run by a Java-compatible Web browser. The main difference between Java-based applications and applets is that applets are typically executed in an AppletViewer or Java-compatible Web browser. All applets import the java.awt package.
The following are two issues with Java applets:
Any browser with Java Virtual Machine (JVM) can execute bytecode, which is the output of a Java compiler and can be run only in a JVM. Bytecode is Java’s solution for security and portability.
Read More »