Show TOC

Creating an Enterprise Java Bean Project for the HelloWorld Web ServiceLocate this document in the navigation structure

Context

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

Procedure


  1. Open the Java EE perspective, choose Start of the navigation path Window Next navigation step Open Perspective Next navigation step Other  Next navigation step  Java EE End of the navigation path, and then choose Start of the navigation path File Next navigation step New Next navigation step Project End of the navigation path

    .The NewProject window opens.

  2. In the list of wizards, choose Start of the navigation path EJB Next navigation step EJB Project End of the navigation path, and then choose Next .

  3. In the Project name field, enter HelloWorldEJB .

  4. Choose Add project to an EAR , and then choose New .

    The EAR Application Project wizard opens.

  5. In the Project name field of the wizard, enter HelloWorldEJBEAR , and then choose Finish .

  6. In the EJB Project wizard, choose Next twice.

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

  8. Choose Finish .

Results

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