Lecture#12 Mapping Models to Code
In the previous lectures, we learned to refine a system design model into an object design model. In this lecture, we are ready to turn the object design model into executable code.
We have been working on models. We transform a model by improving certain aspects within it. Following the direction of normal transformation—from model to code—we are said to be forward engineering a system. Reversing the direction of normal transformation—for example, recovering a model from executable code—we are said to be reverse engineering a system. If we transform existing code into better quality code, we are said to be refactoring the code.
In this lecture, you will also learn how to write code to implement associations in the object models, how to code the contracts with Java exceptions, and how to implement object models in a relational database.
Your actions before next class: Read Chapter 10 Mapping Models to Code.
* * *
No comments yet
Sorry, the comment form is closed at this time.