Text-based documents that are compiled into servlets and define how dynamic content can be added to static pages, such as HTML pages.

Click on the image below to view it full size in an image viewer !
Text-based documents that are compiled into servlets and define how dynamic content can be added to static pages, such as HTML pages.

This is a subtle case that demands some fine tuning of the analysis model.

A UML Artifact is used to represent the text-based JSP, from which a specific servlet is compiled. However, although the source text says that 'Text-based documents that are compiled into servlets', the UML™ Parsing Analysis convention requires that the Dependency is FROM the comiled servlet to the text-based JSP, since the JSP can't possibly depend on something that may or may not exist yet or ever be compiled.

The *Page is now modelled as a composite w.r.t. *Content, which content may by static (and thus does not depend on anything else) or dynamic. in which case it must - at least indirectly - depend on results, which are obtained either from a database query or from, for example, a Java method directly. Note that the results must be formatted before they are incorporated as content.

The consideration of substitutability of *Page for *Content is now extended with a remark that it may work indirectly, using "tagged values" of the editorial stereotypes to add metadata.

In any case the analysis model is still holding up quite well.

randomness