Creating an EJB Module Project

To create and work with entity beans, you first need an appropriate project in the Developer Studio. For this reason, you will use the wizard to generate a suitable project framework for the new EJB project. Once you have set up this framework, you can create and implement all the sources of the EJB, especially the entity beans. The EJB Module project can contain both session beans and entity beans.

EJB Module project also contains the deployment descriptors that will be included in the JAR file.


You have launched the SAP NetWeaver Developer Studio.



       1.      Choose File ® New ® Project to start the New Project wizard.

       2.      In the wizard, select the J2EE category (in the left pane), followed by EJB Module Project (in the right pane). Choose Next.

       3.      Give your EJB project the name QuickCarRentalEjb and leave the default settings for Project contents unchanged.

       4.      Choose Finish.


The wizard generates a standard project structure for your new J2EE project and creates the project folder QuickCarRentalEjb in your default workspace.

The new project node appears in the J2EE Explorer. It contains the deployment descriptor files ejb-j2ee-engine.xml, ejb-jar.xml.

Next step:

Creating the QuickBookingBean Entity Bean