Artifacts
"Hello, World!" is implemented as an applet, so it never stands alone but instead is typically a part of some Web page. The applet starts when its enclosing page is opened, triggered by some browser mechanism that runs the applet's THRead object. However, it's not the HelloWorld class that's directly a part of the Web page. Rather, it's a binary form of the class, created by a Java compiler that transforms the source code representing that class into an artifact that can be executed. This suggests a very different perspective of the system. Whereas all the earlier diagrams represented a logical view of the applet, what's going on here is a view of the applet's physical artifacts.You can model this physical view using an artifact diagram, as in Figure 3-6.
Figure 3-6. HelloWorld Artifacts

Artifacts are discussed in Chapter 26 . |
The UML's extensibility mechanisms are discussed in Chapter 6 . |