Generating EJBs

The EJB generation process allows you to generate EJB source code that is compliant with J2EE 1.3 (EJB 2.0). The code generator (Java, EJB, XML, etc...) is based on templates and macros. You can customize the generated code by editing the Java object language from Tools > Resources > Object Languages.

The following picture illustrates the overall EJB development process.



The following picture focuses on the PowerDesigner part, and highlights the role of O/R Mapping generation. The O/R mapping can be created when generating a PDM from an OOM or generating an OOM from a PDM.



For more information on object mapping, see O/R Mapping Modeling.