Just Another Teaching of Software Engineering (2006-07)

This website archives the teaching and learning of a Software Engineering course. It supports teaching and learning during the course of study (September 2006 to May 2007). After the course, it is an archive for reference and sharing.

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

Comments RSS

Sorry, the comment form is closed at this time.

All Posts in Category Lectures

* * *