With the completion of interaction diagrams and DCDs for the current iteration of the case studies, there's more than enough thought and detail to cut some code for the domain layer of objects.
The UML artifacts created during the design workthe interaction diagrams and DCDswill be used as input to the code generation process.
In UP terms, there exists an
Implementation Model . This is all the implementation artifacts, such as the source code, database definitions, JSP/XM459 pages, and so forth. Thus, the code being created in this chapter can be considered part of the UP Implementation Model.
Java is used for the examples because of its widespread use and familiarity. However, this is not meant to imply a special endorsement of Java; C#, Visual Basic, C++, Smalltalk, Python, and many more languages are amenable to the object design principles and mapping to code presented in this case study.