Add new EJB projects
You may have a requirement to create additional EJB projects, however your if you do, we must locate your JPA entity in the WebSphereCOmmerceServerExtensionData project.
Task info
To add an EJB project to your workspace:
Procedure
- Select File > New > EJB Project.
- 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 3.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 our changes and close the Properties editor.
Related concepts
WebSphere Commerce development environment
WebSphere Commerce workspace
Related tasks
Working with enterprise beans
Related reference
Use of EJB 2.x entity beans