Generating Entities for EJB 3.0

You generate entities for EJB 3.0 as follows:

  1. Create an OOM and a PDM, and then define your O/R mappings. For detailed information, see O/R Mapping Modeling.
  2. Define the EJB 3 persistence settings.
  3. Generate Java code.
  4. Run unit tests.