We have chosen
?¬?ve examples that cover different problem domains and generation targets. The
problem domains range from insurance products to microcontroller-based voice
systems, and they illustrate modeling languages based on different models of
computations. The generation targets cover the whole spectrum from Assembler to
Java and XML; some use a purpose-built component and domain framework whereas
others don??™t use any supporting framework.
For the purposes of this book, we selected examples that are easy to understand and
grasp completely in a limited space. Although we have been working with larger
domain-speci?¬?c languages, some having twice as many concepts as UML, showing
just the parts of these that would ?¬?t would not show the whole of DSM. The principles
described in this book also scale to large DSM solutions. For the sake of readability,
we also selected application domains that are relatively well known. Below is a
summary of the cases showing example designs with the domain-speci?¬?c language
and part of the generated code.
Chapter 5: IP telephony and call processing
We start with the case of a language based on anXMLschema. Chapter 5 illustrates
a case for service creation: describing IP telephony services using ?¬‚ow models and
generating a service description in XML. A service engineer draws models like the
above to de?¬?ne different telephony services, and then the generator produces the
required service descriptions in XML for execution in a telephony server.
Pages:
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200