Entering content frame

Procedure documentation Creating EJB Module Projects Locate the document in its SAP Library structure

Use

Before you can create an enterprise bean, you need an EJB Module project to which you can assign it. The EJB Module project also contains the deployment descriptors that will be included in the EJB JAR file. The EJB Module Project can be referenced from an Enterprise Application project for deployment.

Procedure

       1.      Choose File ® New ® Project...

       2.      On the left pane of the first wizard page, choose J2EE, and on the right pane, select EJB Module Project.

       3.      Choose Next.

       4.      In the Project name field, enter a name for your new EJB Module project.

       5.      Select Use default if you want to create the suggested folder for your project.

If you want to specify a different folder, deselect Use default.

       6.      Choose Finish.

Result

In the J2EE Explorer view, you can now see something like this:

This graphic is explained in the accompanying text

Using the context menu, you can quickly add packages and enterprise beans to the project. Alternatively, use the wizards to get more editing options during the creation procedure.

Related Procedures

Creating Entity Beans

Creating Message-Driven Beans

Creating Stateful Session Beans

Creating Stateless Session Beans

Creating Packages

Building EJB JARs

 

Leaving content frame