Generating Java classes from the UML model ========================================== Here we describe the generation of Java files from the UML data model. As in the other generation scripts, we use XSLT working off the intermediate representation of the data model. That intermediate representation is derived using the res/xmi2intermediate.xsl script. The Java generation script is res/intermediate2java.xsl. It generates Java classes for Java5 and later, as we make heavy use of annotations to generate code that can make use of JPA and JAXB frameworks. For JPA we include toplink libraries. ------- -- JPA ------- The OR mapping strategy we use is described in doc/ORMapping.txt We implement this mapping strategy using Java annotation (suupported form Java 5 onwards).