MDA Distilled: Principles of Model-Driven Architecture
by Stephen J. Mellor, Kendall Scott, Axel Uhl, Dirk Weise
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
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access