· In the SAP NetWeaver Developer Studio, you have opened the Java EE perspective.
· You have imported the application from the SAP NetWeaver Developer Studio by selecting Welcome page → Samples → Project Management and Employee Services.
...
1. Choose File →New → Project from the main menu.
2. On the New Project screen, choose EJB → EJB Project.
3. On the next screen, do the following:
¡ Enter EDMProjectEJBDemo in the Project name field
¡ Select Add project to an EAR
¡ Enter EDMProjectEARDemo in the EAR Project Name field
4. Choose Next to continue.
5. Select the Java Persistence indicator and choose Next.
6. Deselect the Create EJB Client JAR module to hold the client interfaces and clasees indicator and choose Next.
7. On the JPA Facet screen, select SAP JPA Platform from the Platform drop-down menu.
8. On the same screen, deselect the Create orm.xml indicator.
9. On the JPA Facet screen, choose Add connection.
10. Select DDIC Designtime and choose Next.
11. Type RA_CONN in the Name field.
12. Select the Auto-connect when the wizard is finished or when Data Source Explorer opens and choose Finish.
13. After the RA_CONN is displayed in the Connection field choose Finish.
The Developer Studio generates the EDMProjectEJBDemo and EDMProjectEARDemo projects. The EAR project references the EJB one (the referred project is included in the list of modules that is packaged in the EAR file). Also, you have the necessary database tables under RA_CONN/DDIC Designtime/Schemas/ra_edm_prjmgmt_dict/Tables