Applet Container

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

Margaret Rouse 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 explanations have appeared on TechTarget websites and she's been cited as an authority in articles by the New York Times, Time Magazine, USA Today, ZDNet, PC Magazine and Discovery Magazine.Margaret's idea of a fun day is helping IT and business professionals learn to speak each other’s highly specialized languages. If you have a suggestion for a new definition or how to improve a technical explanation, please email Margaret or contact her…