Java Applet

Definition - What does Java Applet mean?

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.

Techopedia explains Java Applet

The following are two issues with Java applets:

  • Security: Java resolves the security issue by restricting applets to Java’s execution environment and preventing access to system resources.
  • Portability: Portability is defined as the applet’s ability to run on different computers and operating systems.

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.

Posted by:

Connect with us

Techopedia logo for Linkedin
Techopedia on Linkedin
Tweat cdn.techopedia.com
Techopedia on Twitter


'@Techopedia'
Sign up for Techopedia's Free Newsletter!

Email Newsletter

Join 138,000+ IT pros on our weekly newsletter