Show TOC

Procedure documentationCreating an EJB Project for the HelloWorld Application Locate this document in the navigation structure

 

You create an EJB project and add it to an enterprise application project. At a later stage, you will create a session EJB to implement the business logic of the HelloWorld Web service.

Procedure

  1. Open the SAP NetWeaverDeveloper Studio.

  2. Choose   Window   Open Perspective   Other   Java EE  .

  3. Choose   File   New   Project  .

  4. In the list of wizards, choose   EJB   EJB Project   and then choose Next.

  5. In the Project name field, enter HelloWorldEJB

  6. Select the Add project to an EAR indicator, and then choose New.

    The EAR Application Project wizard opens.

  7. In the Project name field, enter HelloWorldEJBEAR, and then choose Finish.

  8. In the EJB Project wizard, choose Next.

  9. On the EJB Module step, deselect the Create an EJB Client JAR module to hold the client interfaces and classes option.

  10. Choose Finish.

Result

The HelloWorldEJB and the HelloWorldEJBEAR projects appear in the Project Explorer.

Next step: Creating the HelloWorld EJB