blob: a0dab125dc2352941da27f8adb444eacb8ab55dd [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<meta name="copyright" content="Copyright (c) Thales Corporate Services S.A.S, 2009. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
<meta name="author" content="Benoit Langlois" >
<meta name="keywords" content="domain"/>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
<LINK REL="STYLESHEET" HREF="../book.css" CHARSET="ISO-8859-1" TYPE="text/css">
<BODY BGCOLOR="#ffffff">
<table border="0" cellpadding="2" cellspacing="0" width="100%">
<td colspan="2" align="left" bgcolor="#0080c0" valign="top">
<h2><font face="Arial,Helvetica"><font color="#ffffff">
<a name="definition"><h2>Definition</h2></a>
<p class="Para">
A domain is a field of interest or knowledge <a href="#[1]">[1]</a><a href="#[3]">[3]</a>.
<a name="motivation"><h2>Motivation</h2></a>
<p class="Para">A domain is characterized by the relevant objects (a.k.a. concepts) and their relationships. The relevance is relative to the problem at hand, and the decision of whether or not certain objects and relationships are relevant is made by the team who analyzes the domain in the context of a problem, which needs a solution (a.k.a. "Analysts.") <a href="#[2]">[2]</a>. A domain is scoped to maximize the satisfaction of the requirements of its stakeholders, it includes a set of concepts and terminology understood by practitioners in that area, and includes the knowledge of how to build software systems (or parts of software systems) in that area <a href="#[1]">[1]</a>.</p>
<p class="Para">Examples of types of domains:</p>
<ul CLASS="UnorderedList">
<li CLASS="Item">Business: focus on enterprise viewpoint (e.g., finance, aeronautics),</li>
<li CLASS="Item">Methodology: focus on development process viewpoint (e.g., OMG's <a href="">SPEM</a>),</li>
<li CLASS="Item">Technology: focus on software viewpoint (e.g., language, platform description),</li>
<li CLASS="Item">Non-functional: focus on qualities of development (e.g., quality of service, architecture description).</li>
<p class="Para">Domains can be quite large, for instance "Medical", "Legal". They can also be arranged in some hierarchical structure. For instance, the domain associated with the problem of finding immunizations for rapidly changing human viruses would be a sub-domain of "Medical" <a href="#[2]">[2]</a>.</p>
<a name="structure"><h2>Structure</h2></a>
<p class="Para">A domain user speaks with words of the domain language. This language has a syntax and semantics. A model characterizes a domain in capturing the syntax and semantics of this language domain. For short, we generally use the expression "domain model" but we always must keep in mind this relationship between a domain, a model and a language.</p>
<p align="center">
<img src="./images/domainStructure.jpg" alt="Relationship between domain, model and language"/>
<p align="center">
<i>Figure 1. Relationship between domain, model and language</i>
<dt><a name="[1]">[1]</a> Czarnecki, K., and Eisenecker, U.W., <i>Generative Programming</i>, Addison-Wesley, 2000.</dt>
<dt><a name="[2]">[2]</a> S&aacute;nchez-Ru&iacute;z, A., Saeki, M., Langlois, B., Paiano, R., <i>Domain-Specific Software Development Terminology : Do we All Speak the Same Language?</i>, Proceeding of the 7th OOPSLA Workshop on Domain-Specific Modeling, 2007.</dt>
<dt><a name="[3]">[3]</a> Stahl, T., Volter, M., Bettin, J., Haase, A., Helsen, S., <i>Model-Driven Software Development</i>, Wiley, 2006.</dt>