5.12. Package Diagrams

A package, as stated previously, is a directory in which classes reside. Packages are represented in UML via the package diagram. You can use them to represent dependencies between packages and show the classes contained in a package. A package diagram is shown in Figure 5.5.

Figure 5.5. Package diagram.

Package diagrams help you get a high-level overview of how your system will be put together. Writing these is a very iterative process, like the class diagrams. You don't always know ahead of time how you will implement a certain feature, whether you'll do it using this or that technology. Package diagrams can help you see ...

Get Java™ for ColdFusion® Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.