In this chapter, we have seen that the transformation of the relational model to code is simple, because the relational model contains structures that can be mapped one to one to the structures used in the SQL language.
To transform the EJB model from section 5.2 to code, we introduced an intermediate model, called the EJB Class PSM. The EJB Class PSM was written in the language defined by another UML variant, the standardized EJB profile (Java Community Process document JSR26, 2001). Because the generation of code from the EJB Class PSM is very simple, we did not describe it.
In order to avoid the complexity that Web code can bring, we have defined a simple transformation from Web model to JSP and HTML code.