The example case of
Call Processing Services and generating XML in Chapter 5 clearly belongs to this
class. A generator simply takes each concept of the modeling language and maps
model elements to elements in theXML schema. No domain framework is needed and
the execution engine, a call processing server, runs the service. The case of developing
microcontroller applications in Chapter 7 places more emphasis on the generator as it
needs to understand the ?¬‚ow logic and memory allocation (case b).
We can also move toward creating some framework code to enable code generation
from models. That framework code can be manually written on top of the platform, to
be, for instance, called by the generated code, or the generator can contain boilerplate
sections of framework code that are output when needed. The case of mobile phone
applications in Chapter 8 shows how framework code is provided and produced
during the code generator (case c). Finally, the watch example in Chapter 9 shows how
existing general platform code (Java and MIDP) is extended with framework code
FIGURE 4.2 Dividing the automation work in DSM
INTRODUCTION 65
(case d) for a chosen application domain. This framework code is implemented into
components that are then reused by the generators.
Among the different ways to allocate work inside the DSM architecture, we can
also identify some allocations to be avoided.
Pages:
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143