An Informal Example

As an example of design decisions as mapping functions, let's look at the transition between an analysis model and a design model. Assume that the analysis model contains the elements Bank, Customer, Account, and Transfer, as described on page 49.

Now let's transform this model to a design model. One observation we can make immediately is that some information from the application has to outlive the lifetime of the software system, while others do not. Happily, Enterprise Java Beans (EJBs) provide two forms of beans that correspond to these two needs. An entity bean is a remotely accessible object that can live for the lifetime of the software system and whose state is stored in and loaded from an underlying database. A

Get MDA Distilled: Principles of Model-Driven Architecture now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.