Exploring patterns in the architecture

You can explore a pattern in the code architecture by reviewing a topic diagram, which is a UML diagram of the classes and interfaces that constitute the underlying pattern. By reviewing the patterns, you gain an understanding of how an application is designed.

Before you explore a pattern, you must run architectural discovery to find the classes and interfaces that constitute the underlying pattern. Each pattern that architectural discovery detects is displayed in a topic diagram.
To explore a pattern in the architecture of existing code:
  1. In the Diagram Navigator view under Architectural Discovery, expand the pattern on which you ran architectural discovery to show the topic diagrams for it. The number of topic diagrams created for a pattern appears in brackets, as illustrated here: .
  2. Expand the pattern to see the list of topic diagrams for it.
  3. Double-click a topic diagram to open it. In the topic diagram you can view the selected pattern and relationships between Java elements. For detailed information on working with topic diagrams, see "Exploring Java relationships based on queries."
  4. To explore an element in the topic diagram in detail, right-click the diagram element and click Explore in Browse Diagram. For more information on working with browse diagrams, see "Exploring elements and relationships from existing browse diagrams."
Related concepts
Scope and benefits of architectural discovery
Patterns in architectural discovery

Related information

Architectural discovery patterns reference

Feedback
(C) Copyright IBM Corporation 2004, 2005. All Rights Reserved.