Chapter 2. UML Diagrams

We have illustrated the patterns in this book with diagrams drawn using Unified Modeling Language (UML). This simple diagramming style was developed out of work done by Grady Booch, James Rumbaugh, and Ivar Jacobson and resulted in a merging of ideas into a single specification and eventually a standard. You can read details of how to use UML in any number of books, such as those by Booch, Rumbaugh, and Jacobson [1999], Fowler and Scott [1997], and Grand [1998]. We'll outline the basics you'll need in this introduction.

Basic UML diagrams consist of boxes that represent classes. Let's consider the following class (which has very little actual function):

 public abstract class Person { protected String personName; private ...

Get Java™ Design Patterns: A Tutorial 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.