Upon seeing this tag the browser opens a connection to the
codebase and downloads the classfile.
The client then runs this program.
Of course, since the program is running on the client, we
must be careful about what actions it can take. Java applets run
on a virtual machine which limits what they can do.
Applets continue to be used in situations where a small
program is the best way to communicate with the user (e.g.,
mortgage payment calculators).