To develop the EJB layer to be integrated into Web Dynpro, you first need to create an EJB Development Component (in short: DC) project.
To create a new DC based project of type EJB, proceed as follows:
Choose the menu path File → New → Project to start the New Project Wizard.
Expand the Development Infrastructure and select Development Component. Choose Next .
Expand the root node with the vendor ID (for example: sap.com ) and select J2EE and then EJB Module . Choose Next.
Expand the node Local Development and select MyComponents[demo.sap.com ]. Choose Next .
Enter myejbdc in the Name field to specify the name of the DC. Leave the other settings unchanged and choose Next .
Select 5.0 for the Java EE version and choose Finish .
The wizard generates a new EJB DC project. As soon as generation is complete, you might be asked to switch to the J2EE Perspective . The new project is then displayed in the Project Explorer view.