Applets are yet another alternative for developing Web components. One of the major advantages of applets is that the deployment process is greatly simplified. The applet application is deployed automatically and does not reside on the user's machine. When an applet is run, it operates within a container. Just as with servlet and EJB containers, this container manages the specifics of the operating system and creates a consistent environment for the applet. (In fact, the applet container was the first Java operating environment container—servlets and EJBs came later.) (See Figure 31-4.)
Figure 31-4. The applet container.
This container ...