Show TOC Start of Content Area

Procedure documentation Creating an Enterprise Java Bean Project for the HelloWorld Web Service  Locate the document in its SAP Library structure

Use

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 Window Open Perspective Other Java EE, and then choose File New Project.

The New Project window opens.

       2.      In the list of wizards, choose EJB EJB Project, 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 EJB Module step, deselect the Create an EJB Client JAR module to hold the client interfaces and classes option.

       8.      Choose Finish.

Result

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

Next Step

Creating the Enterprise Java Bean

 

 

End of Content Area