© John D. McDowall 2019

John D. McDowall Complex Enterprise Architecture https://doi.org/10.1007/978-1-4842-4306-0_5

5. Secondary Objects

John D. McDowall 1  

(1)

Warrenton, VA, USA

I call the objects described in this chapter “secondary” because it would be difficult to create any of them without first creating the primary objects. They are not secondary in importance; as explained in later chapters, they are, to a very large extent, the real heart of the enterprise architecture. But they are secondary in terms of when and how they are created. The secondary objects build on the primary objects and extend them from simple building blocks into proper architecture models that can be used to manage the enterprise and guide it toward achieving its goals.

The objects described in this chapter can all be captured as real models. Where some of the primary objects are little more than guideposts and framing constructs, the secondary objects are true models, with all the complexity and precision necessary to make them useful subjects of analysis. Where the primary objects are the fundamentals, the secondary objects are applications of those fundamentals.

There are many options available for creating the models described in this chapter. All of them could be captured in SysML, which is a good all-around system modeling language. Modeling them in UML is another possibility, although the UML lacks some of the expressiveness that is helpful in defining these models. In reality, nearly any formal modeling language, including OWL, Common Logic, and many others, can be used to model these objects. As this is not a book about modeling, a detailed discussion of the modeling options and trade-offs is not appropriate here. It is enough to state that the specific modeling language or tool is unimportant as long as these objects are created as proper models, using a formal modeling language that is expressive enough to do the job right and enable automated analysis.

When creating these models, it is important to keep in mind that the purpose for doing so is to help guide the enterprise toward achieving its goals. Any model that does not contribute to that metagoal is a distraction.

Behaviors

Behaviors are one of the enterprise architect’s main interests. In particular, it is the emergent behaviors of the enterprise as a complex system that are of interest. Behavior models are a representation of how the enterprise is actually functioning regardless of what management wants, what the architecture team expected, or any other preconceived notion. Behavior models need to represent real-world activities and events to the maximum extent practicable; that is, they need to represent how the enterprise is behaving with enough fidelity to understand how the actors’ interactions with one another, with systems, and with the environment are producing the observed effects.

Because it is the observed effects that we are most interested in, effects are the main focus of creating behavior models. It is not necessary to capture every detail of each activity the participants take part in, as most of those details will be irrelevant to the ultimate effects. But some of those details may be critical to producing the observed effects, and it is difficult to know which details will be critical before you create and analyze accurate behavior models. This is one of the main reasons that creating behavior models is an iterative process that is never truly complete. Just because you have captured an enterprise behavior in a model does not mean you have enough fidelity to understand the critical factors that are driving that behavior. In practice, you really won’t know if you’ve captured the critical factors until you implement some new rule or system feature to try to change the behavior and observe whether the behavior changes (or does not change) as a result of that rule or feature.

Another reason that capturing behaviors is an iterative process is because enterprises are dynamic entities whose behaviors change over time. Just because you have captured an enterprise behavior in March does not mean you still have an accurate representation of that behavior by November. New people and systems will be added to the enterprise, people’s roles will change, and other drivers will have an impact on the emergent behaviors of the enterprise. Old behaviors and their resulting effects may disappear entirely, or be replaced by completely new behaviors and effects. Other behaviors may continue to go along as before, seemingly impervious to changes of personnel or systems, and their effects likewise continue unchanged. As discussed earlier, one of the critical characteristics of emergent behaviors is that they are not readily predictable, so these changes will often be unanticipated.

A good example of this comes from my time flying helicopters for the Marine Corps. Into the early 1990s, when there was a problem with an aircraft, the crew filled out a paper Maintenance Action Form (MAF), a form with four color-coded carbon copies plus the original. The colors were designated for specific purposes: one color would go to the work center that performed the maintenance, another color would go to the quality assurance division, and so forth. This color-coding system allowed the maintenance control division to track the status of any aircraft’s maintenance activities by glancing at the colors showing on its status board. In the mid-1990s, the Marine Corps fielded a computerized maintenance system where crews would type the information on the MAF into a computer and the system would automatically route the information to the appropriate work center, eliminating the need to track five pieces of colored paper. What nobody anticipated was how the maintenance controllers would respond. The computer system only displayed text; it had no color coding and so it took longer to understand each aircraft’s status. So, the maintenance controllers printed five paper copies of each MAF, marked them up with highlighters of five different colors, and continued on as before.

Capturing the behaviors of the enterprise sounds like an enormous task requiring a great deal of effort. At first glance, this may seem like an intimidating amount of work for uncertain benefits. But recall that the entire enterprise architecture effort should be devoted to helping the enterprise achieve the goals documented earlier. We are not trying to capture all the behaviors of the enterprise; we only want to capture those behaviors that have a direct effect on those goals that we documented. For example, if one of the enterprise goals is to increase sales of current products by 20 percent, then capturing how the sales team interacts with and records information about prospective customers is important, but capturing how the sales team works with the new product development team is not. There are many other behaviors that may emerge in the enterprise, but those are of little interest to the enterprise architect. They may be of interest to system architects, but that is a different matter that is best handled as part of the system architecture efforts for each of those systems. The individual system architecture teams may be able to reuse the information captured by the enterprise architecture effort, but that is not the primary concern of the enterprise architecture team.

The most straightforward way to decide which behaviors to document is to work backward from the enterprise goals . Pick a goal, identify the observable effects that indicate whether the enterprise is making progress toward achieving that goal, and begin documenting the behaviors that produce the observable effect. If the desired effect is not observed in the enterprise (i.e., it appears the enterprise is not progressing toward that goal), then there must be some observable effect that indicates the enterprise is not achieving that goal—an undesirable effect. Use this effect as the starting point for modeling the behavior that creates it; from there, you can begin working on changing that behavior to produce a more desirable effect.

Capturing Behaviors

If we want to accurately capture the behaviors of the enterprise, we must capture the actions of both humans and systems. On its face, this sounds like a daunting task: Capturing how groups of people and key individuals interact with one another and with systems could easily consume thousands of staff hours of time in interviewing many people, documenting and collating the results, and developing a model of the resulting data. In addition to the sheer amount of labor this approach would require, it presents several additional problems. First and foremost, people may not accurately remember every action they’ve taken; every system they’ve used to process data; and all the data that they’ve created, reviewed, and updated as part of a specific task. Second, there is the problem of human nature : none of us wants to tell someone else about all the details and problems of their workday because it could cast them or someone else in a bad light, especially if the person made a mistake. And people will certainly be reluctant to advertise deviating from established policy or procedures such as those captured in the process models discussed in Chapter 4 . Because one of our goals is to identify deviations between the process models and how the work is actually performed, people’s unwillingness to admit to that deviation would present a problem for the enterprise architect.

There is another important reason to avoid using interviews or surveys to capture enterprise behaviors: People have more important things to do with their time. Each person interviewed has a job and a primary purpose in the enterprise, and that purpose is something other than feeding information to the architecture effort. Every person in the enterprise should be working toward achieving the enterprise’s goals, and when a person is diverted from their primary tasks to feed the enterprise architecture effort information, that adversely affects the enterprise’s progress toward those goals.

In years past, personal interviews were likely the only viable method for capturing behaviors in the enterprise. But today we have more direct and more efficient ways to capture most of the information we need to model behaviors. The emergence of cybersecurity as a major concern in even small enterprises has provided us with new tools that can help us understand what is actually going on: ubiquitous system and application logs. Coupled with the continuous monitoring tools that are used in many enterprises, these logs provide a great deal of the information needed to model the behaviors of both humans and systems.

Application and system logs capture many of the information elements that are important in modeling behaviors. They record each time a user logs in; the information the user accessed, created, or deleted; the connections to other systems and data transferred between them; and other important activities such as software updates and system outages. These logs reveal the core information that we want to model: which systems users are interacting with and the data flow among those systems. This information is the heart of the any behavior model and is critical to our ability to understand how the enterprise is really functioning.

As important as the information captured in log files is, and as inefficient as interviewing people is, log files do not answer all of our questions about enterprise behaviors. At some point, we will have no alternative to interviewing users for learning the details of their behavior. System logs do not capture interactions among individuals such as conversations, planning meetings, and the like. A great deal of an enterprise’s activities happen over e-mail, but it is very difficult to make an association between e-mail exchanges and the interactions of users with other systems. For example, an e-mail from a supervisor approving a travel request may not be easily associated with the travel system logs that show a user purchasing tickets and booking a hotel. We will only be able to understand those details by talking to the parties involved.

Just remember that personal interviews are an inefficient means of gathering this information, so do as much as you can to mitigate the problems associated with using interviews to gather information. Do not interview users until you have a set of specific questions to ask them about the particulars of the behavior you are trying to model. Sitting down with someone and asking them to tell you how they do their job will not yield an accurate model for the reasons previously discussed. Avoid asking open-ended questions whenever possible; it is much more effective to ask questions that will lead to specific answers that clarify specific points. For example, asking someone how the travel-request approval process works is very open ended and most of that information could likely just as well be recovered from system logs (e.g., a user might log in and create a travel request, which will later be marked as approved). It would take less time and yield more accurate results to ask a single clarifying question about information that is not available in the logs: Is the person who approves the travel request the one who enters it in the system, or does that approval come from someone else? This is an easy question to answer that will take minimal time for all concerned and clarifies the information already captured in the system logs.

Documenting Behaviors

Once the information describing the behaviors is captured, we need to transfer it into a format that supports detailed analysis, preferably automated analysis. That is, we need to convert that raw information into a behavior model. While automated analysis will not provide all the answers we may want, the fact that the behavior is formally modeled will ensure that we really understand the structure and details of the behavior and that the ambiguities have been removed from the model as much as possible.

Modeling behaviors is an iterative process; there is no escaping that. The process is iterative because the chances that we can accurately capture all of the factors in the behavior in one pass are exceedingly small. Every time we capture some aspect of a behavior, there is a good chance we will discover some other characteristic of the behavior that is unclear or not quite what we originally thought it was. This sounds like an unending process of refinement that could easily get out of control, but keep in mind that the behavior model only needs to be accurate enough to understand the major factors that produce an effect that either helps or hinders an enterprise in achieving its goals. The key to keeping the behavior-modeling task under control is to start with a relatively simple behavior model that captures the behavior’s major activities and to then analyze the model to see if the factors that are producing the effects are accurately captured. The only reason to continue modeling beyond that point is if there are one or more activities whose effects you do not understand. You only need to understand them well enough to determine if they are having effects on achieving the specific goal in question.

Once you have identified the initial set of activities, you will need to assemble them into a model of the behavior you want to analyze. You can capture this model in any of a number of process diagrams, including UML activity models, BPMN models, state machine diagrams, or any other formalization tool you are comfortable using. Whenever possible, you should model the behaviors using the same tool used to document the processes described earlier. Using the same modeling technique will make it easier to compare the expected activities (the process model) with the observed activities (the behavior model), and will also make it easier to relate the behavior model to the enterprise goals (just as the process models are related to enterprise goals).

One of the key tasks in assembling the behavior model will be placing the activities in the correct order. One of the easiest ways to do this is to use the time stamps from the system and application logs (assuming the information was gathered in the log files). This will probably not capture all of the necessary ordering information, but it will at least provide a rough sense of the ordering. An activity recorded at 10:00 a.m. obviously occurred earlier in the behavior than an activity recorded at 11:00 a.m. the same day. That is enough information for a rough ordering with respect to time, but it is not sufficient to construct an accurate behavior model. Without additional information, we cannot tell if there is any dependency between the activities: is the first activity a necessary precondition of the second activity, or are they unrelated activities with no relation between the different times they took place?

Information contained in the system logs may help clarify activity-ordering questions. If the first activity was followed by an information transmission from the first system to the second, then it may be reasonable to infer that there is a dependency. The absence of any information transmission may likewise indicate that there is no significant relationship between the two. This is the kind of information that must be clarified with the actors who participated in the activities or with other knowledgeable parties. It is also possible that there was an information exchange that was not recorded in the logs; this would be a good indication that the logs are not complete enough and should start recording additional information.

A (very) simple example of part of a behavior model is shown in Figure 5-1 , which depicts an expansion of the process shown in Figure 4-1 . In this case, a review of system logs and interviews with the sales team revealed that monitoring the results of a new advertising campaign is not a single activity conducted by the sales team but rather a distinct series of steps that includes exchanging information with an outside data analysis firm.

../images/469994_1_En_5_Chapter/469994_1_En_5_Fig1_HTML.png

Figure 5-1

Detail of Behavior Model

As stated, this diagram is very simple, but it serves to illustrate that the activities involved in monitoring the results of an advertising campaign and its effects on sales are more complicated than the enterprise architecture team originally thought. It also reveals some simple emergent behaviors, illustrated by the sales team retrieving the previous year’s sales data to ensure it has a valid baseline to compare to the latest sales data. It also reveals that there is an outside consulting company supporting the sales team’s efforts to understand the effects of the new advertising campaign with data analysis services.

Environment

Modeling the environment is not like modeling processes or behaviors. We are not talking about a creating specific, discrete model of the environment. Instead, modeling the environment is akin to modeling data: there are a number of values and specifications that need to be captured for use in the enterprise architecture, and it is helpful to collect them into a coherent group.

The reason for modeling the environment is that there are a large number of factors that are outside the enterprise’s control but that nevertheless have an effect on the enterprise’s ability to achieve its goals. The enterprise architect must take these factors into account if he or she is going to produce a reasonably accurate model of the enterprise and its systems. There are many factors that go into modeling the environment, but the primary environmental factors the enterprise architect should capture are those affecting how the enterprise deploys and operates its systems. Generally speaking, these are the infrastructure environment the enterprise must operate with. Other environmental factors include external actors and external systems, each of which must be accounted for.

Infrastructure Environment

The infrastructure the enterprise must operate within includes a number of factors. Physical data centers, infrastructure service providers, available communications bandwidth, and the intended operating environment are the major factors to consider. Data centers owned and operated by the enterprise function in something of a grey area in the enterprise architecture. In one respect, the data center is a part of the enterprise architecture itself, because the enterprise controls the data center and its capabilities and can adjust those as needed to help achieve the enterprise’s goals. But the cost of building or updating a data center, including possible regulatory questions such as zoning issues, can effectively make a data center a permanent factor that must be accepted as-is for the immediate purposes of the enterprise architecture.

As cloud computing becomes more pervasive, many enterprises are transitioning from maintaining their own hardware and data centers to outsourcing that infrastructure to cloud service providers such as Amazon Web Services, Microsoft Azure, and others. While commercial cloud providers make available a broad array of useful services for the systems they host, they do impose some restrictions, and those restrictions must be understood and accounted for in the enterprise architecture . In reality, the restrictions are no different in principle from the restrictions that an enterprise had to face when hosting its systems internally, such as specific processor architectures, available bandwidth, and the like. The difference is that by moving to the cloud, the enterprise surrenders control over most of these factors. That does not mean the factors cease to affect the enterprise’s systems and its ability to achieve its goals. And because they affect the enterprise’s behaviors, they must be accounted for in the enterprise architecture.

A similar environmental factor affects many government systems. In many cases, particularly with the systems developed within the US Department of Defense, a system is developed by one organization but an entirely independent organization is responsible for building and maintaining the communications infrastructure that the system will rely on. The infrastructure provider has its own requirements and goals, and usually has a single infrastructure that supports many different systems and organizations, and thus the desires of any one system developer must be balanced against those of all the other system developers. In effect, such a situation is an enterprise of enterprises, and the architect of any given enterprise must treat the infrastructure provider as an external organization that imposes certain restrictions that must be accepted as a fact of life.

Communications bandwidth must also be considered part of the infrastructure environment. While some enterprises may have the ability to run more cable or improve the wireless communication infrastructure, most of them will be constrained to work with the communications limitations as an immutable factor. This is a particular concern in enterprises that have significant elements deployed to austere environments where the communications infrastructure is either very limited or unreliable. One obvious example is military systems, which are routinely deployed in areas where the only communications infrastructure available is the radio systems the deploying organization brings along with it. These systems must rely on radio frequency communications with very limited throughput. This same issue applies to systems as diverse as mobile electronic commerce systems and telemedicine systems, where the availability of reliable communications may be in question. Each of these systems must be constructed in a way that takes these communication limitations into account so that their effects on the enterprise’s ability to achieve its goals can be factored into the understanding of enterprise behaviors.

Many infrastructure factors take the form of restrictions on how systems are deployed and operated. As such, they may be best treated as constraints on the architecture, but understanding that these constraints are external is important when planning how the enterprise can achieve its goal. External constraints are much harder to change than internal constraints; modeling them separately helps the architecture team recognize that status.

Organizational Environment

The environmental factors that should be modeled include external organizations the enterprise interacts with on a regular basis. These organizations are usually outside the direct control of the enterprise, but they can have a significant effect on the enterprise’s ability to achieve its goals and on the behaviors that emerge from the enterprise. As important factors that affect the enterprise, external organizations must be accounted for in the enterprise architecture.

For example, a retail seller will have to deal with external organizations that include suppliers; the public; banks and other financial institutions; government organizations such as state and federal tax authorities; and competitors. All of these organizations may take actions that affect the enterprise’s ability to achieve its goals, and they may need to be included as part of process and behavior models. In addition, each of these external organizations may have systems that the enterprise may need to interface with to exchange data or invoke services. If a retailer accepts credit cards, then the credit card transactions must be submitted to an internal processing system that verifies the card is valid, applies the transaction amount to the card holder’s bill, and bills the retailer for the transaction processing fee. These are all factors outside the retailer’s control, but they do have an effect on the retailer’s operations and therefore on the retailer’s ability to achieve its enterprise goals.

An external organization is really a special kind of an actor and can be modeled as an actor. But I recommend modeling external actors separately for two main reasons. First, modeling them separately establishes a clear delineation between internal actors and external actors. The enterprise can directly affect internal actors, directing them to take some actions and not take others. Internal actors can be controlled, and they are presumably working to achieve the enterprise’s goals (and if they are not, they can be redirected or changed). Some external actors may also be working to help the enterprise achieve its goals; for example, a management consulting company that has been employed to help the enterprise improve efficiency. But most external actors will be either neutral or hostile to the enterprise’s goals. The credit card processor may care only that it gets its fee from a retailer; whether the retailer meets its sales goals is of no importance to the processor. In contrast, a competing retailer may be actively working against the enterprise’s goals. One retailer increasing market share generally means another retailer loses market share, and the second retailer is unlikely to sit back and let that happen without a fight.

System Environment

Just as infrastructure and external organizations are part of the enterprise’s environment, so are external systems. I will discuss modeling systems in more detail in the next section, but it is appropriate at this point to discuss how external systems are differentiated from internal systems. Both are modeled using the same techniques, but because the enterprise architect cannot direct changes to external systems, their effects on the enterprise’s ability to achieve its goals and on the emergence of behaviors within the enterprise must be clearly understood.

Because external systems are completely outside the control of the enterprise architect, the enterprise architect will know almost nothing about them except whatever information is available as part of the interface specification. External systems are really the ultimate black box: an entity whose functions are completely obscured from outside view. In fact, the functions of the external system are usually so completely obscured that the enterprise architect can never really be sure whether an external system is a single system, a collection of related systems, or a combination of systems and human actors completing some function. Those details are completely irrelevant to the enterprise architect; the only factors that matter are understanding the interface, the external system’s function with respect to the enterprise, and the fact that the system is external to the enterprise.

Just as external actors are modeled in the same way as internal actors, external systems should generally be modeled in the same way that internal systems are modeled, but they should be grouped as external systems to keep a clear delineation in the enterprise architecture between those things the architecture team can control (internal systems) and those it cannot (external systems). The one primary difference in how external systems are modeled is that the enterprise architecture team will never know anything about their internal structure; it will always remain a large-scale black box. This is in contrast to the models of internal systems , where the system model may be further decomposed into major components at the enterprise level in cases where a specified enterprise goal depends on understanding a certain internal structure.

Most often, the only things the enterprise architect will know about an external system are the details of the interface that is exposed to the enterprise and the service that the system provides (e.g., credit card transaction processing). This information is generally provided on a take-it-or-leave-it basis, and the enterprise can either accept that interface, find another provider of that service, or go without the service entirely. In some cases, it may be possible to negotiate a change to the interface, but this will be the exception rather than the rule. The external organization is probably providing the same service to many consumers and customizing the interface for each consumer would be impractical.

Understanding the interface means understanding the functions the interface makes available, the data the interface consumes for each of those functions, and the data the interface provides for each of those functions. To continue with the example of a credit card transaction processor , we might know that the interface provides three functions: one for validating a credit card, one for completing a credit card purchase, and one for executing a refund to the credit card. The card validation function might require the card holder’s name, the card number, the expiration date, and the card verification value (CVV). (The CVV is the three-digit number found on the back of most credit cards.) The data returned by this function may be a simple Boolean value (e.g., “True” if the card is valid). The card purchase function might require all of the same information as that used for the card verification plus the purchase price and some identifier for the seller. It will return a verification code if the transaction is successful or an error code if the transaction fails. This data should be modeled using the same techniques as those for all the other data handled or stored in the enterprise, and it should be clearly associated with those interface functions.

When modeling interfaces provided by external systems , it is important to understand all of the functions available from those interfaces, even if they are not currently in use. Each of these functions is an option the enterprise can use in updating its own systems and may be helpful in achieving one or more of the enterprise’s goals. Not knowing that those functions are available leaves a significant hole in the enterprise architect’s understanding of the environment the enterprise is operating in.

Systems

Modeling the systems within the enterprise is what traditional enterprise architecture frameworks focus on, but the approach I describe here considers them secondary models. Keep in mind that by “secondary,” I do not mean that they are of less importance; I mean the architect should produce these models later in the process of creating the enterprise architecture. That said, I do consider system modeling a less-important activity in the context of enterprise architecture than other activities.

Traditional enterprise architecture frameworks begin by decomposing high-level requirements and desires into progressively more detailed representations until there is enough detail to specify the individual systems that make up the enterprise. The result of this approach is an enterprise architecture that includes all of the implementation details of the various systems in the enterprise. This is a hangover from the frameworks’ heritage; most began life as system architecture frameworks. When it became apparent that there was a need for enterprise architecture, many of the system architecture frameworks were “promoted” and rechristened enterprise architecture frameworks. As discussed earlier in this book, that approach has not scaled well, and it is the primary reason that many managers are coming to see enterprise architecture in general as a failed effort.

I take a very different approach than traditional frameworks to defining systems within the enterprise architecture. I consider the implementation details of individual systems to be beyond the scope of enterprise architecture, and so to be of little interest to the enterprise architect, who should treat them that way. Within the enterprise architecture, the architect should model individual systems as a series of one or more black boxes with defined interfaces. How many black boxes the system model should contain depends on how the system is licensed or implemented. When systems are fielded as a single coherent unit (e.g., a commercial payroll system), the best way to model them is as a black box. When fielding systems that contain a collection of components the enterprise may replace or upgrade individually, the architect should model them in detail.

Monolithic Systems

Commercial software vendors often create and sell their systems as a monolithic unit that customers buy and field as such. The customer cannot break them up into individual components for reuse in other unrelated systems, and cannot upgrade individual components without an upgrade of the entire system. The same is often true of custom-developed systems. In effect, the architect must treat these systems as a single unit. They will interface with other systems in the enterprise in different ways, but other than that, the enterprise architect cannot modify them.

The enterprise architect should model these systems as individual black boxes with specified interfaces. The commercial vendor defines those interfaces, including their input and output data formats. Despite the fact that these systems are part of the enterprise, when modeling them the architect should treat them in much the same way as external systems. The details of their internal functioning are not visible to the architect; only the externally visible effects are apparent. That is really all that matters to the enterprise architect.

It is important to model the externally visible effects of these systems, together with details of their available interfaces, so that the enterprise architect can understand how they fit into the processes and behaviors of the enterprise. This modeling also gives the enterprise architect the information needed to understand the implications of exchanging such a system with a comparable system from another vendor or with an internally developed system.

Understanding the externally visible effects of the system, combined with its interfaces, makes it possible to predict the effects that removing the system or attempting to replace it will have on the enterprise. If the architecture team decides to remove the system without replacing it, then any process or behavior that relied on those effects must change. Architects can substitute a different system that produces the same effects or actors can alter their workflow to adapt to the loss of the system. Either way, we can expect an effect on the emergent behaviors of the enterprise.

If architects identify a substitute system that has the same effects, then unless it has the same interfaces as the original system , developers need to update every system that interacts with the replaced system to work with the new system. This will require some development work, and it is reasonable to expect some change to any enterprise behaviors that involve the replaced system.

Component Systems

Some commercial systems, and many custom-developed systems, are collections of independently developed components that developers integrate to form the resulting system. Unlike monolithic systems, developers can often trade out the individual components that make up these systems and replace them with other components that perform the same functions. This is especially easy when the two components have identical interfaces.

The enterprise architect should model these component systems as a set of discrete black boxes connected by well-defined interfaces. Deciding how far each black box should be decomposed is a matter of judgment; rules that work for one component system may not work well for another. A good rule of thumb is that these systems should be decomposed to the level at which the individual components are packaged and made available as coherent units intended to be reused as a unit. Put another way, if a single installation of the component in question can be used by multiple systems, then the architect should model it independently; otherwise, it should not be visible from the enterprise architecture level.

For example, an open-source relational database management system may include a component that takes care of the basic database management functions, a component used to write application logs, and a component that provides a web interface through an application server. The application-logging component may be a commonly used open-source logging utility, but if an external system cannot write events to that logging utility, then the architect should not model it separately. In contrast, if other applications can install their interface components in the application server packaged with the database system, then the architect should model the application server separately from the database management system. In such a case, the model must clearly include the fact that the database management system depends on the application server.

By modeling component systems in this way, the architect gains several advantages . First, by breaking systems down into reusable components, the architect can identify commonly used components across multiple systems. This is a necessary first step in driving the enterprise to increase commonality and interoperability across systems (assuming that is an enterprise goal). If four systems are using the same authentication component but a fifth system is using a different authentication component, that is likely a source of interoperability problems in addition to being an opportunity for increasing commonality by transitioning the fifth system to the common authentication component.

The second advantage is that modeling the individual components and their interfaces provides the information needed to understand when some proposed new component can or cannot take the place of an existing component. If the proposed new component performs the same functions as the existing component and has the same interfaces, then the replacement will be feasible without significant reworking and the architect can focus on other comparison factors. However, if the interfaces are not similar, then the architect knows the proposed replacement will require reworking of other systems or components.

A third benefit to modeling at the component level is that is gives enterprise-level visibility to possible vulnerabilities. When a weakness in a given software package or an interface specification is discovered, it is imperative that the enterprise be able to assess its overall vulnerability to that exploit. Being able to query the enterprise model to identify those components is much more efficient than trying to assess each individual system.

Standards

Standards are important to the enterprise architect because an enterprise architecture is supposed to help improve interoperability and data sharing among systems in support of the enterprise’s goals. However, it is important to understand that not all standards are equal, and standardization for the sake of standardization is often a fool’s errand. The enterprise architect thus needs to approach standards with a clear understanding of the enterprise’s goals and with a commitment to properly applying standards to the challenge of meeting those goals.

Most of the standards the enterprise architect cares about will be data standards or interface standards. When modeling these standards, there are often existing formal specifications the architect can reuse rather than trying to create new descriptions of the standards by using some other modeling convention. Wherever possible, the easiest way to incorporate standards in the architecture model is to link them to the data exchange or system interface that they were implemented by. In effect, this is capturing the standard as a link to an external reference rather than creating a new model.

Standards are usually associated with systems and their interfaces, in particular with the data formats consumed and produced by those interfaces. However, standards may also be associated with processes or activities, and not with systems. Manually developed work products may have an associated standard in the same way as data generated by a system does. Regardless of what the standard is associated with, the architect must clearly identify what the standard is and how it applies to the architecture. Unless it is clearly linked to the architecture, the appropriate use of a standard will not be clearly understood by the implementation teams who are expected to utilize it.

In practice, standards come in two main forms : de jure standards and de facto standards. The enterprise architecture should handle each of these standards a little differently, but the result should be the same: a well-crafted model of the data and interface formats that supports automating analysis of the enterprise architecture and testing of the enterprise. If one of the goals of the enterprise architecture effort is to increase interoperability among enterprise systems, an effective way to do that is to test interfaces against the standards they are supposed to implement. If the standard is clearly and formally documented, then crafting a test to verify that an interface or a data artifact conforms to the standard is a relatively straightforward activity. That should be the primary goal when modeling standards within an enterprise.

De Jure Standards

By “de jure” standards , I mean those specifications that have been developed and approved by a standards-setting body such as the International Standards Organization (ISO) or the Institute of Electrical and Electronics Engineers (IEEE). The primary functions of these bodies include developing, reviewing, and approving standards. The standards they publish are accepted across multiple industries, academia, and many governments because they have been thoroughly reviewed and are maintained by dedicated working groups whose members have many years’ experience in the field and in developing useful standards.

Examples of de jure standards span functions as diverse as defining the specific alloy content of the structural steel used in bridges, to specifying the waveform of the alternating currents used in household wiring, to standardizing the size and content of packets exchanged among information systems. Most of the standards of interest to the enterprise architect relate to the field of information technology and come from organizations like ISO and IEEE, among others.

Most of the time, standards bodies use some precise notation system to define the standard. For example, the Open Geospatial Consortium’s KML 1 specification for expressing geographic information is defined using the XML Schema Definition (XSD) . The XSD used by KML defines the KML specification with enough detail to validate any instance of a KML document to ensure the format is correct, and it provides enough information for developers to create conformant implementations. Recreating this specification is a waste of the architect’s time and introduces a maintenance problem. Every time the standards body updates the specification, the architect has to update the architecture model. It is much simpler to just link to the authoritative version and leave it at that.

One thing that architects should avoid whenever possible is creating new standards unless there is no other way to solve a specific interoperability problem. Many governments have a tendency to create government-specific standards, whether out of habit or because they believe there are no suitable existing standards. Creating new standards out of habit is a holdover from the days when standardization was much less common, particularly in information technology systems. Back when only governments could afford to build large information systems, interoperability required a government-developed standard because there were no international standards bodies. In many cases, that old habit has persisted, and government organizations spend countless hours and large sums of money to develop their own original standards. In most cases, an existing commercial or international standard meets the vast majority of the needs that inspired the government-specific standard in the first place.

In a few cases, a government-developed standard may be appropriate. For example, the symbols used on military operations maps to identify friendly, enemy, and neutral forces are not the sort of thing with a large-enough commercial constituency to interest a dedicated standards body. However, in the vast majority of cases, developing a custom standard is a poor use of limited resources. In most commercial enterprises, there is even less need to develop a specification where no suitable commercial or international standard exists. The fact that there is no standard does not necessarily mean interoperability will be more difficult. De facto standards may be all that developers need.

De Facto Standards

De facto standards are not “standards” in the formal sense. There is no industry consortium that establishes and maintains them; there is no body of experts that carefully examines every proposed change and decides whether it will be adopted; and there is no publicly visible process for proposing and debating changes. Instead, de facto standards are just those data and interface formats that are so commonly used that they might as well be de jure standards.

Perhaps the most commonly known de facto standard is the Microsoft Word document format . It is widely used in industry, academia, and government despite the fact that it is not the product of a typical standards body. Instead, because Microsoft Word is so widely used, its document file format has become the most common file format used for exchanging word-processing documents. It has emerged as a standard despite the fact that it was developed by a single commercial vendor and not by a consortium of industry representative or academics.

The fact is that most information technology systems rely almost entirely on de facto standards and not on de jure standards. The most important standards underpinning modern information technology systems are those from the Internet Engineering Task Force (IETF). Standards such as transmission-control protocol (TCP), Internet protocol (IP), Ethernet, and many others have been through a thorough review process but no standards organization has ever formally approved them. That is why most IETF publications carry the designation “Request for Comment” (RFC) . They are published as just that—a request for comment on a proposal. Those that receive enough community acceptance become de facto standards.

Just because a de facto standard has not been through a process supervised by an international organization does not mean de facto standards are defined less rigorously than de jure standards. A review of any RFC published by the IETF will reveal a meticulously defined description that provides just as much rigor as any publication of an international standards body. This does not mean that all de facto standards are documented as well as formal standards, but many are.

If a de facto standard within your architecture does not include a formal definition, then the enterprise architecture must document it with sufficient detail to support the level of automated analysis it wishes to apply to the enterprise architecture models. Ideally, the architecture team will document each de facto standard as rigorously as it does the de jure standards, but the reality is that this may not be feasible. If there is no good documentation for any given standard, the enterprise architecture should note that fact.

Summary

The models described in this chapter are models I call “secondary,” but they are not secondary in importance; they are only secondary in the order of creation. Each of these models relies on, and is related to, one or more primary models. In spite of the implication of the name, these models form the core of any enterprise architecture.

Behaviors are one of the primary concerns of my approach to enterprise architecture. The behaviors that emerge from any complex system are of the most interest to the enterprise architect. Where the processes described in Chapter 4 represent idealized conceptions of the way an enterprise will conduct its affairs, the behaviors described here represent what actually happens. They reflect those characteristics of how the enterprise performs that have the largest effect on the enterprise’s ability to achieve its goals.

Modeling behaviors captures how people actually use systems, how the systems are related to one another, and the tasks the systems perform. Many of these interactions are not readily predictable, so capturing them allows the enterprise architect to compare what the enterprise is doing with how that either contributes to or detracts from the enterprise’s ability to achieve its stated goals. The easiest way to create behavior models is to capture the necessary information from system and application logs. These logs represent real-world activities, and most enterprises with an effective cybersecurity-monitoring program will already be gathering this information, reducing the amount of effort required to create the behavior models. In some cases, the logs will not provide sufficient information to capture the behaviors, and the enterprise architect will need to document the models by interviewing users. Regardless of how the information is gathered, the behaviors should be documented using a formal process model to enable automated analysis and comparison to processes, other behaviors, and to other models in the architecture.

Modeling the environment includes modeling factors that affect the enterprise architecture but are generally beyond the control of the enterprise. Such factors include the infrastructure into which the enterprise systems are deployed and in which they are executed. In some cases, infrastructure models may include assets that are owned by the enterprise but are difficult to change due to the cost and schedule required to complete such a change. Other important aspects of the environment include the external organizations that interact with the enterprise being modeled and the external systems that the enterprise uses in the course of achieving its goals. The important thing about modeling the environment is to understand that although these are effectively immutable constraints, these factors may have a significant effect on the enterprise’s ability to change and therefore its ability to achieve its goals.

The systems that are internal to the enterprise form another important part of the enterprise architecture but not in the same manner as the traditional architecture frameworks do. Where traditional enterprise architecture frameworks have been focused on producing a detailed understanding of systems’ intended function to support development of those systems, the architecture framework discussed here treats individual systems’ internal structure and functions as beyond the scope of the enterprise architecture. In this framework, I model systems as black boxes that perform well-understood functions accessed through well-defined interfaces. Some systems are monolithic, and architects or developers cannot readily separate them into individual reusable components. Other systems are composed of a number of separable components, and developers can update individual components and reuse them across systems to improve efficiency and interoperability. Modeling systems to this level of detail helps the enterprise architect find and leverage commonalities among systems.

Standards are another significant part of most enterprise architectures. While some are de jure standards published by a dedicated standards-creating body, others are made up of commonly adopted data and interface definitions that are so commonly used they form de facto standards. While they are not formal standards, the enterprise architect should treat them as if they were. Provided that systems can implement a set of standards and allow them to successfully interoperate, there is no practical difference between de facto and de jure standards. When no existing standard is available, the enterprise architect should avoid the impulse to define enterprise-unique standards; this is almost always more effort than it is worth. Regardless of where the standards come from, it is important to document them with sufficient detail to enable automated analysis of the architecture models as well as automated conformance testing, as conformance is a key element of improving interoperability.

Footnotes

1

Formerly the Keyhole Markup Language.