10.5. Component Architectures

We've not discussed another side to architecture so far in this chapter. Up to this point, we've focused on architecture in the context of class and package design. While the relationships between classes and packages are very important, higher-level constructs deserve discussion. When we deploy Java applications, the minimal unit of deployment is the package. However, it's unlikely that we'll ever deploy an individual package by itself. Instead, we typically deploy some higher-level unit, such as Enterprise JavaBeans (EJB), Java Archives (JARs), or Web Archives (WARs) file. In addition, it's quite likely that when we develop Java applications, we'll take advantage of some of the code that was written by others, ...

Get Java™ Design: Objects, UML, and Process 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.