This language structure also allowed creating new
supertypes where such did not yet exist.
6.4 MODELING INSURANCE PRODUCTS
6.4.1 Example Models
The de?¬?ned modeling languagewas used to specify the characteristics of products, and
therefore, the languagewas called a productmodelinglanguage.The?¬?rstmodels created
were related to testing the language during its de?¬?nition. The language was tested in a
FIGURE 6.7 Sample insurance product (partial model)
realistic situation by specifying the insurance applications already implemented by hand
in Java. Figure 6.7 illustrates the speci?¬?cation of one small insurance product.
MODELING INSURANCE PRODUCTS 131
6.4.2 Use Scenarios
The modeling language was used by insurance experts. These nonprogrammers drew
models similar to Fig. 6.7, specifying insurance products, and then executed a generator
to produce the requiredcode for a J2EEweb site. Thelanguage clearly raised the level of
abstraction since insurance experts could apply the already known insurance concepts.
Actually, in the beginning themodelers did not even realize that they also generated the
Java code. Later we will discuss the code generation in more detail.
During the introduction of the DSM solution a 2-day course was given to train the
insurance experts in using the modeling language. For the training, the sample
reference application was used.
Pages:
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260