Adding new EJB projects

You may have a requirement to create additional EJB projects, however your if you do, you must locate your JPA entity in the WebSphereCOmmerceServerExtensionData project.

About this task

To add an EJB project to your workspace:


  1. Select File > New > EJB Project.
  2. In the New EJB Project wizard that opens:
    1. In the Name field, enter a name for your EJB project.
    2. Click Show Advanced.
    3. From the EJB version list, select 3.1.
    4. In the EAR project list, select WC.
    5. Click Finish.
  3. Within the Project Explorer view, expand EJB Modules and locate your new project.
  4. From your new project's pop-up menu, select Properties.
  5. In the Properties editor window:
    1. In the left pane, select Java Build Path.
    2. Click the Projects tab and select the WebSphereCommerceServerExtensionsData check box.
    3. Click OK to save your changes and close the Properties editor.