ArchStudio Concepts and Info:
The xADL Way

The xADL Way

The past ten to fifteen years of software and systems architecture research have created a huge number of (largely incompatible) architecture description languages - notations for writing down architectures. It is easy to get entranced with the idea that the best concepts from all these languages could be combined into a single "super ADL" that was adequate for all domains and projects.

However, architecture is a broad concept, and each project/domain's notion of what an architecture is and what sorts of data it should contain is different (and rightly so!) Furthermore, the purpose of an architecture description is largely driven by project stakeholders and their needs. Thus, no one ADL will ever fit all projects or domains.

xADL's strength is not that it includes modeling features suitable for every potential project. In fact; where methodologies disagree or diverge, xADL tends to take a neutral approach, not advocating or encoding one set of concepts over another. xADL's primary strength is its extensibility—it can act as the basis for the rapid development of domain/project-specific ADLs.

Using xADL in Your Project

Using xADL in a project means integrating it into a development process. Because of the diversity of projects and needs, it's unlikely that xADL (or any other ADL or notation) will support all your needs right off the bat (although, as xADL and its tool support grows, this may change).

Unlike other notations, xADL's syntax and tools were meant to be extended to support project-specific needs. The process by which this is done is roughly as follows:

  1. Identify discrepancies between what xADL can model in its set of provided schemas and what you want to model for your project.
  2. Decide which xADL elements to extend to support your new modeling needs—do you need to add new kinds of data to structural elements like components and connectors? Their types? Or do you need new kinds of elements altogether?
  3. Decide how to syntactically encode these new extensions or elements.
  4. Write new XML schemas extending xADL to add your new modeling constructs. Validate your new schemas with a tool like XSV.
  5. Run Apigen to generate a new data binding library that includes your extensions.
  6. Use syntax-based tools like ArchStudio's ArchEdit to extend existing architecture descriptions with new kinds of data in the format you specified.
  7. Extend semantics based tools like ArchStudio's Archipelago to provide friendlier editors and analysis tools for your new notational extensions.

The xADL language itself is built and evolved in precisely this way. Over time, ArchStudio's tool sets have evolved to better support these extensions, and many ArchStudio tools (like Archipelago) are built in very modular ways to make extending them to support new schemas as easy as possible.

Why not arbitrary name-value pair properties?

We get this question often enough that it warrants having a section on this page. Many xADL users find the above extension process somewhat cumbersome and ask for extensions that decorate some (or all) xADL elements with arbitrary name-value pair properties (or, alternatively, name-type-value tuples).

While this would indeed make it relatively easy to slip new data into an architecture description, we've repeatedly rejected this suggestion for a number of reasons. Allowing arbitrary properties means forfeiting the rigor provided by having a well-defined language syntax. xADL's syntax is designed to be rigorous but not formal. Losing this rigor means:

  • (Uncontrolled) Language Fragmentation: Allowing any user to insert arbitrary data into xADL documents means that each user will potentially have their own 'xADL dialect' that is undocumented and will likely be incompatible (in subtle ways) with others' xADL dialects.
  • Inability to validate properties: XML schema-based validators can check xADL documents for syntactic correctness, but only if schemas are present. Properties allow users to subvert even simple syntax validators.
  • Loss of syntax-directed tools: Apigen and ArchEdit are powerful examples of how syntax-directed tools can add value to an architecture-driven development environment. However, these tools can provide little or no additional value and guidance if all they know is that an element has properties with charcter string names and values.
  • Encourages encodings-within-encodings and overloading: The presence of arbitrary properties makes it very tempting to add structured data as character string property values; a job that is much better handled by encoding that structured data in XML elements and attributes. Already we see this problem occurring with xADL's descriptive elements like Descriptions, which have been variously overloaded to have additional semantics beyond their intended use. This invariably leads to fragility in tools and document portability and maintenance problems.

Of course, in keeping with the xADL notion that no one set of concepts fits all, it is still perfectly legal to extend xADL with your own property-based extensions and tools if you like. However, for the reasons outlined above, we strongly advocate a more careful examination of your modeling needs to decide (and codify) exactly what new data you're interested in adding to your architecture descriptions.

Contact Us

If you have questions not answered by this website, please feel free to contact the software architectures group at UC Irvine through the ArchStudio developer's (mailman protected) email list at: archstudio-dev [@] uci [.] edu.

Portions of this site Copyright © The Regents of the University of California. All Rights Reserved Worldwide. The development of ArchStudio was initially funded by the DARPA DASADA (Dynamic Assembly for Systems Adaptability, Dependability, and Assurance) program. The site now includes results from projects supported in part by National Science Foundation grants IIS-0205724 and CCF-0430066, The Boeing Company, and IBM.