Applet Container

Why Trust Techopedia

What Does Applet Container Mean?

An applet container is the environment that runs a Java applet and provides secure applet execution. Examples include Web browsers and the applet viewer in Java’s software development kit (SDK).

Advertisements

The applet container uses the sandbox security model, preventing applets from accessing system resources and causing harm. Running an applet in an applet container ensures security and portability.

Techopedia Explains Applet Container

The applet requests required resources directly from the application server. Note: The applet container does not serve as a mediator between the server and applet.

An applet container follows the steps below when executing an applet:

  • Applet is loaded.
  • Applet is created.
  • Applet is initialized by calling the method init().
  • Applet is started by calling the method start().
  • Applet is stopped by calling the method stop().

When the browser closes, the applet container calls the destroy() method, which releases allocated resources and lets the applet know that it is no longer required.

Advertisements

Related Terms

Margaret Rouse
Technology Expert
Margaret Rouse
Technology Expert

Margaret is an award-winning technical writer and teacher known for her ability to explain complex technical subjects to a non-technical business audience. Over the past twenty years, her IT definitions have been published by Que in an encyclopedia of technology terms and cited in articles by the New York Times, Time Magazine, USA Today, ZDNet, PC Magazine, and Discovery Magazine. She joined Techopedia in 2011. Margaret's idea of a fun day is helping IT and business professionals learn to speak each other’s highly specialized languages.