these capabilities pertain to its ability to exist within an HTML
document. Java's strengths stem from the fact that it is a compiled
language and, as such, is not confined to the limitations of a
scripting environment. Table 33.1 shows a comparison of the two
|Accessed from HTML||Embedded within HTML|
|Strongly typed||Loosely typed|
|Uses static binding||Uses dynamic binding|
Chapter 16, "Web Programming with the java.applet Package," provides a brief introduction to HTML tags.
By launching an applet in response to an event, your HTML has the capability to take on an entirely new level of functionality. If the concept of launching an applet from a script seems a little confusing, see the examples in Chapter 34, "Sample Scripts."