Adding new EJB projects
Although it is recommended that new enterprise beans be created within the predefined WebSphereCommerceServerExtensionsData project, you may have a requirement to create additional EJB projects.
About this task
To add an EJB project to your workspace:
Procedure
- Select .
- In the New EJB Project wizard that opens:
- In the Name field, enter a name for your EJB project.
- Click Show Advanced.
- From the EJB version list, select 2.1. Note that although the project is version 2.1, when you create entity beans inside this project, you should choose version 1.1.
- In the EAR project list, select WC.
- Click Finish.
- Within the Project Explorer view, expand EJB Modules and locate your new project.
- From your new project's pop-up menu, select Properties.
- In the Properties editor window:
- In the left pane, select Java Build Path.
- Click the Projects tab and select the WebSphereCommerceServerExtensionsData check box.
- Click OK to save your changes and close the Properties editor.