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.
Open the Java EE perspective, choose
, and then choose.The NewProject window opens.
In the list of wizards, choose Next .
, and then chooseIn the Project name field, enter HelloWorldEJB .
Choose Add project to an EAR , and then choose New .
The EAR Application Project wizard opens.
In the Project name field of the wizard, enter HelloWorldEJBEAR , and then choose Finish .
In the EJB Project wizard, choose Next twice.
On the EJBModule step, deselect the Create an EJB Client JAR module to hold the client interfaces and classes option.
Choose Finish .
The HelloWorldEJB and the HelloWorldEJBEAR projects appear in the Project Explorer .
Next Step