You can use the UML-to-EJB transformation to generate Enterprise JavaBeans™ (EJB) and Java™ classes from annotated Unified Modeling Language (UML) model elements. You should be familiar with the UML-to-Java transformation before you apply the UML-to-EJB transformation.